Click here to Skip to main content
15,886,919 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questioneditor Pin
mylogics9-May-10 20:46
professionalmylogics9-May-10 20:46 
AnswerRe: editor Pin
Brij9-May-10 21:06
mentorBrij9-May-10 21:06 
AnswerRe: editor Pin
Anurag Gandhi9-May-10 21:07
professionalAnurag Gandhi9-May-10 21:07 
GeneralRe: editor Pin
mylogics9-May-10 21:27
professionalmylogics9-May-10 21:27 
AnswerRe: editor Pin
Amit Patel19859-May-10 22:41
Amit Patel19859-May-10 22:41 
Questiontextbox for searching in listbox Pin
amina899-May-10 9:29
amina899-May-10 9:29 
AnswerRe: textbox for searching in listbox Pin
Abhijit Jana9-May-10 10:11
professionalAbhijit Jana9-May-10 10:11 
QuestionRe: textbox for searching in listbox Pin
amina899-May-10 10:33
amina899-May-10 10:33 
AnswerRe: textbox for searching in listbox Pin
Abhijit Jana9-May-10 10:41
professionalAbhijit Jana9-May-10 10:41 
AnswerRe: textbox for searching in listbox Pin
Abhijit Jana9-May-10 10:44
professionalAbhijit Jana9-May-10 10:44 
GeneralRe: textbox for searching in listbox Pin
amina899-May-10 10:49
amina899-May-10 10:49 
Questionhow to upload image in image control when you browse Pin
developerit9-May-10 2:15
developerit9-May-10 2:15 
AnswerRe: how to upload image in image control when you browse Pin
Sandeep Mewara9-May-10 4:06
mveSandeep Mewara9-May-10 4:06 
Questionhow to change the text for file upload control in asp.net with c# Pin
developerit8-May-10 21:51
developerit8-May-10 21:51 
AnswerRe: how to change the text for file upload control in asp.net with c# Pin
Sandeep Mewara9-May-10 3:59
mveSandeep Mewara9-May-10 3:59 
QuestionAutopost Back in ASP.NET MVC Pin
M. K. BASHER8-May-10 20:31
M. K. BASHER8-May-10 20:31 
AnswerRe: Autopost Back in ASP.NET MVC Pin
Sandeep Mewara9-May-10 4:08
mveSandeep Mewara9-May-10 4:08 
QuestionButton Event OnClick Not Raised After Redirecting to Rewritten URL Pin
icanpee4hours8-May-10 6:13
icanpee4hours8-May-10 6:13 
AnswerRe: Button Event OnClick Not Raised After Redirecting to Rewritten URL Pin
Not Active8-May-10 9:39
mentorNot Active8-May-10 9:39 
GeneralRe: Button Event OnClick Not Raised After Redirecting to Rewritten URL Pin
icanpee4hours8-May-10 9:49
icanpee4hours8-May-10 9:49 
GeneralRe: Button Event OnClick Not Raised After Redirecting to Rewritten URL Pin
Not Active8-May-10 14:51
mentorNot Active8-May-10 14:51 
GeneralRe: Button Event OnClick Not Raised After Redirecting to Rewritten URL Pin
icanpee4hours10-May-10 4:15
icanpee4hours10-May-10 4:15 
Questiontabcontainer control giving error 1 could not be set on property 'ActiveTabIndex' in asp.net with c# Pin
developerit8-May-10 3:57
developerit8-May-10 3:57 
AnswerRe: tabcontainer control giving error 1 could not be set on property 'ActiveTabIndex' in asp.net with c# Pin
Tej Aj10-May-10 0:25
Tej Aj10-May-10 0:25 
QuestionProblem with Enum and dropdownlist Pin
AndyASPVB7-May-10 23:06
AndyASPVB7-May-10 23:06 
Hi
I have a dropdown list, and the values displayed in this come from an enum, which on load of the page I cast to an array and then bind to the dropdown list. The dropdown list is itself part of a details view. When the user selects a value this selected value is saved to the database via an object, which has a property of that enum type. The object is bound using Microsoft Object Container Data Source for the rest of the details view, but of course the dropdown list is bound using the array.

However, where am I stuck is when the user wants to edit a record, of course I want to show this record in the details view. Now I can show all the other fields in the detailsview using the Object Container Data Source, which also includes the value that the user selected from the drop down list when the record was entered. How do I set the drop down list to a value from the Object Container Data Source where the drop down list is bound to an enum/array?

Thanks

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.