TabStrip webcontrol event not firing.

O

Opa

Hi,

I'm using the TabStrip webcontrol and am trying to navigate to a different
page
based on the tab index that was selected. My problem is that the selected
index
change does not fire.

I have the following code behind:

private void TabStrip1_SelectedIndexChange(object sender, System.EventArgs e)
{
switch (TabStrip1.SelectedIndex)
{
case 0:
// navigate to page here
break;
case 1:
// navigate to page here
break;

}
}

Any ideas?

Thanks,

Opa
 
O

Opa

Yes.

I figured out the problem by setting the AutoPostBack property to true.
Once the property was set, I was able to get the events.

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top