Click here to Skip to main content
15,895,142 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
VB
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
Updated 2-Oct-12 6:58am
v2
Comments
Sandeep Mewara 2-Oct-12 3:26am    
Difficult to comment wihtout seeing a little snippet of implementation.
niranjan479 5-Oct-12 3:26am    
hai i understand ur problem ,try writing ur code like below...
tabPageControl.ActiveTabPage.Index = 0;
prince_rumeel 5-Oct-12 4:14am    
yes done thxxxxxxxxxxx

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900