Mar 18, 2012, 5:58 PM
call .ascx
Hi,
I have the problem with call file .ascx with visibiliti not work
how can I do ? Thanks
File Index.aspx
I have the problem with call file .ascx with visibiliti not work
how can I do ? Thanks
File Index.aspx
<body>
<form id="Form1" runat="server">
<ext:ResourceManager runat="server" />
<ext:Panel
ID="DashBoardPanel"
runat="server"
Cls="items-view"
Layout="fit"
AutoHeight="true"
Width="800"
Border="false">
<Items>
<ext:DataView
ID="Dashboard"
runat="server"
StoreID="Store1"
SingleSelect="true"
OverClass="x-view-over"
ItemSelector="div.item-wrap"
AutoHeight="true"
EmptyText="No items to display">
<DirectEvents>
<SelectionChange OnEvent="buttonOpenWind">
</SelectionChange>
</DirectEvents>
</ext:DataView>
</Items>
</ext:Panel>
<uc4:WindowEditor ID="Customers" runat="server" Visible ="false"/>
</form>
</body>
File Index.cs[DirectMethod]
protected void buttonOpenWind(object sender, DirectEventArgs e)
{
Customers.Visible = true;
}
Last edited by Daniil; Mar 19, 2012 at 7:17 AM.
Reason: Please use [CODE] tags