PDA

View Full Version : Problem with the example



toinho
Feb 19, 2008, 11:29 AM
Hi.

I try to use your example "Hello World" to test it, but I get an error.

Can anyone help me.

geoffrey.mcgill
Feb 19, 2008, 11:49 AM
Hi toinho,

Can you post the full .aspx code you are using? I'm assuming it's exactly the same as the Hello World (http://www.examples.ext.net/window/hello-world.aspx)sample, but just in case it's not, the full code sample should help us track down the issue.

toinho
Feb 19, 2008, 12:56 PM
Yes, it's a copy from the "Hello World" example.

<%@ Page Language="C#" %>



<%@ Register assembly="Coolite.Web.UI" namespace="Coolite.Web.UI" tagprefix="cool" %>



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">



<html xmlns="http://www.w3.org/1999/xhtml">

<head id="Head1" runat="server">

<title>Window - Coolite ASP.NET Web Controls</title>

</head>

<body>

<form id="form1" runat="server">

<cool:ScriptManager ID="ScriptManager1" runat="server" Hide="True" />



<h1>Simple Coolite Window Sample</h1>

<p>The following example demonstrates how to create a Window and

have the Window show when the Page first loads.</p>




<cool:Window

ID="Window1"

runat="server"

Title="Hello World!"

Height="175px"

Width="300px"

BodyStyle="padding: 6px;"

Collapsible="True"

AutoShow="True"

Modal="True">

<Content>

This is my first <a href="http://www.extjs.com/">Ext</a> Window using the

<a href="http://www.ext.net/">Coolite</a> ASP.NET Web Controls.

</Content>

</cool:Window>

</form>

</body>

</html>

geoffrey.mcgill
Feb 20, 2008, 5:06 AM
Hi toinho,

Can you post the html source from the browser? View > Source.

Please post the source within [ code][/CODE] tags.

Thanks.

toinho
Mar 03, 2008, 9:05 AM
I allready solve the problem.

It was because I was using Extjs at the same time and have the includes...

Thanks