Hello,
i have an IEWEbControls.TabStrip in a UserControl. On my Default.aspx Page i have a Menu and a PlaceHolder...on select a Menu-Item the UserControl will be Load in the PlaceHolder.
In this case the TabStrip dont render correct. It renders like this:
<TabStrip
id="ctl14_tsVorsorge"
style="DISPLAY: inline-block; FONT-SIZE: 1em; WIDTH: 100%"
onwcready="JScript:try{document.form1.__ctl14_tsVorsorge_State__.value=selectedIndex}catch(e){}"
onSelectedIndexChange="JScript:document.form1.__ctl14_tsVorsorge_State__.value=event.index;if (getAttribute('_submitting') != 'true'){setAttribute('_submitting','true');try{__doPostBack('ctl14$tsVorsorge','');}catch(e){setAttribute('_submitting','false');}}"
tabSelectedStyle="background-color:#D6DDEE;color:#000000;"
tabHoverStyle="background-color:#D9D2CF;color:#000000;"
tabDefaultStyle="background-color:#396ead;font-family:verdana;border-style:solid;border-width:1px;border-color:black;font-weight:bold;color:#ffffff;text-align:center;"
selectedIndex="0">
</TabStrip>
Then i have placed the TabStrip direct to the Default.aspx Page to see what it renders to work correct, and it renders the following code to work:
<
input type="hidden" name="__TabStrip1_State__" id="__TabStrip1_State__" value="0" />
<?XML:NAMESPACE PREFIX="TSNS" /><?IMPORT NAMESPACE="TSNS" IMPLEMENTATION="/webctrl_client/1_0/tabstrip.htc" />
<TSNS:TabStrip
id="_ctl4_tsVorsorge"
selectedIndex="0"
tabDefaultStyle="background-color:#396ead;font-family:verdana;border-style:solid;border-width:1px;border-color:black;font-weight:bold;color:#ffffff;text-align:center;"
tabHoverStyle="background-color:#D9D2CF;color:#000000;"
tabSelectedStyle="background-color:#D6DDEE;color:#000000;"
onSelectedIndexChange="JScript:document.frmIndex.___ctl4_tsVorsorge_State__.value=event.index;if (getAttribute('_submitting') != 'true'){setAttribute('_submitting','true');try{__doPostBack('_ctl4$tsVorsorge','');}catch(e){setAttribute('_submitting','false');}}"
onwcready="JScript:try{document.frmIndex.___ctl4_tsVorsorge_State__.value=selectedIndex}catch(e){}"
style="font-size:8pt;height:18px;width:100%;">
<TSNS:Tab>Partner zur Vorsorge</TSNS:Tab>
<TSNS:Tab>Vorsorgedaten</TSNS:Tab>
</TSNS:TabStrip>