Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
95
xhtmlconformancemode issues with tab control IDs (7.1, .NET2 SP1)
posted

We're having nasty issues with UltraWebTab 7.1 with control IDs contained within a tab.

Firstly I can't actually set each tab to have its own ID so I have to rely on the auto-generated IDs.

Secondly these autogenerated tab IDs get rendered differently depending on certain combinations of .NET 2.0 SP1 and xhtmlconformancemode='legacy' in the apps web.config. With 'legacy' mode the tab subcontrol IDs get rendered like

tsTabs$_ctl0$Label1

when the xhtmlconformancemode setting is removed then they get rendered as :'s instead of $'s for the tab id section

tsTabs:_ctl0:Label1

Reading the control ID in code-behind will give the $ version, so we have to set xhtmlconformancemode='legacy' which causes lots of unwanted sideeffects. Is there a fix for this issue?

This only seems to happen for UltraWebTab and no other controls (they always render IDs with $)

 

*BUMP*