Last post Feb 21, 2012 10:30 PM by magicalclick
Feb 21, 2012 09:30 PM|magicalclick|LINK
I am not sure what's going on, but, the HTML code generated on my PC and published on host are different. On my PC, it generates <div class="menu">. But, from the host, it generates <table class="menu">. I have double checked my ASP .NET versions, both are
4.0 and they are both set in 4.0 in web.config as well. What is going on?
I fixed this using RenderingMode="List"
But, how do I set the default to List? Or how to I do a One-To-One mapping of defaults to my host? I don't know what was set default on my own PC and I want to set the same defaults to my hosts.
Feb 21, 2012 09:37 PM|Careed|LINK
What browsers are you using? This can be due to the differences associated with the browser as the HTML rendered by your application will reflect the browser in use,
Feb 21, 2012 09:40 PM|magicalclick|LINK
Hi, I figured out it is RenderingMode, but, I don't know how to change the default values. So far, I set it manually in my master pages. Would be better to update the default RenderingMode instead. If you know how, please let me know, thank you.
Feb 21, 2012 10:03 PM|markfitzme|LINK
The defaults cannot be changed really. If you are using themes though you can define certain default settings for controls in a skin file.
Feb 21, 2012 10:30 PM|magicalclick|LINK
That's kinda odd, oh well. That's good to know. Thank you.