Jul 25, 2012, 7:31 AM
Render dynamic module in Desktop
Hi! I got some problem when playing around with the Desktop function of example source code.
I have modified the file Example\Desktop\Introduction\Overview\modules\TabW indow.ascx as below and expected the window with show with title "Testing Window" when I open the window. However, it still displayed as "Tab Window" when I run it. Also, I have placed a break point in Page_Load function but it never stop there when I run it.
Please advice what can I do to achieve that. Thanks!
I have modified the file Example\Desktop\Introduction\Overview\modules\TabW indow.ascx as below and expected the window with show with title "Testing Window" when I open the window. However, it still displayed as "Tab Window" when I run it. Also, I have placed a break point in Page_Load function but it never stop there when I run it.
Please advice what can I do to achieve that. Thanks!
<%@ Control Language="C#" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<script runat="server">
protected void Page_Load(object sender, EventArgs e)
{
this.winTest.Title = "Testing Window";
}
</script>
<ext:DesktopModuleProxy runat="server">
<Module ModuleID="tab-win">
<Shortcut Name="Tab Window" />
<Launcher Text="Tab Window" Icon="Tab" />
<Window>
<ext:Window runat="server" ID="winTest"
Icon="Tab"
Width="740"
Height="480"
AnimCollapse="false"
ConstrainHeader="true"
Border="false"
Layout="Fit"
Title="Tab Window">
<Items>
<ext:TabPanel runat="server" ActiveTabIndex="0" BodyStyle="padding:5px;">
<Items>
<ext:Panel runat="server" Title="Tab Text 1" Border="false" Html="<p>Something useful would be in here.</p>">
</ext:Panel>
<ext:Panel runat="server" Title="Tab Text 2" Border="false" Html="<p>Something useful would be in here.</p>">
</ext:Panel>
<ext:Panel runat="server" Title="Tab Text 3" Border="false" Html="<p>Something useful would be in here.</p>">
</ext:Panel>
<ext:Panel runat="server" Title="Tab Text 4" Border="false" Html="<p>Something useful would be in here.</p>">
</ext:Panel>
</Items>
</ext:TabPanel>
</Items>
</ext:Window>
</Window>
</Module>
</ext:DesktopModuleProxy>