Saturday, March 24, 2012

Tabstrip OnSelectedIndexChanged

Hi,

I've spent a few hours on tabstrip, and I still don't understand why the tabstrip doesn't trigger the function when I change the tab. Can you help me please
Here's my codes;

Sub Do_Something(sender As Object, e As EventArgs)
...
End Sub

<IE:TABSTRIP id="tab2_2" runat="server" OnSelectedIndexChanged="Do_Something"
And nothing happens when I change the tab, though I implement a lot of actions in the function "Get_Something"
Please help. ThanksAutoPostBack=true?
ya, I forgot to set AutoPostBack="true".

It works great if I use it without the PageView.
But if I use OnSelectedIndexChange and ViewPage at same time, then the function linking to OnSelectedIndexChange is not called at all.

Ex: Now, I add a view page to it.
<IE:TABSTRIP id="tab2_2" runat="server" OnSelectedIndexChanged="Do_Something" targetID="view1"
Then the function "do_something" is not called at all, though it correctly displays the view1

So, anyone has an idea to fix that ? So the function is called when we change the tab.
Thank you

0 comments:

Post a Comment