Hi All,
Weird problem. Here's what's up:
Here is my specific function:
Here are some things I've tried:
When I step through the code, it goes right past the desired functions with no effect.
Thanks,
Jim
Weird problem. Here's what's up:
- I hide tabs client side via .set_visible(false).
- When I go to show tabs via .set_visible(true) -- after the .set_visible(false) -- they do not display.
Here is my specific function:
function v_JobRTS(positiontype) { var JobRTS = $find("<%=JobRTS.ClientID %>"); var moretab = JobRTS.get_tabs().getTab(1); var finishtab = JobRTS.get_tabs().getTab(2); if (positiontype == "0" || positiontype == "1") { //Here is the section that doesn't work. moretab.set_visible(true); finishtab.set_visible(true); } else if (positiontype == "2") { moretab.set_visible(false); finishtab.set_visible(true); } else { moretab.set_visible(false); finishtab.set_visible(false); }}Here are some things I've tried:
- Repainting the tab strip.
- Finding the tabs themselves using different methods outlined in the documentation.
- Stepping through the code carefully.
When I step through the code, it goes right past the desired functions with no effect.
Thanks,
Jim