|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
TreeView web control not displayingHi,
I have developed a ASP.NET application that uses the treeview web control. The application works fine on most machines but on a random few the control fails to display at all. All I get is an empty frame. I have checked all the browser settings and they are exactly the same. Does anyone know what could be causing this? Hi Hass,
Welcome to the ASP.NET newsgroup. From your description, I understand you're using the ASP.NET 2.0 TreeView control in your web application. The web pages contain the TreeView control work well on some client machines but not display on some other ones(display empty content), correct? Based on my experience, such problem is usually caused by the client machine's browser setting. For ASP.NET 2.0 webcontrols, most of them will render their html content (and scripts) according to the client-side browser capability and the capability is determined by the http "useragent" header by default. Therefore, I suggest you test through the following steps: 1. Visit the page(using the TreeView control) from both machines(correct and problem one) and use some trace tool or use the client browser's "view source" function to capture the page's html content. Compare them to see whether the rendered html content is the same with both machines. If the content does differ from each other, that means the server-side page did send different content to the different clients. 2. In addition to compare the html content, you can use some http trace tools (like tcp trace, proxy trace...) to capture the whole http message from both client machines and check the "useragent" http header sent by them. If the "useragent" headers are different, we can confirm it is the client-side browser cause the problem. If you have any other finding, please feel free to post here also. Regards, Steven Cheng Microsoft Online Support Get Secure! www.microsoft.com/security (This posting is provided "AS IS", with no warranties, and confers no rights.)
C#/ASP.NET 2.0 - Convert HTML Table to DataGrid/Source
How to set property "ReadOnly" on all TextBoxes on a WebForm Composite Server Control and DefaultValue Attribute The case of the crazy reseting dropdowns :-( Please help! Looking for a book on writing ASP.NET Controls with VB.NET Type.GetType() Row count for query through SqlDataSource and GridView using ASPNET objects in custom webcontrol general request about links Indent Items in ASP:ListBox? |
|||||||||||||||||||||||