Click here to Skip to main content
13,191,400 members (80,015 online)
Rate this:
Please Sign up or sign in to vote.
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
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:19pm
Updated 2-Oct-12 6:58am
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.171017.1 | Last Updated 2 Oct 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100