Having done that I started to open pages to ensure the switch was valid and lo and behold every single one of my fieldsets legends no longer display on the page.
The answer is actually that the new .45 asp website template adds a <webopt reference> which points to a css file called site.css which is in the content folder and somehow the setting in that css file fieldset {display:none;} is overiding the fieldset attributes
in my site.css file in my Styles folder which is the main css file for the site. Removing that made all the legends reappear.
Marked as answer by mbanavige on Jan 08, 2013 11:39 PM
dinotom
Member
24 Points
69 Posts
legends on fieldsets disappear when switching from Scriptmanager to Ajax:ToolkitScriptmanager
Jan 06, 2013 05:30 PM|LINK
I made the switch to ajax:toolkitscriptmanager noted in the post's title based on this article
http://stephenwalther.com/archive/2012/09/20/september-2012-release-of-the-ajax-control-toolkit.aspx#respond
Having done that I started to open pages to ensure the switch was valid and lo and behold every single one of my fieldsets legends no longer display on the page.
Can someone explain this?
Pengzhen Son...
Star
8660 Points
888 Posts
Microsoft
Re: legends on fieldsets disappear when switching from Scriptmanager to Ajax:ToolkitScriptmanager
Jan 08, 2013 06:16 AM|LINK
Hi,
I add the "style" attribute to "fieldset" and "legend", the legend shows. You can try doing it. For example:
<FIELDSET style="display:block;">
<LEGEND id="testLegend" style="display:block; visibility:visible;"><b>Step One: Personal Information</b></LEGEND>
Name:<INPUT TYPE="text" SIZE="20" id="text" onclick="testlend()";>
Email:<INPUT TYPE="text" SIZE="20">
</FIELDSET>
Hope it can hep you.
Feedback to us
Develop and promote your apps in Windows Store
dinotom
Member
24 Points
69 Posts
Re: legends on fieldsets disappear when switching from Scriptmanager to Ajax:ToolkitScriptmanager
Jan 08, 2013 10:40 PM|LINK
The answer is actually that the new .45 asp website template adds a <webopt reference> which points to a css file called site.css which is in the content folder and somehow the setting in that css file fieldset {display:none;} is overiding the fieldset attributes in my site.css file in my Styles folder which is the main css file for the site. Removing that made all the legends reappear.