Sep 23, 2014, 8:55 AM
Asp.net Treeview OnSelectedNodeChanged not firing second time click only first time
hi
i am using asp.net tree view inside ext:window and using update panel and ajax toolkit scriptmanager
my problem is treeview OnSelectedNodeChanged is firing on at first time click in the node if click in second time it is not firing in any node. still selection
in the same node which clicked at first time but the interesting thing is that it is working perfectly in localhost but in hosting (godaddy) it is not
worrking
int his picture (attached down ) i can click only reserve account cannot click any node other than this .when i click selection not going and event not firing
Thanks
Eldhose
i am using asp.net tree view inside ext:window and using update panel and ajax toolkit scriptmanager
my problem is treeview OnSelectedNodeChanged is firing on at first time click in the node if click in second time it is not firing in any node. still selection
in the same node which clicked at first time but the interesting thing is that it is working perfectly in localhost but in hosting (godaddy) it is not
worrking
int his picture (attached down ) i can click only reserve account cannot click any node other than this .when i click selection not going and event not firing
<form id="form1" runat="server">
<ext:ResourceManager ID="ResourceManager1" runat="server" />
<ext:Window
ID="formWindow"
runat="server"
Height="500"
Title="Customer Master"
ShowOnLoad="true"
CenterOnLoad="true"
Resizable="true"
Closable="false"
MinWidth="800"
Width="800"
Layout="Fit"
Padding="6"
Maximized="true">
<Items> <ext:Label ID="Label1" runat="server" Text=""></ext:Label></Items>
<Content>
<ajaxToolkit:ToolkitScriptManager runat="server" ID="scriptmgm1">
<Scripts>
<%--To learn more about bundling scripts in ScriptManager see http://go.microsoft.com/fwlink/?LinkID=272931&clcid=0x409 --%>
<%--Framework Scripts https://drive.google.com/file/d/0B_DF_xo_JZl6RDVoNDlraU1XSTQ/edit?usp=sharing https://drive.google.com/file/d/0B_DF_xo_JZl6VTVaN0xmMExOVnc/edit?usp=sharing--%>
<asp:ScriptReference Name="jquery" />
<asp:ScriptReference Name="jquery.ui.combined" />
<asp:ScriptReference Name="WebForms.js" Path="~/Scripts/WebForms/WebForms.js" />
<asp:ScriptReference Name="WebUIValidation.js" Path="~/Scripts/WebForms/WebUIValidation.js" />
<asp:ScriptReference Name="MenuStandards.js" Path="~/Scripts/WebForms/MenuStandards.js" />
<asp:ScriptReference Name="GridView.js" Path="~/Scripts/WebForms/GridView.js" />
<asp:ScriptReference Name="DetailsView.js" Path="~/Scripts/WebForms/DetailsView.js" />
<asp:ScriptReference Name="TreeView.js" Path="~/Scripts/WebForms/TreeView.js" />
<asp:ScriptReference Name="WebParts.js" Path="~/Scripts/WebForms/WebParts.js" />
<asp:ScriptReference Name="Focus.js" Path="~/Scripts/WebForms/Focus.js" />
<asp:ScriptReference Name="WebFormsBundle" />
<%--Site Scripts--%>
</Scripts>
</ajaxToolkit:ToolkitScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:TreeView ID="trvChartOfAccounts" runat="server" BackColor="White" Height="450px" Width="100%" ShowLines="True" CssClass="trvChartOfAccounts" OnSelectedNodeChanged="trvChartOfAccounts_OnSelectedNodeChanged">
</asp:TreeView>
</ContentTemplate>
</asp:UpdatePanel>
</Content>
</ext:Window>
</form>
What may be the Problem?..Thanks
Eldhose
Last edited by eldhose; Sep 24, 2014 at 7:52 AM.