troubleshooting Question

TabStrip!?

Avatar of WernerVonBraun
WernerVonBraunFlag for Ireland asked on
ASP.NET
14 Comments1 Solution2847 ViewsLast Modified:
Not sure whether I should be asking this here or in the JavaScript topic..... But seein' as it's ASP.NET generating the control I'll start off with asking the question here, even though what I'm interested in is what I can do client-side....

I've designed an aspx page with a Tab Strip on it. The problem is that unlike some of the simpler controls like text boxes and buttons and the likes, this Tab Strip is rendered something like this:

<?XML:NAMESPACE PREFIX="TSNS" /><?IMPORT NAMESPACE="TSNS" IMPLEMENTATION="/webctrl_client/1_0/tabstrip.htc" />
<TSNS:TabStrip id="tbDocInfo" tabindex="2" class="DataEntry" onClick="tbDocInfo_Click();" selectedIndex="0" tabDefaultStyle="cursor:default;font-family:Verdana;font-size:11px;color:black;background-color:#a29f96;text-align:center;border-bottom:thin inset silver white;" tabHoverStyle="background-color:#777777;" tabSelectedStyle="cursor:default;font-family:Verdana;font-size:10px;color:black;background-color:buttonface;;border-left:1px outset;border-top:1px outset;border-right:thin outset darkgray white;text-align:center;border-bottom:none;font-weight:bold;" onSelectedIndexChange="JScript:document.AssessmentList.__tbDocInfo_State__.value=event.index" onwcready="JScript:try{document.AssessmentList.__tbDocInfo_State__.value=selectedIndex}catch(e){}" style="height:24px;width:632px;Z-INDEX: 112; LEFT: 8px; POSITION: absolute; TOP: 64px">

      <TSNS:Tab ID="DocInfoTab" defaultStyle="width:35%;">Document Information</TSNS:Tab>
      <TSNS:Tab ID="CaseStageTab" defaultStyle="width:35%;">Case Stages</TSNS:Tab>
      <TSNS:Tab ID="ReportTab" defaultStyle="width:30%;">Report</TSNS:Tab>

</TSNS:TabStrip>


All very well and good, but as a result you can't for example go and get document.all.tbDocInfo and then look at its child nodes in order to do something to one of the tabs - just to name one thing one might like to do client-side.

Is there any way around this. My suspicion is that maybe I could achieve more if I were to use the Namespace correctly? But I'm not sure how.....

Thanks for your help

Pino
ASKER CERTIFIED SOLUTION
CetusMOD

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 14 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 14 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros