How to change the Tab selected in Code

Hi Friends
I am using The Syncfusion TabStrip Control Containg 3 Items (tab pages)
in first Page Containg one button (go to Next Tab). if i click that button , tab selected is changing to next button .please help me . how to Write the code.

i write like it is not working
Tab1.Selected=false;
Tab2.selected=True;
by using above the tab selection is happned but MultiPage is not changed it showing the tab1 multipage. plz help me . thannks in advance.
Regards
Venkat.




1 Reply

MW Melba Winshia Syncfusion Team October 15, 2008 12:51 PM UTC

Hi Venkat,

Thank you for your interest in Syncfusion Products.

I am able to reproduce this issue. This issue is suspected to be a defect and we have sent this to our development team for more analysis. We will update you on this issue on or before 17th October 2008.

But as a workaround you can use below code to solve this issue:

[C#]

this.TabStrip1.Items[1].Selected = true;
this.TabStrip1.Items[0].Selected = false;
this.MultiPage1.GoNext();

Please refer the sample in the below link which illustrates the above:

http://websamples.syncfusion.com/samples/Tools.Web/6.4.0.3/F77081/main.htm

Please try this and let me know if this helps.

Thanks,
Melba


Loader.
Up arrow icon