﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Coolite Forums / Coolite Toolkit / Examples and Extras </title><generator>InstantForum.NET v4.1.4</generator><description>Coolite Forums</description><link>http://www.coolite.com/forums/</link><webMaster>do-not-reply@coolite.com</webMaster><lastBuildDate>Wed, 10 Mar 2010 02:51:04 GMT</lastBuildDate><ttl>20</ttl><item><title>ASP.Net Membership System - Login</title><link>http://www.coolite.com/forums/Topic28625-21-1.aspx</link><description> Hey,  After a little work I've added the asp.net membership functionality to a login &amp;#119;indow.  Any help or improvements welcome&lt;br&gt;&lt;br&gt;VB.Net:&lt;br&gt;&lt;br&gt;[code]&lt;br&gt;&lt;br&gt;&amp;lt;%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="DriveBusiness_Tracking._Default" %&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;%@ Register assembly="Coolite.Ext.Web" namespace="Coolite.Ext.Web" tagprefix="ext" %&amp;gt;&lt;br&gt;&amp;lt;%@ Register assembly="Devart.Data.Mysql" namespace="Devart.Data.Mysql" tagprefix="ddm" %&amp;gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&amp;gt;&lt;br&gt;&amp;lt;script runat="server"&amp;gt;&lt;br&gt;&lt;br&gt;    Protected Sub Login1_Authenticate(ByVal sender As Object, ByVal e As Coolite.Ext.Web.AjaxEventArgs)&lt;br&gt;&lt;br&gt;        'We need to determine if the user is authenticated and set e.Authenticated accordingly&lt;br&gt;        'Get the values entered by the user&lt;br&gt;        Dim loginUsername As String = Username.Text&lt;br&gt;        Dim loginPassword As String = Password.Text&lt;br&gt;&lt;br&gt;        'determine if the user's username/password are valid&lt;br&gt;        If Membership.ValidateUser(loginUsername, loginPassword) Then&lt;br&gt;            FormsAuthentication.SetAuthCookie(loginUsername, True)&lt;br&gt;            Response.Redirect("/desktop.aspx")&lt;br&gt;        Else&lt;br&gt;            e.Success = False&lt;br&gt;            e.ErrorMessage = "Invalid Username or Password"&lt;br&gt;        End If&lt;br&gt;&lt;br&gt;    End Sub&lt;br&gt;    &lt;br&gt;    &lt;br&gt;   &amp;lt;/script&amp;gt;&lt;br&gt;&amp;lt;html xmlns="http://www.w3.org/1999/xhtml" &amp;gt;&lt;br&gt;&amp;lt;head id="loginhead" runat="server"&amp;gt;&lt;br&gt;    &amp;lt;title&amp;gt;Login&amp;lt;/title&amp;gt;&lt;br&gt;    &lt;br&gt;&amp;lt;/head&amp;gt;&lt;br&gt;&amp;lt;body&amp;gt;&lt;br&gt;    &amp;lt;form id="form1" runat="server"&amp;gt;&lt;br&gt;    &amp;lt;asp:Login ID="Login1" runat="server" Width="312px"&amp;gt;&lt;br&gt;        &amp;lt;LayoutTemplate&amp;gt;&lt;br&gt;            &amp;lt;ext:ScriptManager ID="ScriptManager1" runat="server" /&amp;gt;&lt;br&gt;                &amp;lt;ext:Window ID="LoginWindow" runat="server" Closable="false" Resizable="false" Height="150" Icon="Lock" Title="Login" Draggable="false" Width="350" Modal="true" BodyStyle="padding:5px;"&amp;gt;&lt;br&gt;                    &amp;lt;Body&amp;gt;&lt;br&gt;                        &amp;lt;ext:FormLayout ID="FormLayout1" runat="server"&amp;gt;&lt;br&gt;                            &amp;lt;ext:Anchor Horizontal="100%"&amp;gt;&lt;br&gt;                                &amp;lt;ext:TextField  ID="Username" runat="server" ReadOnly="false" FieldLabel="Username" AllowBlank="false" BlankText="Your username is required." /&amp;gt;&lt;br&gt;                            &amp;lt;/ext:Anchor&amp;gt;&lt;br&gt;                            &amp;lt;ext:Anchor Horizontal="100%"&amp;gt;&lt;br&gt;                                &amp;lt;ext:TextField ID="Password" runat="server" ReadOnly="false" InputType="Password" FieldLabel="Password" AllowBlank="false" BlankText="Your password is required." /&amp;gt;&lt;br&gt;                            &amp;lt;/ext:Anchor&amp;gt;&lt;br&gt;                            &amp;lt;ext:Anchor Horizontal="100%"&amp;gt;&lt;br&gt;                                &amp;lt;ext:Checkbox id="RememberMe" runat="server" ReadOnly="false" FieldLabel="Remember Me" /&amp;gt;&lt;br&gt;                            &amp;lt;/ext:Anchor&amp;gt;&lt;br&gt;                        &amp;lt;/ext:FormLayout&amp;gt;&lt;br&gt;                    &amp;lt;/body&amp;gt;&lt;br&gt;                    &amp;lt;Buttons&amp;gt;&lt;br&gt;                        &amp;lt;ext:Button ID="LoginButton" ValidationGroup="Login1" runat="server" CommandName="Login1.Authenticate" Text="Login" Icon="Accept"&amp;gt;&lt;br&gt;                            &amp;lt;AjaxEvents&amp;gt;&lt;br&gt;                               &amp;lt;Click OnEvent="Login1_Authenticate"&amp;gt;&amp;lt;/Click&amp;gt;&lt;br&gt;                            &amp;lt;/AjaxEvents&amp;gt;                     &lt;br&gt;                        &amp;lt;/ext:Button&amp;gt;&lt;br&gt;                    &amp;lt;/Buttons&amp;gt;&lt;br&gt;                &amp;lt;/ext:Window&amp;gt;&lt;br&gt;            &amp;lt;/LayoutTemplate&amp;gt;&lt;br&gt;       &amp;lt;/asp:Login&amp;gt;&lt;br&gt;    &amp;lt;/form&amp;gt;&lt;br&gt;&amp;lt;/body&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;/html&amp;gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;[/code]&lt;br&gt;&lt;br&gt;&lt;br&gt;C#&lt;br&gt;&lt;br&gt;[Code]&lt;br&gt;&lt;br&gt;&amp;lt;%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="DriveBusiness_Tracking._Default" %&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;%@ Register assembly="Coolite.Ext.Web" namespace="Coolite.Ext.Web" tagprefix="ext" %&amp;gt;&lt;br&gt;&amp;lt;%@ Register assembly="Devart.Data.Mysql" namespace="Devart.Data.Mysql" tagprefix="ddm" %&amp;gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&amp;gt;&lt;br&gt;&amp;lt;script runat="server"&amp;gt;&lt;br&gt;    protected void Login1_Authenticate(object sender, Coolite.Ext.Web.AjaxEventArgs e)&lt;br&gt;{&lt;br&gt;           &lt;br&gt;    //We need to determine if the user is authenticated and set e.Authenticated accordingly&lt;br&gt;    //Get the values entered by the user&lt;br&gt;    string loginUsername = Username.Text;&lt;br&gt;    string loginPassword = Password.Text;&lt;br&gt;&lt;br&gt;    //determine if the user's username/password are valid&lt;br&gt;    if (Membership.ValidateUser(loginUsername, loginPassword)) {&lt;br&gt;        FormsAuthentication.SetAuthCookie(loginUsername, true);&lt;br&gt;        Response.Redirect("/desktop.aspx");&lt;br&gt;    }&lt;br&gt;    else {&lt;br&gt;        e.Success = false;&lt;br&gt;        e.ErrorMessage = "Invalid Username or Password";&lt;br&gt;        &lt;br&gt;    }&lt;br&gt;}&lt;br&gt;    &lt;br&gt;   &amp;lt;/script&amp;gt;&lt;br&gt;&amp;lt;html xmlns="http://www.w3.org/1999/xhtml" &amp;gt;&lt;br&gt;&amp;lt;head id="loginhead" runat="server"&amp;gt;&lt;br&gt;    &amp;lt;title&amp;gt;Login&amp;lt;/title&amp;gt;&lt;br&gt;    &lt;br&gt;&amp;lt;/head&amp;gt;&lt;br&gt;&amp;lt;body&amp;gt;&lt;br&gt;    &amp;lt;form id="form1" runat="server"&amp;gt;&lt;br&gt;    &amp;lt;asp:Login ID="Login1" runat="server" Width="312px"&amp;gt;&lt;br&gt;        &amp;lt;LayoutTemplate&amp;gt;&lt;br&gt;            &amp;lt;ext:ScriptManager ID="ScriptManager1" runat="server" /&amp;gt;&lt;br&gt;                &amp;lt;ext:Window ID="LoginWindow" runat="server" Closable="false" Resizable="false" Height="150" Icon="Lock" Title="Login" Draggable="false" Width="350" Modal="true" BodyStyle="padding:5px;"&amp;gt;&lt;br&gt;                    &amp;lt;Body&amp;gt;&lt;br&gt;                        &amp;lt;ext:FormLayout ID="FormLayout1" runat="server"&amp;gt;&lt;br&gt;                            &amp;lt;ext:Anchor Horizontal="100%"&amp;gt;&lt;br&gt;                                &amp;lt;ext:TextField  ID="Username" runat="server" ReadOnly="false" FieldLabel="Username" AllowBlank="false" BlankText="Your username is required." /&amp;gt;&lt;br&gt;                            &amp;lt;/ext:Anchor&amp;gt;&lt;br&gt;                            &amp;lt;ext:Anchor Horizontal="100%"&amp;gt;&lt;br&gt;                                &amp;lt;ext:TextField ID="Password" runat="server" ReadOnly="false" InputType="Password" FieldLabel="Password" AllowBlank="false" BlankText="Your password is required." /&amp;gt;&lt;br&gt;                            &amp;lt;/ext:Anchor&amp;gt;&lt;br&gt;                            &amp;lt;ext:Anchor Horizontal="100%"&amp;gt;&lt;br&gt;                                &amp;lt;ext:Checkbox id="RememberMe" runat="server" ReadOnly="false" FieldLabel="Remember Me" /&amp;gt;&lt;br&gt;                            &amp;lt;/ext:Anchor&amp;gt;&lt;br&gt;                        &amp;lt;/ext:FormLayout&amp;gt;&lt;br&gt;                    &amp;lt;/body&amp;gt;&lt;br&gt;                    &amp;lt;Buttons&amp;gt;&lt;br&gt;                        &amp;lt;ext:Button ID="LoginButton" ValidationGroup="Login1" runat="server" CommandName="Login1.Authenticate" Text="Login" Icon="Accept"&amp;gt;&lt;br&gt;                            &amp;lt;AjaxEvents&amp;gt;&lt;br&gt;                               &amp;lt;Click OnEvent="Login1_Authenticate"&amp;gt;&amp;lt;/Click&amp;gt;&lt;br&gt;                            &amp;lt;/AjaxEvents&amp;gt;                     &lt;br&gt;                        &amp;lt;/ext:Button&amp;gt;&lt;br&gt;                    &amp;lt;/Buttons&amp;gt;&lt;br&gt;                &amp;lt;/ext:Window&amp;gt;&lt;br&gt;            &amp;lt;/LayoutTemplate&amp;gt;&lt;br&gt;       &amp;lt;/asp:Login&amp;gt;&lt;br&gt;    &amp;lt;/form&amp;gt;&lt;br&gt;&amp;lt;/body&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;/html&amp;gt;&lt;br&gt;&lt;br&gt;[/code]&lt;br&gt;&lt;br&gt;Hope this helps&lt;br&gt;</description><pubDate>Thu, 04 Mar 2010 02:56:06 GMT</pubDate><dc:creator>Cr@iG</dc:creator></item><item><title>RowExpander  RowEditor</title><link>http://www.coolite.com/forums/Topic27325-21-1.aspx</link><description> hi guys,&lt;BR&gt;&lt;BR&gt; I am looking for example combine RowExpander and  grid editor in both mater and child&lt;BR&gt;&lt;BR&gt;thanks&lt;BR&gt;</description><pubDate>Wed, 10 Feb 2010 12:15:51 GMT</pubDate><dc:creator>sharif</dc:creator></item><item><title>TreePanel Ajax Method Loader by code</title><link>http://www.coolite.com/forums/Topic23925-21-1.aspx</link><description>&lt;P&gt;Hi guys,&lt;BR&gt;&lt;BR&gt;In all samples of TreePanel in the source code the part in which we create listeners is in html code, but How to do this in code??? Because my tree panel is created dinamically.&lt;BR&gt;&lt;BR&gt;The part of html code that I need in c# code is in a big letter.&lt;BR&gt;&lt;BR&gt;[code]&lt;BR&gt; &lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #c71585"&gt;ext&lt;/SPAN&gt;:&lt;SPAN style="COLOR: #800000"&gt;TreePanel&lt;/SPAN&gt; &lt;BR&gt;            &lt;SPAN style="COLOR: #ff0000"&gt;ID&lt;/SPAN&gt;=&lt;SPAN style="COLOR: #0000ff"&gt;"TreePanel1"&lt;/SPAN&gt; &lt;BR&gt;            &lt;SPAN style="COLOR: #ff0000"&gt;runat&lt;/SPAN&gt;=&lt;SPAN style="COLOR: #0000ff"&gt;"server"&lt;/SPAN&gt; &lt;BR&gt;            &lt;SPAN style="COLOR: #ff0000"&gt;Title&lt;/SPAN&gt;=&lt;SPAN style="COLOR: #0000ff"&gt;"Tree"&lt;/SPAN&gt; &lt;BR&gt;            &lt;SPAN style="COLOR: #ff0000"&gt;AutoHeight&lt;/SPAN&gt;=&lt;SPAN style="COLOR: #0000ff"&gt;"true"&lt;/SPAN&gt; &lt;BR&gt;            &lt;SPAN style="COLOR: #ff0000"&gt;Border&lt;/SPAN&gt;=&lt;SPAN style="COLOR: #0000ff"&gt;"false"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR&gt;            &lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #800000"&gt;Root&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR&gt;                &lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #c71585"&gt;ext&lt;/SPAN&gt;:&lt;SPAN style="COLOR: #800000"&gt;AsyncTreeNode&lt;/SPAN&gt; &lt;SPAN style="COLOR: #ff0000"&gt;NodeID&lt;/SPAN&gt;=&lt;SPAN style="COLOR: #0000ff"&gt;"0"&lt;/SPAN&gt; &lt;SPAN style="COLOR: #ff0000"&gt;Text&lt;/SPAN&gt;=&lt;SPAN style="COLOR: #0000ff"&gt;"Root"&lt;/SPAN&gt; &lt;SPAN style="COLOR: #0000ff"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;BR&gt;            &lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: #800000"&gt;Root&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR&gt;            &lt;EM&gt;&lt;FONT size=4&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #800000"&gt;Listeners&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR&gt;                &lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: #800000"&gt;BeforeLoad&lt;/SPAN&gt; &lt;SPAN style="COLOR: #ff0000"&gt;Fn&lt;/SPAN&gt;=&lt;SPAN style="COLOR: #0000ff"&gt;"nodeLoad"&lt;/SPAN&gt; &lt;SPAN style="COLOR: #0000ff"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;BR&gt;            &lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: #800000"&gt;Listeners&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/EM&gt;        &lt;SPAN style="COLOR: #0000ff"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="COLOR: #c71585"&gt;ext&lt;/SPAN&gt;:&lt;SPAN style="COLOR: #800000"&gt;TreePanel&lt;/SPAN&gt;&lt;SPAN style="COLOR: #0000ff"&gt;&amp;gt;&lt;/SPAN&gt;  &lt;BR&gt;[/code]&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;Please help me.&lt;/P&gt;</description><pubDate>Tue, 08 Dec 2009 08:41:39 GMT</pubDate><dc:creator>Mickna</dc:creator></item><item><title>Dynamic Create GridPanel and Load Data Error</title><link>http://www.coolite.com/forums/Topic21576-21-1.aspx</link><description>&lt;P&gt; Hi，everybody,In My One Project,IWant to Dynamic Create GridPanel and Load Data,&lt;BR&gt;And I Write the Code By C# Code,but I Had get Error.&lt;BR&gt;&lt;BR&gt;This is My Code:&lt;BR&gt;&lt;BR&gt;[code]&lt;BR&gt;   protected void Page_Load(object sender, EventArgs e)&lt;BR&gt;    {&lt;BR&gt;      if (!Ext.IsAjaxRequest)&lt;BR&gt;      {&lt;BR&gt;          CreateGridPanel();&lt;/P&gt;&lt;P&gt;      }&lt;BR&gt;    }&lt;/P&gt;&lt;P&gt;&lt;BR&gt;    private void CreateGridPanel()&lt;BR&gt;    {&lt;/P&gt;&lt;P&gt;        Store MyStore = new Store();&lt;BR&gt;        MyStore.ID = "StoreData";&lt;BR&gt;        //MyStore.&lt;BR&gt;        JsonReader basereader = new JsonReader();&lt;BR&gt;        basereader.ReaderID = "BaseID";&lt;BR&gt;        RecordField Field0 = new RecordField("id");&lt;BR&gt;        RecordField Field1 = new RecordField("FormName");&lt;BR&gt;        RecordField Field2 = new RecordField("FormCaption");&lt;BR&gt;        RecordField Field3 = new RecordField("DLLName");&lt;BR&gt;        basereader.Fields.Add(Field0);&lt;BR&gt;        basereader.Fields.Add(Field1);&lt;BR&gt;        basereader.Fields.Add(Field2);&lt;BR&gt;        basereader.Fields.Add(Field3);&lt;/P&gt;&lt;P&gt;        MyStore.Reader.Add(basereader);&lt;BR&gt;        DataTable TempTable = DBUtility.SQLHelper.ExecuteTable(CommandType.Text, "Select * from BaseForm", null);&lt;BR&gt;        &lt;/P&gt;&lt;P&gt;&lt;BR&gt;        FormPanel MyPanel = new FormPanel();&lt;BR&gt;        MyPanel.Width = 500;&lt;BR&gt;        MyPanel.Header = true;&lt;BR&gt;        MyPanel.Title = "Test Model";&lt;BR&gt;        MyPanel.Frame = true;&lt;BR&gt;        this.Controls.Add(MyPanel);&lt;/P&gt;&lt;P&gt;        GridPanel TempPanel = new GridPanel();&lt;/P&gt;&lt;P&gt;        TempPanel.StripeRows = true;&lt;BR&gt;        TempPanel.StoreID = MyStore.ID;&lt;BR&gt;        TempPanel.Height = 300;&lt;BR&gt;        TempPanel.Width = 400;&lt;BR&gt;       &lt;BR&gt;        foreach (DataColumn OldColumn in TempTable.Columns)&lt;BR&gt;        {&lt;BR&gt;            Column TempColumn = new Column();&lt;BR&gt;            TempColumn.DataIndex = OldColumn.ColumnName;&lt;BR&gt;            TempColumn.Header = OldColumn.Caption;&lt;/P&gt;&lt;P&gt;            TempPanel.ColumnModel.Columns.Add(TempColumn);&lt;BR&gt;        }&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;        MyPanel.BodyControls.Add(TempPanel);&lt;BR&gt;        MyStore.DataSource = TempTable;&lt;BR&gt;        MyStore.DataBind();&lt;BR&gt;    }&lt;BR&gt;[/code]&lt;BR&gt;&lt;BR&gt;On run the Code,It Get this Error&lt;BR&gt;&lt;SPAN&gt; &lt;/P&gt;&lt;H1&gt;“/WebSite4”应用程序中的服务器错误。 &lt;HR width="100%" color=silver SIZE=1&gt;&lt;/H1&gt;&lt;H2&gt;&lt;I&gt;The Control with ID = 'StoreData' not found&lt;/I&gt; &lt;/H2&gt;&lt;P&gt;&lt;/SPAN&gt;&lt;FONT face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;&lt;B&gt;&lt;FONT face=Verdana&gt;说明: &lt;/FONT&gt;&lt;/B&gt;执行当前 Web 请求期间，出现未处理的异常。请检查堆栈跟踪信息，以了解有关该错误以及代码中导致错误的出处的详细信息。 &lt;BR&gt;&lt;BR&gt;&lt;B&gt;&lt;FONT face=Verdana&gt;异常详细信息: &lt;/FONT&gt;&lt;/B&gt;System.InvalidOperationException: The Control with ID = 'StoreData' not found&lt;BR&gt;&lt;BR&gt;&lt;B&gt;&lt;FONT face=Verdana&gt;源错误:&lt;/FONT&gt;&lt;/B&gt; &lt;BR&gt;&lt;BR&gt;&lt;TABLE width="100%" bgColor=#ffffcc&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;CODE&gt;执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。&lt;/CODE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR&gt;&lt;B&gt;&lt;FONT face=Verdana&gt;堆栈跟踪:&lt;/FONT&gt;&lt;/B&gt; &lt;BR&gt;&lt;BR&gt;&lt;TABLE width="100%" bgColor=#ffffcc&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;CODE&gt;&lt;PRE&gt;[InvalidOperationException: The Control with ID = 'StoreData' not found]   Coolite.Ext.Web.ClientConfig.ToExtConfig(PropertyInfo property, Object obj, ClientConfigAttribute attr, Object defaultValue) +4279   Coolite.Ext.Web.ClientConfig.Process(Object obj) +277[Exception: Error during ClientConfig initialization. StoreID - The Control with ID = 'StoreData' not found]   Coolite.Ext.Web.ClientConfig.Process(Object obj) +470   Coolite.Ext.Web.ClientConfig.Serialize(Object obj, Boolean ignoreCustomSerialization) +846   Coolite.Ext.Web.ClientConfig.Serialize(Object obj) +39   Coolite.Ext.Web.WebControl.get_InitialConfig() +90   Coolite.Ext.Web.WebControl.GetClientConstructor(Boolean instanceOnly, String body) +662   Coolite.Ext.Web.WebControl.GetClientConstructor() +37   Coolite.Ext.Web.WebControl.OnClientInit() +141   Coolite.Ext.Web.Observable.OnClientInit() +39   Coolite.Ext.Web.WebControl.SetResources() +116   Coolite.Ext.Web.WebControl.PreRenderAction() +62   Coolite.Ext.Web.Observable.PreRenderAction() +399   Coolite.Ext.Web.WebControl.Render(HtmlTextWriter writer) +132   Coolite.Ext.Web.Container.Render(HtmlTextWriter writer) +146   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +32   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19   System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) +10   System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +32   Coolite.Ext.Web.WebControl.Render(HtmlTextWriter writer) +363   Coolite.Ext.Web.Container.Render(HtmlTextWriter writer) +146   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19   System.Web.UI.Page.Render(HtmlTextWriter writer) +29   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1266&lt;/PRE&gt;&lt;/CODE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR&gt;&lt;/P&gt;&lt;HR width="100%" color=silver SIZE=1&gt;&lt;P&gt;&lt;B&gt;&lt;FONT face=Verdana&gt;版本信息:&lt;/FONT&gt;&lt;/B&gt; Microsoft .NET Framework 版本:2.0.50727.3053; ASP.NET 版本:2.0.50727.3053 &lt;BR&gt;&lt;BR&gt;And I Don not Know How to Slove it ,Can Someone Help Me? Thanks.&lt;/FONT&gt;&lt;!-- [InvalidOperationException]: The Control with ID = 'StoreData' not found   在 Coolite.Ext.Web.ClientConfig.ToExtConfig(PropertyInfo property, Object obj, ClientConfigAttribute attr, Object defaultValue)   在 Coolite.Ext.Web.ClientConfig.Process(Object obj)[Exception]: Error during ClientConfig initialization. StoreID - The Control with ID = 'StoreData' not found   在 Coolite.Ext.Web.ClientConfig.Process(Object obj)   在 Coolite.Ext.Web.ClientConfig.Serialize(Object obj, Boolean ignoreCustomSerialization)   在 Coolite.Ext.Web.ClientConfig.Serialize(Object obj)   在 Coolite.Ext.Web.WebControl.get_InitialConfig()   在 Coolite.Ext.Web.WebControl.GetClientConstructor(Boolean instanceOnly, String body)   在 Coolite.Ext.Web.WebControl.GetClientConstructor()   在 Coolite.Ext.Web.WebControl.OnClientInit()   在 Coolite.Ext.Web.Observable.OnClientInit()   在 Coolite.Ext.Web.WebControl.SetResources()   在 Coolite.Ext.Web.WebControl.PreRenderAction()   在 Coolite.Ext.Web.Observable.PreRenderAction()   在 Coolite.Ext.Web.WebControl.Render(HtmlTextWriter writer)   在 Coolite.Ext.Web.Container.Render(HtmlTextWriter writer)   在 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)   在 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)   在 System.Web.UI.Control.RenderControl(HtmlTextWriter writer)   在 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)   在 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)   在 System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer)   在 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)   在 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)   在 System.Web.UI.Control.RenderControl(HtmlTextWriter writer)   在 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)   在 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)   在 System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer)   在 System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer)   在 Coolite.Ext.Web.WebControl.Render(HtmlTextWriter writer)   在 Coolite.Ext.Web.Container.Render(HtmlTextWriter writer)   在 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)   在 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)   在 System.Web.UI.Control.RenderControl(HtmlTextWriter writer)   在 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)   在 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)   在 System.Web.UI.Page.Render(HtmlTextWriter writer)   在 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)   在 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)   在 System.Web.UI.Control.RenderControl(HtmlTextWriter writer)   在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)[HttpUnhandledException]: 引发类型为“System.Web.HttpUnhandledException”的异常。   在 System.Web.UI.Page.HandleError(Exception e)   在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)   在 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)   在 System.Web.UI.Page.ProcessRequest()   在 System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)   在 System.Web.UI.Page.ProcessRequest(HttpContext context)   在 ASP.default_aspx.ProcessRequest(HttpContext context) 位置 c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\website4\0d8d8ae9\2b6cd259\App_Web_ilyhbcqy.0.cs:行号 0   在 System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()   在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously)--&gt;&lt;/P&gt;</description><pubDate>Thu, 22 Oct 2009 23:49:04 GMT</pubDate><dc:creator>fancycloud</dc:creator></item><item><title>The example Linked combos in grid.</title><link>http://www.coolite.com/forums/Topic24834-21-1.aspx</link><description>&lt;BR&gt;Following examples I dislike in one way. &lt;BR&gt;&lt;BR&gt; &lt;A href="http://examples.coolite.com/?/Form/ComboBox/Linked_Combos_In_Grid/"&gt;http://examples.coolite.com/?/Form/ComboBox/Linked_Combos_In_Grid/&lt;/A&gt;&lt;BR&gt;&lt;BR&gt;If i select for example: C5 in col1, and C5_S1 in col2 and C5_S1_C1 in col 3 and  C5_S1_C1_R1 in last col. &lt;BR&gt;&lt;BR&gt;That works like a charm, but imagine that I change col1 to C9, shouldn't the rest of the columns be reseted? Because, now they  are'nt linked any more (the values)?  &lt;BR&gt;&lt;BR&gt;If I have for example these examplevalues:&lt;BR&gt;Col1 = Europe &lt;BR&gt;Col2 = Sweden&lt;BR&gt;Col3 = Norrbotten&lt;BR&gt;Col4 = Luleå &lt;BR&gt;&lt;BR&gt;And change Col1 to Africa, it would be an mismatch with the rest of the columns, or?&lt;BR&gt;&lt;BR&gt;</description><pubDate>Mon, 04 Jan 2010 02:02:35 GMT</pubDate><dc:creator>FreddeM</dc:creator></item><item><title>Example have some error</title><link>http://www.coolite.com/forums/Topic24662-21-1.aspx</link><description> hi, when i view the example,have some error.&lt;BR&gt;path:  GridPanel-&amp;gt;Data with details-&amp;gt;Form Details&lt;BR&gt;error message:&lt;BR&gt;&lt;SPAN&gt; &lt;H1&gt;Server Error in '/' Application. &lt;HR width="100%" color=silver SIZE=1&gt;&lt;/H1&gt;&lt;H2&gt;&lt;I&gt;The database 'D:\WWWROOT2\EXAMPLES08.COOLITE.COM\APP_DATA\NORTHWND.MDF' cannot be opened because it is version 655. This server supports version 612 and earlier. A downgrade path is not supported.&lt;BR&gt;Cannot open user default database. Login failed.&lt;BR&gt;Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.&lt;/I&gt; &lt;/H2&gt;&lt;/SPAN&gt;&lt;FONT face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;&lt;B&gt;&lt;FONT face=Verdana&gt;Description: &lt;/FONT&gt;&lt;/B&gt;An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;BR&gt;&lt;BR&gt;&lt;B&gt;&lt;FONT face=Verdana&gt;Exception Details: &lt;/FONT&gt;&lt;/B&gt;System.Data.SqlClient.SqlException: The database 'D:\WWWROOT2\EXAMPLES08.COOLITE.COM\APP_DATA\NORTHWND.MDF' cannot be opened because it is version 655. This server supports version 612 and earlier. A downgrade path is not supported.&lt;BR&gt;Cannot open user default database. Login failed.&lt;BR&gt;Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.&lt;BR&gt;&lt;BR&gt;&lt;/FONT&gt;</description><pubDate>Sun, 27 Dec 2009 20:02:18 GMT</pubDate><dc:creator>jack que</dc:creator></item><item><title>Master Page, Centered Viewport</title><link>http://www.coolite.com/forums/Topic24462-21-1.aspx</link><description>&lt;P&gt;I can't seem to find an example of how to center (or include) a viewport inside its parent container when the parent is a div.&lt;BR&gt;&lt;BR&gt;so for example suppose I have a div that is 800px wide and currently centered within the browser.  Then I add a viewport inside that div.  Any content I put in the viewport seems to expand and take up the entire browser window when I really want it to observe the parents width.&lt;BR&gt;&lt;BR&gt;It almost seems as if everything is being rendered with absolute positioning.  Is there a good example of centering things within the browser window?  Maybe with a different ext container control?&lt;BR&gt;&lt;BR&gt;Thanks in advance&lt;/P&gt;</description><pubDate>Mon, 21 Dec 2009 06:59:42 GMT</pubDate><dc:creator>dankohler</dc:creator></item><item><title>Simple editable array with gridpanel - looking for!</title><link>http://www.coolite.com/forums/Topic24120-21-1.aspx</link><description> After checking out the samples in the samples explorer and not getting it, I turn to this spot. &lt;br&gt;&lt;br&gt;I want to use a gridpanel to make a small list I have in an array, editable (add-edit-remove) but I'm having problems doing so. &lt;br&gt;&lt;br&gt;First I can't make the gridpanel to show the array contents. Second I don't get the updates to the grid, reflected on the array.- Evidently they are not getting hooked up.&lt;br&gt;&lt;br&gt;the data store is defined like this : &lt;br&gt;&lt;br&gt;[code]&lt;br&gt;            &amp;lt;ext:Store ID="UsersStore" runat="server"&amp;gt;&lt;br&gt;                &amp;lt;Reader&amp;gt;&lt;br&gt;                    &amp;lt;ext:ArrayReader&amp;gt;&lt;br&gt;                        &amp;lt;Fields&amp;gt;&lt;br&gt;                            &amp;lt;ext:RecordField Name="ContactID" /&amp;gt;&lt;br&gt;                            &amp;lt;ext:RecordField Name="AccountID" /&amp;gt;&lt;br&gt;                            &amp;lt;ext:RecordField Name="Name" /&amp;gt;&lt;br&gt;                            &amp;lt;ext:RecordField Name="PhoneNumber" /&amp;gt;&lt;br&gt;                            &amp;lt;ext:RecordField Name="PhoneType" /&amp;gt;&lt;br&gt;                        &amp;lt;/Fields&amp;gt;&lt;br&gt;                    &amp;lt;/ext:ArrayReader&amp;gt;&lt;br&gt;                &amp;lt;/Reader&amp;gt;&lt;br&gt;            &amp;lt;/ext:Store&amp;gt;&lt;br&gt;&lt;br&gt;[/code]&lt;br&gt;&lt;br&gt;The gridpanel has the following definition;&lt;br&gt;&lt;br&gt;[code]&lt;br&gt;                                                &amp;lt;ext:GridPanel ID="UsersGrid" runat="server" &lt;br&gt;                                                    Title = "Users" StoreID="UsersStore" Height="200"  &lt;br&gt;                                                    Border = "false"&lt;br&gt;                                                    Frame = "True"&lt;br&gt;                                                    StripeRows = "True"&lt;br&gt;                                                    MemoryIDField = "ContactID"&lt;br&gt;                                                     TrackMouseOver = "True"&lt;br&gt;                                                    &amp;gt;&lt;br&gt;                                                    &amp;lt;ColumnModel runat="server"&amp;gt;&lt;br&gt;                                                        &amp;lt;Columns&amp;gt;&lt;br&gt;                                                            &amp;lt;ext:Column DataIndex="ContactID" ColumnID="ContactID" Hidden="true" /&amp;gt; &lt;br&gt;                                                            &amp;lt;ext:Column DataIndex="Name" Header="Name"&amp;gt;&lt;br&gt;                                                                &amp;lt;Editor&amp;gt;&amp;lt;ext:TextField ID="TextField1" runat="server" /&amp;gt;&amp;lt;/Editor&amp;gt;&lt;br&gt;                                                            &amp;lt;/ext:Column&amp;gt;&lt;br&gt;                                                            &amp;lt;ext:Column DataIndex="PhoneNumber" Header="Phone"&amp;gt;&lt;br&gt;                                                                &amp;lt;Editor&amp;gt;&amp;lt;ext:TextField ID="TextField2" runat="server" /&amp;gt;&amp;lt;/Editor&amp;gt;&lt;br&gt;                                                            &amp;lt;/ext:Column&amp;gt;&lt;br&gt;                                                            &amp;lt;ext:Column DataIndex="PhoneType" Header="Phone Type"&amp;gt;&lt;br&gt;                                                                &amp;lt;Editor&amp;gt;&lt;br&gt;                                                                    &amp;lt;ext:ComboBox&lt;br&gt;                                                                        ID="ComboBox3"&lt;br&gt;                                                                        runat="server" &lt;br&gt;                                                                        Editable="false"         &lt;br&gt;                                                                        EmptyText=""&amp;gt;&lt;br&gt;                                                                        &amp;lt;Items&amp;gt;&lt;br&gt;                                                                            &amp;lt;ext:ListItem Text="cell" Value="cell" /&amp;gt;&lt;br&gt;                                                                            &amp;lt;ext:ListItem Text="home" Value="home" /&amp;gt;&lt;br&gt;                                                                            &amp;lt;ext:ListItem Text="work" Value="work" /&amp;gt;&lt;br&gt;                                                                        &amp;lt;/Items&amp;gt;&lt;br&gt;                                                                    &amp;lt;/ext:ComboBox&amp;gt;&lt;br&gt;                                                                &amp;lt;/Editor&amp;gt;&lt;br&gt;                                                            &amp;lt;/ext:Column&amp;gt;&lt;br&gt;                                                        &amp;lt;/Columns&amp;gt;&lt;br&gt;                                                    &amp;lt;/ColumnModel&amp;gt;&lt;br&gt;                                                &amp;lt;/ext:GridPanel&amp;gt;&lt;br&gt;&lt;br&gt;[/code]&lt;br&gt;&lt;br&gt;In code behind I bind the array to the store Store and the grid..  &lt;br&gt;&lt;br&gt;[code]&lt;br&gt;                UsersStore.DataSource = arrUsers.value&lt;br&gt;                UsersStore.DataBind()&lt;br&gt;                UsersGrid.DataBind()&lt;br&gt;[/code]&lt;br&gt;&lt;br&gt;But nothing happens.. any ideas of where I'm messing it up? &lt;br&gt;&lt;br&gt;Next, this way, does the gridpanel object update the array? Or just the Store? is it neccesary to make some other stuff in order the have the array with the data modified in the grid??&lt;br&gt;&lt;br&gt;Thanks you guys!&lt;br&gt;&lt;br&gt;&lt;br&gt;</description><pubDate>Fri, 11 Dec 2009 12:11:07 GMT</pubDate><dc:creator>NestorLeone</dc:creator></item><item><title>Problems displaying examples</title><link>http://www.coolite.com/forums/Topic23544-21-1.aspx</link><description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I got problems using the examples site. If I try to use the examples 0.8 site I get a messagebox showing the following error:&lt;/P&gt;&lt;P&gt;Request Failure&lt;/P&gt;&lt;P&gt;Status Code: 200&lt;/P&gt;&lt;P&gt;Status text: &lt;BR&gt;BADRESPONSE: Statement on line 166: Syntax error stacktrace: n/a; see opera:config#UserPrefs|Exceptions Have Stacktrace&lt;BR&gt;&lt;/P&gt;&lt;P&gt;&lt;BR&gt;&lt;/P&gt;&lt;P&gt;I guess it has something to do with my firewall. The problem is,m the firewall doesn't seem to interfere in any way - at least it doesn't show any message about blocking content.&lt;/P&gt;&lt;P&gt;Is there somewhere someone having the same problem and a solution to this?&lt;/P&gt;&lt;P&gt;&lt;BR&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;achim&lt;/P&gt;</description><pubDate>Mon, 30 Nov 2009 00:19:04 GMT</pubDate><dc:creator>welberger</dc:creator></item><item><title>Coolite Examples Explorer</title><link>http://www.coolite.com/forums/Topic3876-21-1.aspx</link><description>Hi,&lt;br&gt;&lt;br&gt;The Coolite Examples Explorer source code can be downloaded?&lt;br&gt;&lt;br&gt;The Extjs.com have this option to use in localhost. The same is made for the Extjs documentation.&lt;br&gt;&lt;br&gt;Where can be find?&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;&lt;br&gt;&lt;br&gt;</description><pubDate>Fri, 14 Nov 2008 05:30:43 GMT</pubDate><dc:creator>georgelanes</dc:creator></item><item><title>Looking For Master Detail Form example</title><link>http://www.coolite.com/forums/Topic19967-21-1.aspx</link><description> Hi,&lt;br&gt;&lt;br&gt;Can any one post an example of how to achieve an Master detail Form. ex. like an billing form,etc.. with single save/cancel button to save/cancel master and details(grid)&lt;br&gt;&lt;br&gt;Regards&lt;br&gt;&lt;br&gt;&lt;br&gt;</description><pubDate>Thu, 17 Sep 2009 23:53:39 GMT</pubDate><dc:creator>kumarxlnt</dc:creator></item><item><title>[EXAMPLE] How to create new windows</title><link>http://www.coolite.com/forums/Topic10249-21-1.aspx</link><description>This is my way to create forms:&lt;br&gt;&lt;br&gt;add this js:&lt;br&gt;&lt;br&gt;[code]&amp;lt;script language="javascript" type="text/javascript"&amp;gt;&lt;br&gt;    function NewWindow(winURL, winTitle, winHeight, winWidth, winModal, winMax, winRes, winCollap) {&lt;br&gt;    if (winTitle == '' || winTitle == undefined) { winTitle = 'Teste' }&lt;br&gt;    if (winCollap == '' || winCollap == undefined) { winCollap = false }&lt;br&gt;    if (winRes == '' || winRes == undefined) { winRes = false }&lt;br&gt;    if (winModal == '' || winModal == undefined) { winModal = false }&lt;br&gt;    if (winHeight == '' || winHeight == undefined) { winHeight = 500 }&lt;br&gt;    if (winWidth == '' || winWidth == undefined) { winWidth = 500 }&lt;br&gt;    var win = new Ext.Window({ renderTo: Ext.getBody(), &lt;br&gt;    maximizable: winMax,&lt;br&gt;    resizable: winRes,&lt;br&gt;    collapsible: winCollap,&lt;br&gt;    constrain: false,&lt;br&gt;    title: winTitle,&lt;br&gt;    height: winHeight,&lt;br&gt;    width: winWidth,&lt;br&gt;    modal: winModal, &lt;br&gt;    frame: true, &lt;br&gt;    autoLoad:{ maskMsg:"Carregando...", showMask:true, mode:"iframe", url: winURL }&lt;br&gt;    });&lt;br&gt;    win.show();&lt;br&gt;    }&lt;br&gt;&amp;lt;/script&amp;gt;[/code]&lt;br&gt;&lt;br&gt;then in buttons use:&lt;br&gt;&lt;br&gt;[code]&amp;lt;ext:Button ID="Button3" runat="server" Text="Teste" Icon="ServerGo"&amp;gt;&lt;br&gt;    &amp;lt;Listeners&amp;gt;&lt;br&gt;        &amp;lt;Click Handler="OpenWindow('teste.aspx', 'Exemplo',200,200,false,false,false)" /&amp;gt;&lt;br&gt;    &amp;lt;/Listeners&amp;gt;&lt;br&gt;&amp;lt;/ext:Button&amp;gt;[/code]&lt;br&gt;&lt;br&gt;*edit: fixed some bugs and added new vars&lt;br&gt;please change topic name to How to create new windows</description><pubDate>Tue, 17 Mar 2009 07:49:58 GMT</pubDate><dc:creator>snippher</dc:creator></item><item><title>Method to populate any store with any generic list</title><link>http://www.coolite.com/forums/Topic21204-21-1.aspx</link><description>Hi&lt;br&gt;&lt;br&gt;I didn't want to write a store object populating routine for every control that uses a Store object. So instead, I wrote a method which takes the store - as set in your aspx page - and a generic list of ANY type and populates the control specify in the StoreID tag.  You could go one step further and dynamically create your store fields based upon the property names of the objects stored within the generic list but I couldn't get that to work. Hope someone find this useful&lt;br&gt;&lt;br&gt;[code]&lt;br&gt; public static void BindStoreToDataControl&amp;lt;T&amp;gt;(Store store, List&amp;lt;T&amp;gt; list)&lt;br&gt;    {&lt;br&gt;        if (list != null || list.Count &amp;gt; 0)&lt;br&gt;        {&lt;br&gt;            Type t = typeof(T);&lt;br&gt;            //make a new instance of the class name we figured out to get its props&lt;br&gt;            object o = Activator.CreateInstance(t);&lt;br&gt;            //gets all properties&lt;br&gt;            PropertyInfo[] props = o.GetType().GetProperties();&lt;br&gt;&lt;br&gt;            Object[] dataContainer = new Object[list.Count];&lt;br&gt;            int y = 0;&lt;br&gt;            foreach (T item in list)&lt;br&gt;            {&lt;br&gt;                int x = 0;&lt;br&gt;                Object[] data = new Object[props.Length];&lt;br&gt;                //this acts as datacolumn&lt;br&gt;                foreach (PropertyInfo pi in props)&lt;br&gt;                {&lt;br&gt;                    //this is the row+col intersection (the value)&lt;br&gt;                    string propertyValue = Convert.ToString(item.GetType().GetProperty(pi.Name).GetValue(item, null));&lt;br&gt;                    data[x] = propertyValue;&lt;br&gt;                    x++;&lt;br&gt;                }&lt;br&gt;                dataContainer[y] = data;&lt;br&gt;                y++;&lt;br&gt;            }&lt;br&gt;            store.DataSource = dataContainer;&lt;br&gt;            store.DataBind();&lt;br&gt;        }&lt;br&gt;        else&lt;br&gt;        {&lt;br&gt;            store.DataSource = new Object[] { };&lt;br&gt;            store.DataBind();&lt;br&gt;        }&lt;br&gt;    }&lt;br&gt;[/code]&lt;br&gt;&lt;br&gt;[code]&lt;br&gt;&lt;br&gt;&amp;lt;ext:ComboBox ID="combobox1"&lt;br&gt;                    StoreID="store1" &lt;br&gt;                    FieldLabel="Test" &lt;br&gt;                    runat="server" &lt;br&gt;                    Editable="false" &lt;br&gt;                    ReadOnly="true" &lt;br&gt;                    DisplayField="Name" &lt;br&gt;                    ValueField="ID" &lt;br&gt;                    Width="250"&amp;gt;&lt;br&gt;                    &amp;lt;/ext:ComboBox&amp;gt; &lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;lt;ext:Store ID="store1" runat="server"&amp;gt;   &lt;br&gt;    &amp;lt;Reader&amp;gt;&lt;br&gt;        &amp;lt;ext:ArrayReader&amp;gt;&lt;br&gt;            &amp;lt;Fields&amp;gt;&lt;br&gt;                &amp;lt;ext:RecordField Name="ID" /&amp;gt;&lt;br&gt;                &amp;lt;ext:RecordField Name="Name" /&amp;gt;&lt;br&gt;            &amp;lt;/Fields&amp;gt;&lt;br&gt;        &amp;lt;/ext:ArrayReader&amp;gt;&lt;br&gt;    &amp;lt;/Reader&amp;gt;          &lt;br&gt;&amp;lt;/ext:Store&amp;gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;[/code]&lt;br&gt;</description><pubDate>Fri, 16 Oct 2009 08:48:29 GMT</pubDate><dc:creator>signup</dc:creator></item><item><title>Fun with Windows</title><link>http://www.coolite.com/forums/Topic4300-21-1.aspx</link><description>&lt;P&gt;Want to Hide/Cascade/Tile all open windows?&lt;BR&gt;&lt;BR&gt;It took me some searching to find this so I thought I would share. This is mostly Animal's code from his modified desktop.js I just tweaked it a little.&lt;BR&gt;&lt;BR&gt;[code]&amp;lt;script type="text/javascript"&amp;gt;&lt;BR&gt;    var HideAllWin = function() {&lt;BR&gt;        Ext.WindowMgr.each(function(w) {&lt;BR&gt;            if (w.isVisible()) w.minimize();&lt;BR&gt;        });&lt;BR&gt;    }&lt;/P&gt;&lt;P&gt;    var CascAllWin = function() {&lt;BR&gt;        var xTick = Math.max(1, 20);&lt;BR&gt;        var yTick = Math.max(1, 20);&lt;BR&gt;        var x = xTick;&lt;BR&gt;        var y = yTick;&lt;BR&gt;        Ext.WindowMgr.each(function(w) {&lt;BR&gt;            if (w.isVisible() &amp;amp;&amp;amp; !w.maximized) {&lt;BR&gt;                w.setPosition(x, y);&lt;BR&gt;                x += xTick;&lt;BR&gt;                y += yTick;&lt;BR&gt;            }&lt;BR&gt;        });&lt;BR&gt;    }&lt;/P&gt;&lt;P&gt;    var TileAllWin = function() {&lt;BR&gt;        var availWidth = Ext.lib.Dom.getViewWidth();&lt;BR&gt;        var x = 1;&lt;BR&gt;        var y = 1;&lt;BR&gt;        var nextY = y;&lt;BR&gt;        Ext.WindowMgr.each(function(w) {&lt;BR&gt;            if (w.isVisible() &amp;amp;&amp;amp; !w.maximized) {&lt;BR&gt;                w.setHeight(300);             //remove if you don't want to resize windows&lt;BR&gt;                w.setWidth(300);             //remove if you don't want to resize windows&lt;BR&gt;                var wi = w.el.getWidth();&lt;/P&gt;&lt;P&gt;                //Wrap to next row if this Window will go off the end&lt;BR&gt;                if ((x &amp;gt; 1) &amp;amp;&amp;amp; (x + wi &amp;gt; availWidth)) {&lt;BR&gt;                    x = 1;&lt;BR&gt;                    y = nextY;&lt;BR&gt;                }&lt;/P&gt;&lt;P&gt;                w.setPosition(x, y);&lt;BR&gt;                x += wi + 1;&lt;BR&gt;                nextY = Math.max(nextY, y + w.el.getHeight() + 1);&lt;BR&gt;            }&lt;BR&gt;        });&lt;BR&gt;    }&lt;BR&gt;    &lt;BR&gt;&amp;lt;/script&amp;gt;&lt;BR&gt;[/code]&lt;BR&gt;&lt;BR&gt;Hope it helps someone!&lt;BR&gt;&lt;BR&gt;&lt;/P&gt;</description><pubDate>Sat, 22 Nov 2008 13:27:50 GMT</pubDate><dc:creator>jlertle</dc:creator></item><item><title>PDF Export</title><link>http://www.coolite.com/forums/Topic6367-21-1.aspx</link><description> Hi all,&lt;br&gt;&lt;br&gt;based on this example:&lt;br&gt;&lt;br&gt;&lt;a href="http://examples.coolite.com/?/GridPanel/Miscellaneous/Export_Data_Ajax/"&gt;http://examples.coolite.com/?/GridPanel/Miscellaneous/Export_Data_Ajax/&lt;/a&gt;&lt;br&gt;&lt;br&gt;I added a PDF export button to generate a PDF file rendering the grid. I used iTextSharp open source library.&lt;br&gt;See file in attachment.&lt;br&gt;&lt;br&gt;Pdf library:&lt;br&gt;&lt;a href="http://sourceforge.net/projects/itextsharp/"&gt;http://sourceforge.net/projects/itextsharp/&lt;/a&gt;&lt;br&gt;&lt;br&gt;Link to codeproject.com usefull article:&lt;br&gt;&lt;a href="http://www.codeproject.com/KB/cs/iTextSharpPdfTables.aspx"&gt;http://www.codeproject.com/KB/cs/iTextSharpPdfTables.aspx&lt;/a&gt;&lt;br&gt;&lt;br&gt;Matteo&lt;br&gt;&lt;br&gt;&lt;br&gt;</description><pubDate>Fri, 02 Jan 2009 06:15:26 GMT</pubDate><dc:creator>methode</dc:creator></item><item><title>Multiple toolbars emulation</title><link>http://www.coolite.com/forums/Topic6189-21-1.aspx</link><description>Hi all,&lt;br&gt;&lt;br&gt;This simple example shows how to emulate multiple  toolbars. Maybe someone will consider it useful&lt;br&gt;&lt;br&gt;[code]&lt;br&gt;&amp;lt;%@ Page Language="C#" %&amp;gt;&lt;br&gt;&amp;lt;%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="ext" %&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&amp;gt;&lt;br&gt;&amp;lt;html xmlns="http://www.w3.org/1999/xhtml"&amp;gt;&lt;br&gt;&amp;lt;head id="Head1" runat="server"&amp;gt;&lt;br&gt;    &amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;    &lt;br&gt;&amp;lt;/head&amp;gt;&lt;br&gt;&amp;lt;body&amp;gt;&lt;br&gt;    &amp;lt;form id="form1" runat="server"&amp;gt;&lt;br&gt;        &amp;lt;ext:ScriptManager ID="ScriptManager1" runat="server" /&amp;gt;        &lt;br&gt;        &lt;br&gt;        &amp;lt;ext:Panel runat="server" Title="Panel with multiple toolbars" Width="500"&amp;gt;&lt;br&gt;            &amp;lt;Body&amp;gt;&lt;br&gt;                &amp;lt;ext:ContainerLayout runat="server"&amp;gt;&lt;br&gt;                    &amp;lt;ext:Toolbar runat="server"&amp;gt;&lt;br&gt;                        &amp;lt;Items&amp;gt;&lt;br&gt;                            &amp;lt;ext:ToolbarButton runat="server" Icon="Accept"&amp;gt;&amp;lt;/ext:ToolbarButton&amp;gt;&lt;br&gt;                            &amp;lt;ext:ToolbarButton runat="server" Text="Top Button1"&amp;gt;&amp;lt;/ext:ToolbarButton&amp;gt;&lt;br&gt;                        &amp;lt;/Items&amp;gt;&lt;br&gt;                    &amp;lt;/ext:Toolbar&amp;gt;&lt;br&gt;                    &lt;br&gt;                    &amp;lt;ext:Toolbar runat="server"&amp;gt;&lt;br&gt;                        &amp;lt;Items&amp;gt;&lt;br&gt;                            &amp;lt;ext:ToolbarButton runat="server" Icon="Bell"&amp;gt;&amp;lt;/ext:ToolbarButton&amp;gt;&lt;br&gt;                            &amp;lt;ext:ToolbarButton runat="server" Text="Top Button2"&amp;gt;&amp;lt;/ext:ToolbarButton&amp;gt;&lt;br&gt;                        &amp;lt;/Items&amp;gt;&lt;br&gt;                    &amp;lt;/ext:Toolbar&amp;gt;&lt;br&gt;                    &lt;br&gt;                    &amp;lt;ext:Toolbar runat="server"&amp;gt;&lt;br&gt;                        &amp;lt;Items&amp;gt;&lt;br&gt;                            &amp;lt;ext:ToolbarButton runat="server" Icon="Anchor"&amp;gt;&amp;lt;/ext:ToolbarButton&amp;gt;&lt;br&gt;                            &amp;lt;ext:ToolbarButton runat="server" Text="Top Button3"&amp;gt;&amp;lt;/ext:ToolbarButton&amp;gt;&lt;br&gt;                        &amp;lt;/Items&amp;gt;&lt;br&gt;                    &amp;lt;/ext:Toolbar&amp;gt;&lt;br&gt;                    &lt;br&gt;                    &amp;lt;ext:Panel runat="server" Border="false" Height="300" BodyStyle="padding:6px;"&amp;gt;&lt;br&gt;                        &amp;lt;Body&amp;gt;&lt;br&gt;                            Body&lt;br&gt;                        &amp;lt;/Body&amp;gt;&lt;br&gt;                    &amp;lt;/ext:Panel&amp;gt;&lt;br&gt;                    &lt;br&gt;                    &amp;lt;ext:Toolbar runat="server"&amp;gt;&lt;br&gt;                        &amp;lt;Items&amp;gt;&lt;br&gt;                            &amp;lt;ext:ToolbarButton runat="server" Icon="Accept"&amp;gt;&amp;lt;/ext:ToolbarButton&amp;gt;&lt;br&gt;                            &amp;lt;ext:ToolbarButton runat="server" Text="Bottom Button1"&amp;gt;&amp;lt;/ext:ToolbarButton&amp;gt;&lt;br&gt;                        &amp;lt;/Items&amp;gt;&lt;br&gt;                    &amp;lt;/ext:Toolbar&amp;gt;&lt;br&gt;                    &lt;br&gt;                    &amp;lt;ext:Toolbar runat="server"&amp;gt;&lt;br&gt;                        &amp;lt;Items&amp;gt;&lt;br&gt;                            &amp;lt;ext:ToolbarButton runat="server" Icon="Bell"&amp;gt;&amp;lt;/ext:ToolbarButton&amp;gt;&lt;br&gt;                            &amp;lt;ext:ToolbarButton runat="server" Text="Bottom Button2"&amp;gt;&amp;lt;/ext:ToolbarButton&amp;gt;&lt;br&gt;                        &amp;lt;/Items&amp;gt;&lt;br&gt;                    &amp;lt;/ext:Toolbar&amp;gt;&lt;br&gt;                    &lt;br&gt;                    &amp;lt;ext:Toolbar runat="server"&amp;gt;&lt;br&gt;                        &amp;lt;Items&amp;gt;&lt;br&gt;                            &amp;lt;ext:ToolbarButton runat="server" Icon="Anchor"&amp;gt;&amp;lt;/ext:ToolbarButton&amp;gt;&lt;br&gt;                            &amp;lt;ext:ToolbarButton runat="server" Text="Bottom Button3"&amp;gt;&amp;lt;/ext:ToolbarButton&amp;gt;&lt;br&gt;                        &amp;lt;/Items&amp;gt;&lt;br&gt;                    &amp;lt;/ext:Toolbar&amp;gt;&lt;br&gt;                &amp;lt;/ext:ContainerLayout&amp;gt;&lt;br&gt;            &amp;lt;/Body&amp;gt;&lt;br&gt;        &amp;lt;/ext:Panel&amp;gt;&lt;br&gt;    &amp;lt;/form&amp;gt;&lt;br&gt;&amp;lt;/body&amp;gt;&lt;br&gt;&amp;lt;/html&amp;gt;&lt;br&gt;&lt;br&gt;[/code]&lt;br&gt;&lt;br&gt;&lt;br&gt;</description><pubDate>Mon, 29 Dec 2008 02:33:22 GMT</pubDate><dc:creator>vladsch</dc:creator></item><item><title>Doloto</title><link>http://www.coolite.com/forums/Topic19862-21-1.aspx</link><description>&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Might be useful&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt; &lt;a href="http://msdn.microsoft.com/en-us/devlabs/ee423534.aspx"&gt;http://msdn.microsoft.com/en-us/devlabs/ee423534.aspx&lt;/a&gt;</description><pubDate>Wed, 16 Sep 2009 10:22:47 GMT</pubDate><dc:creator>simonmicheal</dc:creator></item><item><title>Examples site problem...</title><link>http://www.coolite.com/forums/Topic18615-21-1.aspx</link><description> [code]&lt;br&gt;syntax error&lt;br&gt;[Break on this error] function hex_md5(s){ return binl2hex(core_md5(str2binl(s), s.length * chrsz));}&lt;br&gt;coolite.axd?37030 (line 26)&lt;br&gt;Ext.ux.plugins.TabCloseMenu is not a constructor&lt;br&gt;anonymous(Object id=Store1 ajaxEventConfig=Object reader=Object, Object)examples...olite.com (line 54)&lt;br&gt;anonymous()coolite.axd?37030 (line 152)&lt;br&gt;anonymous()coolite.axd?37030 (line 30)&lt;br&gt;anonymous(Object)coolite.axd?37030 (line 766)&lt;br&gt;anonymous(Object id=Store1 ajaxEventConfig=Object reader=Object, Object name=options)coolite.axd?37030 (line 56)&lt;br&gt;anonymous(Object name=options)coolite.axd?37030 (line 56)&lt;br&gt;anonymous()coolite.axd?37030 (line 1)&lt;br&gt;[Break on this error] ...rces/images/default/s-gif/coolite.axd";&lt;br&gt;examples...olite.com (line 63)&lt;br&gt;tabHome is not defined&lt;br&gt;[Break on this error] Ext.onReady(function(){Ext.apply(Cooli...thods.GetThemeUrl(cbTheme.getValue(),{\r&lt;br&gt;&lt;br&gt;[/code]&lt;br&gt;&lt;br&gt;I get a blank screen and error on examples.coolite.com in both IE and FireFox (error listing above is from firebug)&lt;br&gt;&lt;br&gt;</description><pubDate>Thu, 20 Aug 2009 10:33:15 GMT</pubDate><dc:creator>drakaan</dc:creator></item><item><title>[EXAMPLE] Desktop</title><link>http://www.coolite.com/forums/Topic5016-21-1.aspx</link><description>We just published a new sample demonstrating the use of the &amp;lt;ext:Desktop&gt; Control, see &lt;a href="http://examples.coolite.com/?/Desktop/Introduction/Overview/"&gt;http://examples.coolite.com/?/Desktop/Introduction/Overview/&lt;/a&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;</description><pubDate>Sun, 07 Dec 2008 17:16:39 GMT</pubDate><dc:creator>geoffrey.mcgill</dc:creator></item><item><title>Dynamic gridPanel</title><link>http://www.coolite.com/forums/Topic15885-21-1.aspx</link><description>&lt;span&gt;&lt;span&gt;&lt;span id="ctl10_ctlTopic"&gt;&lt;span id="ctl10_ctlTopic_ctlPanelBar_ctlTopicsRepeater_ctl17_lblPostSignature"&gt;Vladimir Shcheglov,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br&gt;&lt;br&gt;Can you post the sample in &lt;a href="http://www.coolite.com/forums/FindPost4401.aspx"&gt;&lt;b&gt;this&lt;/b&gt;&lt;/a&gt; post? It's not accesible anymore it seems..&lt;br&gt;&lt;br&gt;I'm having that same sample and I'd like to see your approach. &lt;br&gt;&lt;br&gt;Thanks!&lt;br&gt;</description><pubDate>Thu, 25 Jun 2009 13:17:34 GMT</pubDate><dc:creator>NestorLeone</dc:creator></item><item><title>Hotkey to display DateField's Calendar</title><link>http://www.coolite.com/forums/Topic16176-21-1.aspx</link><description>Hi there!    &lt;br&gt;I'm starting to study the ExtJs, and i was having a problem to display the DateField's Calendar and i arrived in the following solution to show it by pressing down the DOWN or SPACE key:&lt;br&gt;[code]&lt;br&gt;&amp;lt;ext:KeyMap ID="KeyMap1" runat="server" Target="#{DateField1}"&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;ext:KeyBinding&amp;gt;&lt;br&gt;      &amp;lt;Keys&amp;gt;&lt;br&gt;                &amp;lt;ext:Key Code="SPACE" /&amp;gt;&lt;br&gt;      &amp;lt;/Keys&amp;gt;&lt;br&gt;      &amp;lt;Listeners&amp;gt;&lt;br&gt;                &amp;lt;Event Handler="#{DateField1}.onTriggerClick();" /&amp;gt;&lt;br&gt;      &amp;lt;/Listeners&amp;gt;&lt;br&gt;&amp;lt;/ext:KeyBinding&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;ext:KeyBinding&amp;gt;&lt;br&gt;      &amp;lt;Keys&amp;gt;&lt;br&gt;                &amp;lt;ext:Key Code="DOWN" /&amp;gt;&lt;br&gt;      &amp;lt;/Keys&amp;gt;&lt;br&gt;      &amp;lt;Listeners&amp;gt;&lt;br&gt;                &amp;lt;Event Handler="#{DateField1}.onTriggerClick();" /&amp;gt;&lt;br&gt;      &amp;lt;/Listeners&amp;gt;&lt;br&gt;&amp;lt;/ext:KeyBinding&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;/ext:KeyMap&amp;gt;&lt;br&gt;&lt;br&gt;[/code]&lt;br&gt;&lt;br&gt;Btw, is there a solution ready for this?&lt;br&gt;&lt;br&gt;Thanks! Sorry if this topic is in the wrong section, but i think this also could be an example :)&lt;br&gt;</description><pubDate>Fri, 03 Jul 2009 07:28:46 GMT</pubDate><dc:creator>leonardobag</dc:creator></item><item><title>[EXAMPLE] Portal</title><link>http://www.coolite.com/forums/Topic2641-21-1.aspx</link><description>&lt;p&gt;We just added two new examples to the explorer demonstrating the use of the new  &amp;lt;ext:Portal&gt; which was shipped with the v0.6 relase. &lt;br&gt;&lt;br&gt;Simple - &lt;a href="http://examples.coolite.com/?/Portal/Basic/Simple/"&gt;http://examples.coolite.com/?/Portal/Basic/Simple/&lt;/a&gt;&lt;br&gt;Deluxe - &lt;a href="http://examples.coolite.com/?/Portal/Basic/Deluxe/"&gt;http://examples.coolite.com/?/Portal/Basic/Deluxe/&lt;/a&gt;&lt;br&gt;&lt;/p&gt;</description><pubDate>Tue, 07 Oct 2008 07:36:56 GMT</pubDate><dc:creator>geoffrey.mcgill</dc:creator></item><item><title>Looking for MVC + Coolite Example</title><link>http://www.coolite.com/forums/Topic6964-21-1.aspx</link><description>Hi guys, &lt;span style="color: rgb(51, 51, 51); line-height: 17px; "&gt;I'm digging into Coolite and MVC.&lt;/span&gt;&lt;div&gt;&lt;font face="Arial" size="2"&gt;&lt;span style="font: normal normal normal 12px/17px Verdana; color: rgb(51, 51, 51); font-family: Verdana; font-size: 12px; line-height: 17px; "&gt;First of all you guys have made a great work on coolite (I worked with extjs so I really apreciate your work)&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face="Arial" size="2"&gt;&lt;span style="font: normal normal normal 12px/17px Verdana; color: rgb(51, 51, 51); font-family: Verdana; font-size: 12px; line-height: 17px; "&gt;I wonder if you'd have an example using both tecnologies, because i don't know how to reach the controllers instead of the code behind on server side&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="color: rgb(51, 51, 51); line-height: 17px;"&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="color: rgb(51, 51, 51); line-height: 17px;"&gt;Additionaly, which kind of controls (UserControls or ServerControls) is better for reusability?&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="color: rgb(51, 51, 51); line-height: 17px;"&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="color: rgb(51, 51, 51); line-height: 17px;"&gt;Thanks!&lt;/span&gt;&lt;/div&gt;</description><pubDate>Wed, 14 Jan 2009 05:09:43 GMT</pubDate><dc:creator>jpbelli</dc:creator></item><item><title>Looking for a not so simple Databinding sample for Asp.Net</title><link>http://www.coolite.com/forums/Topic11970-21-1.aspx</link><description> Hi All !&lt;br&gt;&lt;br&gt;Possibly, such a sample exists?? I was not able to find one! As I am not really, as far not indepth, familar with javascript, I came to coolite, because extJS is exciting! I would like to see a coolite datagrid with editing features.&lt;br&gt;&lt;br&gt;If I would able to databind some grid with coolite, I could start!&lt;br&gt;&lt;br&gt;Any help is very welcomed!&lt;br&gt;&lt;br&gt;BTW-Problem:Each sample I download from "view source" is incomplete [missing the code-behind] and the zipps are always corrupt [anyway which browser I use to download or which unzip[per] I use to unzip!&lt;br&gt;&lt;br&gt;br--mabra&lt;br&gt;&lt;br&gt;</description><pubDate>Tue, 21 Apr 2009 12:37:28 GMT</pubDate><dc:creator>mabra</dc:creator></item><item><title>Example: Updating a Grid Cell programatically</title><link>http://www.coolite.com/forums/Topic11447-21-1.aspx</link><description>hi,&lt;br&gt;&lt;br&gt;very happy with coolite.  Lets grow the sample code base.&lt;br&gt;&lt;br&gt;Lets say you have a grid and on each row (record) there is a field (cell) that represents the sum total of a few of the other cells.  We'll call that field total.  Here is an easy way to do it.&lt;br&gt;&lt;br&gt;Add a Listener to your grid:&lt;br&gt;&lt;br&gt;[code]&lt;br&gt;&amp;lt;Listeners&amp;gt; &lt;br&gt;  &amp;lt;ValidateEdit Fn="calcTlt" /&amp;gt; &lt;br&gt;&amp;lt;/Listeners&amp;gt;&lt;br&gt;[/code]&lt;br&gt;&lt;br&gt;On each row click you are going to get an event back with the EventArgObject.&lt;br&gt;&lt;br&gt;[code]&lt;br&gt;var calcTlt = function(e) {&lt;br&gt;&lt;br&gt;    var val = parseFloat(e.value);   // this is the value of the current changed field ...&lt;br&gt;    var valOfTlt = parseFloat(e.record.get('Tlt')); // Tlt is the name of the field i want to update&lt;br&gt;    var setTo = valOfTlt + val;&lt;br&gt;    e.record.set('Tlt', setTo);&lt;br&gt;&lt;br&gt;};&lt;br&gt;[/code]  &lt;br&gt;</description><pubDate>Tue, 07 Apr 2009 16:03:51 GMT</pubDate><dc:creator>Juls</dc:creator></item><item><title>How can i access to panel controls</title><link>http://www.coolite.com/forums/Topic11433-21-1.aspx</link><description> Hi!&lt;br&gt;&lt;br&gt;I have a Panel in a FormLayout. I need to know how i can to access to the fields textfield. I'm using visual basic. I know that if I only would have a FormLayout, I can access the fields with the code: &lt;br&gt;&lt;br&gt;&lt;br&gt;.................................................................................&lt;br&gt;Dim formulario As FormLayout &lt;br&gt;For Each caja As Control In Formulario.Controls&lt;br&gt;/....&lt;br&gt;Next&lt;br&gt;..........................................................................&lt;br&gt;&lt;br&gt;but i need the Panel.&lt;br&gt;&lt;br&gt;The ext code is: &lt;br&gt;&lt;br&gt;[code]&lt;br&gt;&lt;br&gt; &amp;lt;ext:FormLayout ID="FormLayout1" runat="server"&amp;gt;&lt;br&gt;          &lt;br&gt;               &amp;lt;ext:Anchor&amp;gt;&lt;br&gt;               &lt;br&gt;                    &amp;lt;ext:Panel ID="Panel1" runat="server" AutoHeight="true" FormGroup="true"&amp;gt;&lt;br&gt;                        &amp;lt;Body&amp;gt;&lt;br&gt;                            &amp;lt;table&amp;gt;&lt;br&gt;                                &amp;lt;tr&amp;gt;&lt;br&gt;                                &amp;lt;td style="width:4%;" align="left"&amp;gt;&lt;br&gt;                                 &amp;lt;/td&amp;gt;&lt;br&gt;                                 &amp;lt;td style="width:18%;" align="left"&amp;gt;&lt;br&gt;                                  &amp;lt;p&amp;gt;Nombre&amp;lt;/p&amp;gt;&lt;br&gt;                                  &amp;lt;/td&amp;gt;&lt;br&gt;                                    &amp;lt;td style="width:78%;" align="left"&amp;gt;&lt;br&gt;                                       &amp;lt;ext:TextField ID="txtNombre" runat="server" FieldLabel="Nombre" Text="" MaxLength="50" MaxLengthText="Ha superado el máximo número de caracteres" AllowBlank="false" ValidationGroup="FORM" BlankText="Debe rellenar este campo." Width="345"/&amp;gt;&lt;br&gt;                                      &amp;lt;/td&amp;gt;&lt;br&gt;                                  &amp;lt;/tr&amp;gt; &lt;br&gt;                                &amp;lt;/table&amp;gt;&lt;br&gt;                                &lt;br&gt;                                &lt;br&gt;                                 &amp;lt;table&amp;gt;&lt;br&gt;                                &amp;lt;tr&amp;gt;&lt;br&gt;                                &amp;lt;td style="width:4%;" align="left"&amp;gt;&lt;br&gt;                                 &amp;lt;/td&amp;gt;&lt;br&gt;                                  &amp;lt;td style="width:18%;" align="left"&amp;gt;&lt;br&gt;                                  &amp;lt;p&amp;gt;Razón Social&amp;lt;/p&amp;gt;&lt;br&gt;                                  &amp;lt;/td&amp;gt;&lt;br&gt;                                    &amp;lt;td style="width:78%;" align="left" &amp;gt;&lt;br&gt;                                        &amp;lt;ext:TextField ID="txtRazonSocial" runat="server" FieldLabel="Razon Social" Text="" MaxLength="50" MaxLengthText="Ha superado el máximo número de caracteres" AllowBlank="true" ValidationGroup="FORM" BlankText="Debe rellenar este campo." Width="345"/&amp;gt;&lt;br&gt;                                      &amp;lt;/td&amp;gt;&lt;br&gt;                                &amp;lt;/tr&amp;gt;&lt;br&gt;                                  &amp;lt;/table&amp;gt;&lt;br&gt;                                  &lt;br&gt;                                  &lt;br&gt;                                  &lt;br&gt;                                   &amp;lt;table&amp;gt;&lt;br&gt;                                 &amp;lt;tr&amp;gt;&lt;br&gt;                                  &amp;lt;td style="width:8.8%;" align="left"&amp;gt;&lt;br&gt;                                 &amp;lt;/td&amp;gt;&lt;br&gt;                                  &amp;lt;td style="width:38%;" align="left"&amp;gt;&lt;br&gt;                                  &amp;lt;p&amp;gt;CIF&amp;lt;/p&amp;gt;&lt;br&gt;                                  &amp;lt;/td&amp;gt;&lt;br&gt;                                    &amp;lt;td style="width:56%;" align="left" &amp;gt;&lt;br&gt;                                       &amp;lt;ext:TextField ID="txtCIF" runat="server" FieldLabel="Razon Social" Text="" MaxLength="15" MaxLengthText="Ha superado el máximo número de caracteres" AllowBlank="true" ValidationGroup="FORM" BlankText="Debe rellenar este campo." Width="110" /&amp;gt;&lt;br&gt;                                      &amp;lt;/td&amp;gt;&lt;br&gt;                                &amp;lt;/tr&amp;gt;&lt;br&gt;                                  &amp;lt;/table&amp;gt;&lt;br&gt;           &amp;lt;/Body&amp;gt;&lt;br&gt;                    &amp;lt;/ext:Panel&amp;gt;&lt;br&gt;               &amp;lt;/ext:Anchor&amp;gt;&lt;br&gt;      &amp;lt;/ext:FormLayout&amp;gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;[/code]&lt;br&gt;&lt;br&gt;&lt;br&gt;Any ideas ???&lt;br&gt;&lt;br&gt;Thanks&lt;br&gt;</description><pubDate>Tue, 07 Apr 2009 11:11:34 GMT</pubDate><dc:creator>david83</dc:creator></item><item><title>code view on desktop window</title><link>http://www.coolite.com/forums/Topic7727-21-1.aspx</link><description>&lt;P&gt; I try make some things in the desktop :)&lt;BR&gt;&lt;BR&gt;I need in my desktop &lt;BR&gt;    1 - create a run time window (or desktopwindow)&lt;BR&gt;    2 - the window don´t reopen with this to be open&lt;BR&gt;    3 - resize the wallpaper of the window&lt;BR&gt;&lt;BR&gt;my solutions for these problems&lt;BR&gt;&lt;BR&gt;1 and 2&lt;BR&gt;&lt;BR&gt;I find in forum create window in run time, but don´t work with desktop window :(.&lt;BR&gt;Create the .js with the code of create windows, and control the opening of them&lt;BR&gt;&lt;BR&gt;.js&lt;BR&gt;[code]&lt;BR&gt;var janelas="";&lt;BR&gt;var intJanela=-1;&lt;BR&gt;&lt;BR&gt;function createWindow(name){&lt;BR&gt;        //verify of the window is opened&lt;BR&gt;        intJanela=janelas.indexOf(name);&lt;BR&gt;        if (intJanela != -1){&lt;BR&gt;            //if have the string, abort function&lt;BR&gt;            return&lt;BR&gt;        }&lt;BR&gt;        &lt;BR&gt;        //put name in string&lt;BR&gt;        janelas += name ;&lt;BR&gt;        &lt;BR&gt;        //open the window&lt;BR&gt;        switch(name){&lt;BR&gt;            case 'LogOut':{winLogOut(name); break;}&lt;BR&gt;            case 'produto.aspx':{ winProduto(name); break;}&lt;BR&gt;            case 'produto_categoria.aspx':{ winProdutoCategoria(name); break;}&lt;BR&gt;            case 'produto_subcategoria.aspx':{ winProdutoSubCategoria(name); break;}&lt;BR&gt;         }&lt;BR&gt;    }&lt;BR&gt;&lt;BR&gt; function  removeTabJanela(win){&lt;BR&gt;    //remove the name of window of the string&lt;BR&gt;    janelas = janelas.replace(win, " ");&lt;BR&gt;    }&lt;BR&gt;    &lt;BR&gt;function winLogOut(name){&lt;BR&gt;    var window = new Ext.Window({&lt;BR&gt;                        name:name&lt;BR&gt;                    ,   collapsible: true&lt;BR&gt;                    ,   title: "Formulário teste"&lt;BR&gt;                    ,   width:200&lt;BR&gt;                    ,   height:300&lt;BR&gt;                    });&lt;BR&gt;                    &amp;#119;indow.name = name;&lt;BR&gt;                    &amp;#119;indow.show();&lt;BR&gt;                    &amp;#119;indow.on('close',function(){removeTabJanela(name)});&lt;BR&gt;                    }&lt;BR&gt;[/code]&lt;BR&gt;&lt;BR&gt;note I use the name of the .aspx for call the function createWindow&lt;BR&gt;and inserte listener close in code&lt;BR&gt;&lt;BR&gt;in the menu I put this&lt;BR&gt;&lt;BR&gt;[code]&lt;BR&gt;    &amp;lt;ext:MenuItem Text="Produtos"&amp;gt;&lt;BR&gt;        &amp;lt;Listeners&amp;gt;&lt;BR&gt;            &amp;lt;Click Handler="createWindow('produto.aspx')" /&amp;gt;&lt;BR&gt;        &amp;lt;/Listeners&amp;gt;&lt;BR&gt;    &amp;lt;/ext:MenuItem&amp;gt;&lt;BR&gt;[/code]&lt;BR&gt;&lt;BR&gt;Work fine, but I don´t know if is the best mode for make this. like the view of the members...&lt;BR&gt;&lt;BR&gt;for the other problem, i make this code in .js&lt;BR&gt;&lt;BR&gt;[code]&lt;BR&gt; // Cross-browser, cross-platform, self-resizing &lt;BR&gt;// web page background images. JavaScript code&lt;BR&gt;// copyright 2006, 2007, 2008 Boutell.Com, Inc. &lt;BR&gt;//&lt;BR&gt;// See &lt;A href="http://www.boutell.com/newfaq/"&gt;http://www.boutell.com/newfaq/&lt;/A&gt; for more information.&lt;BR&gt;//&lt;BR&gt;// Permission granted to use, republish, sell and otherwise&lt;BR&gt;// benefit from this code as you see fit, provided you keep &lt;BR&gt;// this notice intact. You may remove comments below this line.&lt;BR&gt;//&lt;BR&gt;// END OF NOTICE&lt;BR&gt;//&lt;BR&gt;// INSTRUCTIONS: this WON'T WORK unless you do the following in the&lt;BR&gt;// document that includes it.&lt;BR&gt;//&lt;BR&gt;// 1. Specify the right doctype at the top of your page:&lt;BR&gt;//&lt;BR&gt;//    &amp;lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"&lt;BR&gt;//      "&lt;A href="http://www.w3.org/TR/html4/strict.dtd"&gt;http://www.w3.org/TR/html4/strict.dtd&lt;/A&gt;"&amp;gt;&lt;BR&gt;//&lt;BR&gt;// 2. In the &amp;lt;head&amp;gt; element of your page, bring in this code:&lt;BR&gt;//&lt;BR&gt;//    &amp;lt;script src="resizing_background.js"&amp;gt;&lt;BR&gt;//    &amp;lt;/script&amp;gt;&lt;BR&gt;//&lt;BR&gt;// 3. Set the right event handlers in your body element&lt;BR&gt;//    (you may call other functions too, use semicolons to separate):&lt;BR&gt;//&lt;BR&gt;//    &amp;lt;body &amp;#111;nload="rbInit()" &amp;#111;nresize="rbResize()"&amp;gt;&lt;BR&gt;//&lt;BR&gt;// 4. Call rbOpen() immediately after your &amp;lt;body&amp;gt; element:&lt;BR&gt;//&lt;BR&gt;// &amp;lt;script&amp;gt;&lt;BR&gt;// // For a centered image that scales up but keeps its proportions&lt;BR&gt;// // (be sure to also set a background-color style on body):&lt;BR&gt;// rbOpen(true);&lt;BR&gt;// // For an image that fills the entire window, distorting if necessary: &lt;BR&gt;// rbOpen(false);&lt;BR&gt;// &amp;lt;/script&amp;gt;&lt;BR&gt;//&lt;BR&gt;// 5. If you have any absolutely positioned divs, put them&lt;BR&gt;//    BEFORE rbOpen(), and make VERY SURE you set z-index explicitly&lt;BR&gt;//    to 1 or higher for them, or the background will appear over&lt;BR&gt;//    them. Hint: use a style sheet to make that less painful.&lt;BR&gt;// &lt;BR&gt;// 6. Call rbClose() with the URL of YOUR background image,&lt;BR&gt;//    just before your &amp;lt;/body&amp;gt; element (relative URLs are fine):&lt;BR&gt;//&lt;BR&gt;//    &amp;lt;script&amp;gt;&lt;BR&gt;//      rbClose("background.jpg");&lt;BR&gt;//    &amp;lt;/script&amp;gt;&lt;BR&gt;//&lt;BR&gt;// And that's all it takes! &lt;BR&gt;//&lt;BR&gt;// WARNINGS: &lt;BR&gt;//&lt;BR&gt;// 1. Internet Explorer versions prior to 7 will scroll jumpily.&lt;BR&gt;//   IE 7 beta 2 scrolls smoothly, just like Firefox, Safari, and Opera.&lt;BR&gt;//&lt;BR&gt;// 2. There's a very small "fudge factor" in use for Opera, because&lt;BR&gt;//   Opera doesn't support my Firefox trick to get the real size&lt;BR&gt;//   of the usable client area OR the Internet Explorer clientWidth&lt;BR&gt;//   method (Opera returns offsetWidth for clientWidth - that's&lt;BR&gt;//   not right, Opera). So I assume a 16 pixel scrollbar vertically&lt;BR&gt;//   and no scrollbar horizontally. Makes a very small difference.&lt;BR&gt;//&lt;BR&gt;// 3. Users with JavaScript disabled won't see a background.&lt;BR&gt;//   Set a reasonable background color in your &amp;lt;body&amp;gt; element&lt;BR&gt;//   as a fallback measure.&lt;/P&gt;&lt;P&gt;function rbIsIE()&lt;BR&gt;{&lt;BR&gt; if (navigator.appName == 'Microsoft Internet Explorer') {&lt;BR&gt;  return true;&lt;BR&gt; }&lt;BR&gt; return false;&lt;BR&gt;}&lt;/P&gt;&lt;P&gt;function rbIsOpera()&lt;BR&gt;{&lt;BR&gt; if (navigator.appName == 'Opera') {&lt;BR&gt;  return true;&lt;BR&gt; }&lt;BR&gt; return false;&lt;BR&gt;}&lt;/P&gt;&lt;P&gt;function rbSupportsFixed()&lt;BR&gt;{&lt;BR&gt; if (navigator.appName == 'Microsoft Internet Explorer') {&lt;BR&gt;  var agent = navigator.userAgent;&lt;BR&gt;  var re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})");&lt;BR&gt;  var version;&lt;BR&gt;  if (re.exec(agent) != null) {&lt;BR&gt;   version = parseFloat(RegExp.$1);&lt;BR&gt;  }&lt;BR&gt;  if (version &amp;lt; 7.0) {&lt;BR&gt;   return false;&lt;BR&gt;  }&lt;BR&gt; }&lt;BR&gt; return true;&lt;BR&gt;}&lt;/P&gt;&lt;P&gt;var rbCenter = false;&lt;/P&gt;&lt;P&gt;function rbInit()&lt;BR&gt;{&lt;BR&gt; if (rbSupportsFixed()) {&lt;BR&gt;  div = &amp;#100;ocument.getElementById('rbBackgroundDiv');&lt;BR&gt;  div.style.position = 'fixed';&lt;BR&gt; } &lt;BR&gt; // I'd use onScroll, but that &lt;BR&gt; // doesn't exist in standards mode&lt;BR&gt; setTimeout("rbReposition()", 50);&lt;BR&gt; rbResize();&lt;BR&gt;}&lt;/P&gt;&lt;P&gt;var rbLastScrollTop = null;&lt;BR&gt;var rbSimulateTop = 0;&lt;BR&gt; &lt;BR&gt;function rbResize()&lt;BR&gt;{&lt;BR&gt; // We're in "standards mode," so we must use&lt;BR&gt; // &amp;#100;ocument.documentElement, not &amp;#100;ocument.body, in IE.&lt;BR&gt; var width;&lt;BR&gt; var height;&lt;BR&gt; var x, y, w, h;&lt;BR&gt; if (rbIsIE()) {&lt;BR&gt;  // All modern versions of IE, including 7, give the&lt;BR&gt;  // usable page dimensions here.&lt;BR&gt;  width = parseInt(&amp;#100;ocument.documentElement.clientWidth);  &lt;BR&gt;  height = parseInt(&amp;#100;ocument.documentElement.clientHeight);  &lt;BR&gt; } else if (rbIsOpera()) {&lt;BR&gt;  // This is slightly off: the width and height will include&lt;BR&gt;  // scrollbar space we can't really use. Compensate by&lt;BR&gt;  // subtracting 16 pixels of scrollbar space from the width&lt;BR&gt;  // (standard in Opera). Firefox has an equivalent but&lt;BR&gt;  // more serious problem because such a mistake in Firefox&lt;BR&gt;  // will break mouse clicks on the scrollbar in &lt;BR&gt;  // Mac Firefox (yes, really!). Fortunately, in Firefox,&lt;BR&gt;  // we can use a third method that gives accurate results&lt;BR&gt;  // (see below).&lt;BR&gt;  width = parseInt(&amp;#119;indow.innerWidth) - 16;&lt;BR&gt;  // If there is a horizontal scrollbar this will be&lt;BR&gt;  // 16 pixels off in Opera. I can live with that.&lt;BR&gt;  // You don't design layouts with&lt;BR&gt;  // horizontal scrollbars, do you? (Shudder)&lt;BR&gt;  height = parseInt(&amp;#119;indow.innerHeight);&lt;BR&gt; } else {&lt;BR&gt;  // Other non-IE browsers give the usable page dimensions here.&lt;BR&gt;  // We grab the info by discovering the visible dimensions &lt;BR&gt;  // of a hidden 100% x 100% div. Opera doesn't like this&lt;BR&gt;  // method any more than IE does. Fun!&lt;BR&gt;  testsize = &amp;#100;ocument.getElementById('rbTestSizeDiv');&lt;BR&gt;  width = testsize.scrollWidth;&lt;BR&gt;  height = testsize.scrollHeight;&lt;BR&gt; }&lt;BR&gt; div = &amp;#100;ocument.getElementById('rbBackgroundDiv');&lt;BR&gt; img = &amp;#100;ocument.getElementById('rbBackground');&lt;BR&gt; if (rbCenter) {&lt;BR&gt;  if (img.width == 0) {&lt;BR&gt;   // We don't know the width yet, the image&lt;BR&gt;   // hasn't loaded. Set a timer to try again.&lt;BR&gt;   setTimeout("rbResize()", 1000);&lt;BR&gt;   return;&lt;BR&gt;  }&lt;BR&gt;  w = width;&lt;BR&gt;  h = width * (img.height / img.width);&lt;BR&gt;  x = 0;&lt;BR&gt;  y = (height - h) / 2; &lt;BR&gt;  if (y &amp;lt; 0) {&lt;BR&gt;   h = height;&lt;BR&gt;   w = height * (img.width / img.height);&lt;BR&gt;   y = 0;&lt;BR&gt;   x = (width - w) / 2;&lt;BR&gt;  }&lt;BR&gt; } else {&lt;BR&gt;  x = 0;&lt;BR&gt;  y = 0;&lt;BR&gt;  w = width;&lt;BR&gt;  h = height;&lt;BR&gt; }&lt;BR&gt; // HTML 4.0 Strict makes the px suffix mandatory&lt;BR&gt; // We have floating point numbers, trim them and add px&lt;BR&gt; div.style.left = parseInt(x) + "px";&lt;BR&gt; if (rbSupportsFixed()) {&lt;BR&gt;   div.style.top = parseInt(y) + "px";&lt;BR&gt;        } else {&lt;BR&gt;          rbSimulateTop = parseInt(y);&lt;BR&gt;        }&lt;BR&gt; img.style.width = parseInt(w) + "px";&lt;BR&gt; img.style.height = parseInt(h) + "px";&lt;BR&gt; div.style.visibility = 'visible';&lt;BR&gt; rbLastScrollTop = null;&lt;BR&gt; rbReposition();&lt;BR&gt;}&lt;/P&gt;&lt;P&gt;function rbReposition()&lt;BR&gt;{&lt;BR&gt; if (rbSupportsFixed()) {&lt;BR&gt;  return;&lt;BR&gt; }&lt;BR&gt; // Make sure we do this again&lt;BR&gt; setTimeout("rbReposition()", 50);&lt;BR&gt; // Standards mode, must use documentElement&lt;BR&gt; body = &amp;#100;ocument.documentElement;&lt;BR&gt; var scrollTop = body.scrollTop;&lt;BR&gt; // No scroll since last check&lt;BR&gt; if (scrollTop == rbLastScrollTop) {&lt;BR&gt;  return;&lt;BR&gt; }&lt;BR&gt; rbLastScrollTop = scrollTop;&lt;BR&gt; div = &amp;#100;ocument.getElementById('rbBackgroundDiv');&lt;BR&gt; var rbBodyDiv = &amp;#100;ocument.getElementById('rbBodyDiv');&lt;BR&gt; var pos = 0;&lt;BR&gt; // Don't make the user scroll just to see the background itself&lt;BR&gt; var max = rbBodyDiv.offsetHeight - rbBodyDiv.clientHeight;&lt;BR&gt; if (max &amp;lt; 0) {&lt;BR&gt;  max = 0;&lt;BR&gt; }&lt;BR&gt; if (scrollTop &amp;lt;= max)&lt;BR&gt; {&lt;BR&gt;  pos = scrollTop;&lt;BR&gt; } else {&lt;BR&gt;  pos = max;&lt;BR&gt; }&lt;BR&gt; if (pos &amp;lt; 0) {&lt;BR&gt;  pos = 0;&lt;BR&gt; }&lt;BR&gt; div.style.top = pos + rbSimulateTop;&lt;BR&gt;}&lt;/P&gt;&lt;P&gt;function rbOpen(center)&lt;BR&gt;{&lt;BR&gt; rbCenter = center;&lt;BR&gt; &amp;#100;ocument.write("&amp;lt;div id='rbBodyDiv' style='position: relative; z-index: 2'&amp;gt;&lt;br&gt;");&lt;BR&gt;}&lt;/P&gt;&lt;P&gt;function rbClose(image)&lt;BR&gt;{&lt;BR&gt; &amp;#100;ocument.write("&amp;lt;/div&amp;gt;&lt;br&gt;");&lt;BR&gt; str = "&amp;lt;div " +&lt;BR&gt;  "id='rbBackgroundDiv' " +&lt;BR&gt;  "style='position: absolute; " +&lt;BR&gt;  "  visibility: hidden; " +&lt;BR&gt;  "  top: 0px; " +&lt;BR&gt;  "  left: 0px; " +&lt;BR&gt;  "  z-index: 0'&amp;gt;" +&lt;BR&gt;  "  &amp;lt;img src='" + image + "' id='rbBackground'&amp;gt;" +&lt;BR&gt;  "&amp;lt;/div&amp;gt;&lt;br&gt;";&lt;BR&gt; &amp;#100;ocument.write(str);&lt;BR&gt; &amp;#100;ocument.write("&amp;lt;div " +&lt;BR&gt;  "id='rbTestSizeDiv' " +&lt;BR&gt;  "style='width: 100%; " +&lt;BR&gt;  "  height: 100%; " +&lt;BR&gt;  "  position: fixed; " +&lt;BR&gt;  "  left: 0; " +&lt;BR&gt;  "  top: 0; " +&lt;BR&gt;  "  visibility: hidden; " +&lt;BR&gt;  "  z-index: -1'&amp;gt;&amp;lt;/div&amp;gt;&lt;br&gt;");&lt;BR&gt;}&lt;BR&gt;[/code]&lt;BR&gt;&lt;BR&gt;call it in header, and put this in my body (.aspx) desktop&lt;BR&gt;&lt;BR&gt;[code]&lt;BR&gt;&amp;lt;body &amp;#111;nload="rbInit()" &amp;#111;nresize="rbResize()"&amp;gt;&lt;BR&gt;&amp;lt;script type="text/javascript" &amp;gt;&lt;BR&gt;    rbOpen(true);&lt;BR&gt;&amp;lt;/script&amp;gt;&lt;BR&gt;&amp;lt;script type="text/javascript" &amp;gt;&lt;BR&gt;rbClose("images/wallpaper/empresa.jpg");&lt;BR&gt;&amp;lt;/script&amp;gt;&lt;BR&gt;[/code]&lt;BR&gt;&lt;BR&gt;work fine too...&lt;BR&gt;&lt;BR&gt;have this property in the &amp;lt;ext:desktop for make the background resizable??, i don´t use the member wallpaper of the desktop...&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;tks&lt;BR&gt;&lt;BR&gt;&lt;/P&gt;</description><pubDate>Tue, 27 Jan 2009 15:14:58 GMT</pubDate><dc:creator>reinaldo.designerdigital</dc:creator></item><item><title>"Real world" example</title><link>http://www.coolite.com/forums/Topic6796-21-1.aspx</link><description> Hi,&lt;div&gt;I really like this library but can't find any "real world" sample application (downloadable solution) which combines all these nice controls.&lt;/div&gt;&lt;div&gt;I would like to see something like a outlook like layout (viewport, accordion, tree) displaying data in a grid. Edit the data in a Window control (for CRUD actions).&lt;/div&gt;&lt;div&gt;Who has done this and likes to share it?&lt;/div&gt;&lt;div&gt;Thanks&lt;/div&gt;&lt;div&gt;Sander&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;</description><pubDate>Sun, 11 Jan 2009 03:52:54 GMT</pubDate><dc:creator>prost</dc:creator></item><item><title>Group by Drag and Drop</title><link>http://www.coolite.com/forums/Topic6407-21-1.aspx</link><description> Hi all,&lt;br&gt;&lt;br&gt;I added a D/D functionality, to group grid columns, to the already available "group by" menu grid option.&lt;br&gt;You can drag column in target panel to group by that column. After that, by clicking in the label you can also do sorting.&lt;br&gt;Drag label anywere to clear grouping.&lt;br&gt;&lt;br&gt;See zip in attachment.&lt;br&gt;&lt;br&gt;BUG!&lt;br&gt;&lt;br&gt; - In IE 7 the label in target panel renders wrongly, right in firefox. Can you suggest a solution? See image in attachment.&lt;br&gt;&lt;br&gt;Let me know about bugs or errors, thanx.&lt;br&gt;&lt;br&gt;Matteo&lt;br&gt;</description><pubDate>Sat, 03 Jan 2009 02:55:53 GMT</pubDate><dc:creator>methode</dc:creator></item><item><title>SQL Script for Controls and LINQ</title><link>http://www.coolite.com/forums/Topic5770-21-1.aspx</link><description>&lt;P&gt; All,&lt;/P&gt;&lt;P&gt;This is for SQL 2000 but it might work for later.&lt;/P&gt;&lt;P&gt;I wrote this to ease some of the repetitive tasks. This script will generate the basic defaults that I use and then I tweak to fit.&lt;/P&gt;&lt;P&gt;I build everything based on datatype, field length and some field naming conventions.&lt;/P&gt;&lt;P&gt;So far I have:&lt;BR&gt;-Anchors and appropriate controls.&lt;BR&gt;-LINQ "Bindings" for pull and save of data.&lt;BR&gt;-GridPanel, columns and conditional LINQ where clauses.&lt;/P&gt;&lt;P&gt;Here is an example of how to use the conditional LINQ where clause:&lt;BR&gt;[code]protected void IndSearchCondQuery(String vIndCUSTOMERCD, String vIndFIRSTNAME, String vIndLASTNAME, String vIndEMAIL, DateTime vIndJOINDATE)&lt;BR&gt;{&lt;BR&gt;    if (!String.IsNullOrEmpty(vIndCUSTOMERCD) || !String.IsNullOrEmpty(vIndFIRSTNAME) || !String.IsNullOrEmpty(vIndLASTNAME) || !String.IsNullOrEmpty(vIndEMAIL) || vIndJOINDATE.Year != 1)&lt;BR&gt;    {&lt;/P&gt;&lt;P&gt;        CV2DataContext db = new CV2DataContext();&lt;/P&gt;&lt;P&gt;        var query = from c in db.CUSTOMER2s&lt;BR&gt;                    where (String.IsNullOrEmpty(vIndCUSTOMERCD) || c.CUSTOMERCD.ToString().Equals(vIndCUSTOMERCD))&lt;BR&gt;                       &amp;amp;&amp;amp; (String.IsNullOrEmpty(vIndFIRSTNAME) || c.FIRSTNAME.Contains(vIndFIRSTNAME))&lt;BR&gt;                       &amp;amp;&amp;amp; (String.IsNullOrEmpty(vIndLASTNAME) || c.LASTNAME.Contains(vIndLASTNAME))&lt;BR&gt;                       &amp;amp;&amp;amp; (String.IsNullOrEmpty(vIndEMAIL) || c.EMAIL.Contains(vIndEMAIL))&lt;BR&gt;                       &amp;amp;&amp;amp; (vIndJOINDATE.Year == 1 || c.JOINDATE &amp;gt;= vIndJOINDATE)&lt;BR&gt;                    select new { c.CUSTOMERCD, c.FIRSTNAME, c.LASTNAME, c.ORGNAME, c.CITY, c.STATECD, c.PROVINCE, c.COUNTRY, c.EMAIL };&lt;/P&gt;&lt;P&gt;        this.IndSearchStore.DataSource = query;&lt;BR&gt;        this.IndSearchStore.DataBind();&lt;BR&gt;    }&lt;/P&gt;&lt;P&gt;}[/code]&lt;/P&gt;&lt;P&gt;I call this from an AjaxEvent button click fed by text fields:&lt;BR&gt;[code]&lt;BR&gt;protected void IndStoreBind(object sender, AjaxEventArgs e)&lt;BR&gt;    {&lt;BR&gt;        IndSearchCondQuery(this.tfCustCD.Text, this.tfIndFirst.Text, this.tfIndLast.Text, this.tfIndEmail.Text, , this.dfIndJoinDate.SelectedDate);&lt;BR&gt;    }&lt;BR&gt;[/code]&lt;/P&gt;&lt;P&gt;Feel free to modify and share.&lt;/P&gt;&lt;P&gt;&lt;BR&gt;Hope it helps someone!&lt;/P&gt;&lt;P&gt;&lt;BR&gt;Oops.. SQL attachment not accepted. Just remove the .txt.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;Oh yeah... do a find and replace on:&lt;BR&gt;[code]WHERE O.name = 'customer'[/code]&lt;BR&gt;to change the table name from 'customer' to whatever.&lt;BR&gt; &lt;BR&gt;and &lt;BR&gt;&lt;BR&gt;[code]'Ind' as [Abrv][/code] is the table abbreviation I prefix my search form controls with.&lt;BR&gt;&lt;BR&gt;&lt;/P&gt;</description><pubDate>Thu, 18 Dec 2008 09:03:43 GMT</pubDate><dc:creator>jlertle</dc:creator></item><item><title>more sample please!</title><link>http://www.coolite.com/forums/Topic3186-21-1.aspx</link><description> &lt;br&gt;&lt;br&gt;   I holp I can see more sample, especially how to create own control.&lt;br&gt;</description><pubDate>Thu, 23 Oct 2008 23:58:43 GMT</pubDate><dc:creator>bruce</dc:creator></item><item><title>[EXAMPLE] TableLayout in Markup and Code Behind</title><link>http://www.coolite.com/forums/Topic3037-21-1.aspx</link><description>&lt;div&gt;Two new TableLayout examples have been added to the explorer. Same Layout done in both markup and C#.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://examples.coolite.com/?/Layout/TableLayout/Simple_in_Markup/"&gt;http://examples.coolite.com/?/Layout/TableLayout/Simple_in_Markup/&lt;/a&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://examples.coolite.com/?/Layout/TableLayout/Simple_in_CodeBehind/"&gt;http://examples.coolite.com/?/Layout/TableLayout/Simple_in_CodeBehind/&lt;/a&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Hope this helps.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;</description><pubDate>Thu, 16 Oct 2008 10:21:37 GMT</pubDate><dc:creator>geoffrey.mcgill</dc:creator></item><item><title>[EXAMPLE] AjaxEvent Usage Summary</title><link>http://www.coolite.com/forums/Topic2674-21-1.aspx</link><description>&lt;P&gt;A new example has been added to the explorer which demonstrates adding AjaxEvents to various Controls and html elements. &lt;BR&gt;&lt;BR&gt;&lt;A href="http://examples.coolite.com/?/AjaxEvents/Basic/Summary/"&gt;http://examples.coolite.com/?/AjaxEvents/Basic/Summary/&lt;/A&gt;&lt;BR&gt;&lt;BR&gt;Personally I feel this is the most exciting feature of the whole Coolite Toolkit (or any ASP.NET webcontrol... Microsoft or 3rd party). The connection between the server and client is so easy to bridge now. &lt;BR&gt;&lt;BR&gt;Let me know what you think.&lt;BR&gt;&lt;BR&gt;Hope this help.&lt;BR&gt;&lt;/P&gt;</description><pubDate>Wed, 08 Oct 2008 04:56:46 GMT</pubDate><dc:creator>geoffrey.mcgill</dc:creator></item><item><title>[EXAMPLE] BorderLayout with image on Collapsed Region</title><link>http://www.coolite.com/forums/Topic2643-21-1.aspx</link><description>&lt;P&gt;A new example has been added to the explorer demonstrating how to add a custom image to a Collapsed BorderLayout Region, see &lt;A href="http://examples.coolite.com/?/Layout/BorderLayout/Collapsed_Region_Image"&gt;http://examples.coolite.com/?/Layout/BorderLayout/Collapsed_Region_Image&lt;/A&gt;&lt;BR&gt;&lt;BR&gt;Hope this helps.&lt;BR&gt;&lt;/P&gt;</description><pubDate>Tue, 07 Oct 2008 09:13:09 GMT</pubDate><dc:creator>geoffrey.mcgill</dc:creator></item><item><title>Center ext:window on window resizing</title><link>http://www.coolite.com/forums/Topic2384-21-1.aspx</link><description> Well a very (very) simple example, but maybe usefull also to you:&lt;br&gt;&lt;br&gt;[code]&lt;br&gt;&amp;lt;form id="form1" runat="server"&amp;gt;&lt;br&gt;    &amp;lt;ext:ScriptManager ID="ScriptManager1" Theme="Default" runat="server"&amp;gt;&lt;br&gt;        &amp;lt;Listeners&amp;gt;&lt;br&gt;            &amp;lt;WindowResize Handler=" {Window1}.getEl().center(Ext.getBody()); " /&amp;gt;&lt;br&gt;        &amp;lt;/Listeners&amp;gt;&lt;br&gt;    &amp;lt;/ext:ScriptManager&amp;gt;&lt;br&gt;    &amp;lt;ext:Window ID="Window1"  runat="server" Maximizable="true" Closable="false" Collapsible="true" Icon="Application" Title="Title"&amp;gt;&lt;br&gt;        &amp;lt;Content&amp;gt;&lt;br&gt;            &amp;lt;p&amp;gt;hello&amp;lt;/p&amp;gt;&lt;br&gt;        &amp;lt;/Content&amp;gt;&lt;br&gt;        &amp;lt;Listeners&amp;gt;&lt;br&gt;            &amp;lt;Maximize Handler="var view = Ext.getBody().getViewSize(); el.setSize(view.width, view.height); " /&amp;gt;&lt;br&gt;        &amp;lt;/Listeners&amp;gt;&lt;br&gt;        &amp;lt;/ext:Window&amp;gt;    &lt;br&gt;    &amp;lt;/form&amp;gt;&lt;br&gt;[/code]&lt;br&gt;&lt;br&gt;... something moves &lt;br&gt;&lt;br&gt;Matteo&lt;br&gt;</description><pubDate>Thu, 02 Oct 2008 03:02:15 GMT</pubDate><dc:creator>matteo</dc:creator></item></channel></rss>