Click here to Skip to main content
15,892,737 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow could I populate a dropdown box in formview if form view is placed inside a wizard? Pin
JUNEYT5-Oct-08 8:32
JUNEYT5-Oct-08 8:32 
AnswerRe: How could I populate a dropdown box in formview if form view is placed inside a wizard? [modified] Pin
AlexeiXX35-Oct-08 9:13
AlexeiXX35-Oct-08 9:13 
GeneralRe: How could I populate a dropdown box in formview if form view is placed inside a wizard? Pin
JUNEYT5-Oct-08 12:09
JUNEYT5-Oct-08 12:09 
GeneralRe: How could I populate a dropdown box in formview if form view is placed inside a wizard? Pin
AlexeiXX35-Oct-08 18:55
AlexeiXX35-Oct-08 18:55 
GeneralRe: How could I populate a dropdown box in formview if form view is placed inside a wizard? Pin
JUNEYT5-Oct-08 23:20
JUNEYT5-Oct-08 23:20 
GeneralRe: How could I populate a dropdown box in formview if form view is placed inside a wizard? Pin
AlexeiXX36-Oct-08 4:52
AlexeiXX36-Oct-08 4:52 
GeneralRe: How could I populate a dropdown box in formview if form view is placed inside a wizard? Pin
JUNEYT6-Oct-08 5:25
JUNEYT6-Oct-08 5:25 
GeneralRe: How could I populate a dropdown box in formview if form view is placed inside a wizard? Pin
AlexeiXX36-Oct-08 8:41
AlexeiXX36-Oct-08 8:41 
JUNEYT wrote:
but if I do it with the way you have indicated, I won't be able to control the events of these dropdownboxes which must be defined in aspx page

Yes you can access any event of the server control no metter if it is in the page, or inside a formview, or inside a formview which is inside another formview, it doesnt matter

To add an event to a dropdownlist, it is like with any other control
To add the default event of the control, just double click it, for the dropdownlist, the defult event is the selectedindexchanged
If you need another event, select it in the design view, in the properties window (F4) select the button that shows the events instead of the properties, select the event you want and double click it, this will generate the event in the code behind, then program your stuff as you normally would

Let me know if you are able to do it or if you have any doubts

Alexei Rodriguez

GeneralRe: How could I populate a dropdown box in formview if form view is placed inside a wizard? Pin
saber1381200229-Oct-08 21:02
saber1381200229-Oct-08 21:02 
QuestionExam 528 Question Pin
AlexeiXX35-Oct-08 7:11
AlexeiXX35-Oct-08 7:11 
AnswerRe: Exam 528 Question Pin
NeverHeardOfMe5-Oct-08 7:24
NeverHeardOfMe5-Oct-08 7:24 
QuestionImage JPG Handler Pin
RX Maverick5-Oct-08 6:05
RX Maverick5-Oct-08 6:05 
AnswerRe: Image JPG Handler Pin
NeverHeardOfMe5-Oct-08 6:51
NeverHeardOfMe5-Oct-08 6:51 
QuestionPurging ASP.NET Cache within a HttpModule Pin
kentietjen5-Oct-08 4:35
kentietjen5-Oct-08 4:35 
QuestionSpecify the type of calendar in Sharepoint Pin
hdv2125-Oct-08 2:12
hdv2125-Oct-08 2:12 
QuestionHow do I use delegates to pass information around between web controls on a page and a user control (ascx file) Pin
Tina P4-Oct-08 17:30
Tina P4-Oct-08 17:30 
AnswerRe: How do I use delegates to pass information around between web controls on a page and a user control (ascx file) Pin
Jaffer Mumtaz4-Oct-08 21:20
Jaffer Mumtaz4-Oct-08 21:20 
QuestionUpdate problem? Pin
omegazafer4-Oct-08 11:42
omegazafer4-Oct-08 11:42 
AnswerRe: Update problem? Pin
Jaffer Mumtaz4-Oct-08 20:55
Jaffer Mumtaz4-Oct-08 20:55 
QuestionInteraction between the page level controls and User Controls in VS 2008 Pin
Tina P4-Oct-08 10:14
Tina P4-Oct-08 10:14 
AnswerRe: Interaction between the page level controls and User Controls in VS 2008 Pin
Andreas X4-Oct-08 13:29
professionalAndreas X4-Oct-08 13:29 
GeneralRe: Interaction between the page level controls and User Controls in VS 2008 Pin
Tina P4-Oct-08 17:22
Tina P4-Oct-08 17:22 
GeneralRe: Interaction between the page level controls and User Controls in VS 2008 Pin
Jaffer Mumtaz4-Oct-08 21:25
Jaffer Mumtaz4-Oct-08 21:25 
AnswerRe: Interaction between the page level controls and User Controls in VS 2008 Pin
Jaffer Mumtaz4-Oct-08 21:05
Jaffer Mumtaz4-Oct-08 21:05 
GeneralRe: Interaction between the page level controls and User Controls in VS 2008 Pin
Tina P5-Oct-08 18:47
Tina P5-Oct-08 18:47 

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.