Click here to Skip to main content
Sign Up to vote bad
good
See more: ASP.NET
Hi friends,
Today i have a new problem.
i have a comboBox and a tabPageControl of the dev express.
 
i have deliveryMethod in my combo box.
and in tabPageControl there are tabPageCollection added in tabPageControl by me.
 
at 0 index there is paymentMethod
at 1st index there is delivery Method
at 2nd index there is NoteToBeneficiary
 
the default selected tab open is paymentMethod
 
Now my problem is that when ever my client select a value from the ComboBox
my tabPageControl must select the 1st index tabPage.
 
i apply this code
tabPageControl.ActiveTabPage.Index = 1
on the select index change of my comboBox.
 
but it is not working
when my tabPage open it not show any control which is present in my that tabPage.
 
Plz give me a right way to solve this problem...
Posted 1 Oct '12 - 21:19
Edited 2 Oct '12 - 6:58

Comments
Sandeep Mewara - 2 Oct '12 - 3:26
Difficult to comment wihtout seeing a little snippet of implementation.
niranjan479 - 5 Oct '12 - 3:26
hai i understand ur problem ,try writing ur code like below... tabPageControl.ActiveTabPage.Index = 0;
prince_rumeel - 5 Oct '12 - 4:14
yes done thxxxxxxxxxxx

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Mohammed Hameed 268
1 OriginalGriff 236
2 Sergey Alexandrovich Kryukov 198
3 Mayur_Panchal 153
4 CPallini 100
0 Sergey Alexandrovich Kryukov 8,171
1 OriginalGriff 6,236
2 CPallini 3,482
3 Rohan Leuva 2,703
4 Maciej Los 2,234


Advertise | Privacy | Mobile
Web04 | 2.6.130516.1 | Last Updated 2 Oct 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid