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

Forum statistics

Threads
473,990
Messages
2,570,211
Members
46,796
Latest member
SteveBreed

Latest Threads

Top