[RESOLVED]TreeView expand is not working in windows Azure

Hi,

TreeView in application is working fine in normal web deployment application, the same code I have deployed in Window Azure, now in one of the area have Treeview is not expanding the same code is working fine in normal web deployment application.

can any one please help in this issue?

Thanks

getting any error

Hi,

If Treeview is dependent on DataSource, make sure that Datasource is able to fetch data in Azure.

Hi DivakarGanta,

Thank you post the issue to asp.net forum.

As
raju dasa
 mentioned, TreeView control will bind datasource. We should make sure the datasource is available in the azure

environment.

Besides, you can debug the cloud service in visual studio:

http://msdn.microsoft.com/en-us/library/azure/ee405479.aspx

If you are using the azure website, you can run in debug mode locally in IIS Express or remotely in an Azure Website.

http://azure.microsoft.com/en-us/documentation/articles/web-sites-dotnet-troubleshoot-visual-studio/

Get the reason which caused your issue will help you solve it. Thanks.

Best Regards!

Hi,

Thanks for the reply, I debug the code and data is binding and visible. 

the same code is working fine in normal other deployments, but not in Azure.

-Divakar.

here is my code:

<asp:TreeView ID="tvSkills" style="overflow:auto " EnableViewState="true" Height="300" Width="100%"
Target="_self" SelectedNodeStyle-ForeColor="navy" ExpandImageToolTip="" ExpandDepth="0"
ShowExpandCollapse="true" runat="server" CollapseImageToolTip="" PopulateNodesFromClient="true"
EnableClientScript="true" ShowLines="true" SelectedNodeStyle-Font-Bold="true" ForeColor=black

NodeWrap="true" OnTreeNodePopulate="tvSkills_TreeNodePopulate" >
</asp:TreeView>

C#:

protected void tvSkills_TreeNodePopulate(object sender, TreeNodeEventArgs e)
{
e.Node.ChildNodes.Clear();
PopulateChildSkills(Convert.ToInt32(e.Node.Value), e.Node);
}

Leave a Reply