How to get the treeview to work with SSL

C

Chad

I've seen a number of posts asking how to get the treeview to work
with SSL. One solution is to always force the treeview to be rendered
as "downlevel" instead of "uplevel" for most up-to-date web browers.
To do this, you need to download the source code for the web controls
and add a condition to the RenderPath property for the BaseRichControl
class. Add the " && !this.GetType().Name.Equals("TreeView")"
condition to the second if statement (the one that returns
RenderPathID.UpLevelPath;) to force the TreeView to always be render
as downlevel.

Now compile the code and point your web project to your new dll
instead of the one from microsoft. Note, you may also want to tweak
the code that is generated for the tree (such as setting nowrap on the
tds).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,085
Messages
2,570,597
Members
47,218
Latest member
GracieDebo

Latest Threads

Top