Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
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:19pm
Edited 2-Oct-12 6:58am
(no name)902.7K
v2
Comments
Sandeep Mewara at 2-Oct-12 3:26am
   
Difficult to comment wihtout seeing a little snippet of implementation.
niranjan479 at 5-Oct-12 3:26am
   
hai i understand ur problem ,try writing ur code like below...
tabPageControl.ActiveTabPage.Index = 0;
prince_rumeel at 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
0 OriginalGriff 420
1 CHill60 410
2 Sergey Alexandrovich Kryukov 384
3 PIEBALDconsult 245
4 BillWoodruff 243


Advertise | Privacy | Mobile
Web03 | 2.8.141015.1 | Last Updated 2 Oct 2012
Copyright © CodeProject, 1999-2014
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