View Full Version : [CLOSED] Window + GridPanel

Nov 14, 2008, 10:43 AM
<Coolite:Window ID="wUploadFile" runat="server" Height="500px" Width="500px" Resizable="false" BodyStyle="padding: 6px; background-color: #fff;" Collapsible="false" Modal="true" Show&#111;nload="false" Center&#111;nload="true" Icon="Exclamation">
<Coolite:FitLayout runat="server">
<Coolite:GridPanel ID="pnlUploadFile" StoreID="dtaUploadFile" StripeRows="true" Collapsible="true" runat="server">
<ColumnModel runat="server">
<Coolite:Column Header="File Name" DataIndex="FileName" Sortable="true">
<Coolite:Column Header="File Type" DataIndex="FileType" Sortable="true">
<Coolite:Column Header="File Path" DataIndex="FilePath" Sortable="true">
<Coolite:CheckboxSelectionModel ID="chkFiles" runat="server" />

<Coolite:Store ID="dtaUploadFile" runat="server">
<Coolite:RecordField Name="FileName" Type="Auto" />
<Coolite:RecordField Name="FileType" Type="Auto" />
<Coolite:RecordField Name="FilePath" Type="Auto" />

I get a javascript error can anyone help me

Thank You.

Nov 14, 2008, 10:47 AM
Can you move the <ext:Store> above the <ext:Window> control and then re-run your test. The Store must be rendered to the Page before the Control using the Store (ie. GridPanel).

Hope this helps.

Nov 14, 2008, 10:55 AM
Thanks allot Geoffrey that solved the error