Click here to Skip to main content
15,893,594 members
Home / Discussions / C#
   

C#

 
QuestionDateTimePicker and Regional Setting Pin
AesopTurtle11-Oct-05 4:24
AesopTurtle11-Oct-05 4:24 
AnswerRe: DateTimePicker and Regional Setting Pin
XRaheemX11-Oct-05 4:53
XRaheemX11-Oct-05 4:53 
GeneralRe: DateTimePicker and Regional Setting Pin
AesopTurtle11-Oct-05 15:28
AesopTurtle11-Oct-05 15:28 
GeneralRe: DateTimePicker and Regional Setting Pin
XRaheemX12-Oct-05 3:12
XRaheemX12-Oct-05 3:12 
QuestionHow to scroll an image? Pin
E6AD11-Oct-05 4:12
E6AD11-Oct-05 4:12 
AnswerRe: How to scroll an image? Pin
ediazc11-Oct-05 4:28
ediazc11-Oct-05 4:28 
QuestionDisaplying different panels from options in a dropdown list Pin
AdamskiR11-Oct-05 4:04
AdamskiR11-Oct-05 4:04 
AnswerRe: Disaplying different panels from options in a dropdown list Pin
XRaheemX11-Oct-05 4:51
XRaheemX11-Oct-05 4:51 
If you're trying to make a static form that doesn't change then what you're doing is easy as pie:

Create your form with all of the drop downs in their own seperate "Panel" controls. (Use a Table for the proper line ups of drop downs). Then simply change the Visible property of all of the drop downs to false (except for the original one). Now make sure the "AutoPostBack" is set to true on the first dropdownlist. Then in the "OnSelectionChanged" (or something like that) event, simple check the value of the new dropdownlist selected item and make the corresponding panel control visible according to the selection.

Now if you're using BOUND data, this is all a different story that I'm not going to type up unless this is the case Laugh | :laugh:
GeneralRe: Disaplying different panels from options in a dropdown list Pin
AdamskiR11-Oct-05 5:07
AdamskiR11-Oct-05 5:07 
GeneralRe: Disaplying different panels from options in a dropdown list Pin
XRaheemX11-Oct-05 5:21
XRaheemX11-Oct-05 5:21 
GeneralRe: Disaplying different panels from options in a dropdown list Pin
AdamskiR11-Oct-05 5:32
AdamskiR11-Oct-05 5:32 
GeneralRe: Disaplying different panels from options in a dropdown list Pin
XRaheemX11-Oct-05 5:37
XRaheemX11-Oct-05 5:37 
GeneralRe: Disaplying different panels from options in a dropdown list Pin
XRaheemX11-Oct-05 5:38
XRaheemX11-Oct-05 5:38 
GeneralRe: Disaplying different panels from options in a dropdown list Pin
AdamskiR11-Oct-05 6:03
AdamskiR11-Oct-05 6:03 
GeneralRe: Disaplying different panels from options in a dropdown list Pin
XRaheemX11-Oct-05 7:08
XRaheemX11-Oct-05 7:08 
GeneralRe: Disaplying different panels from options in a dropdown list Pin
XRaheemX11-Oct-05 7:37
XRaheemX11-Oct-05 7:37 
GeneralRe: Disaplying different panels from options in a dropdown list Pin
AdamskiR11-Oct-05 22:55
AdamskiR11-Oct-05 22:55 
GeneralRe: Disaplying different panels from options in a dropdown list Pin
XRaheemX12-Oct-05 3:52
XRaheemX12-Oct-05 3:52 
QuestionButton Event Handler Pin
Brendan Vogt11-Oct-05 3:27
Brendan Vogt11-Oct-05 3:27 
AnswerRe: Button Event Handler Pin
XRaheemX11-Oct-05 3:40
XRaheemX11-Oct-05 3:40 
GeneralRe: Button Event Handler Pin
Brendan Vogt11-Oct-05 4:34
Brendan Vogt11-Oct-05 4:34 
GeneralRe: Button Event Handler Pin
XRaheemX11-Oct-05 4:47
XRaheemX11-Oct-05 4:47 
QuestionWait in loop Pin
mrnoname11-Oct-05 3:16
mrnoname11-Oct-05 3:16 
AnswerRe: Wait in loop Pin
XRaheemX11-Oct-05 3:29
XRaheemX11-Oct-05 3:29 
GeneralRe: Wait in loop Pin
S. Senthil Kumar11-Oct-05 4:20
S. Senthil Kumar11-Oct-05 4:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.