Last post Feb 22, 2012 03:30 AM by magicalclick
Feb 22, 2012 02:30 AM|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 22, 2012 02:37 AM|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 22, 2012 02:40 AM|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 22, 2012 03:03 AM|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 22, 2012 03:30 AM|magicalclick|LINK
That's kinda odd, oh well. That's good to know. Thank you.