Click here to Skip to main content
15,885,278 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: MVC Razor, routevalues [solved] Pin
jkirkerx4-Feb-16 12:22
professionaljkirkerx4-Feb-16 12:22 
SuggestionRe: MVC Razor, routevalues [solved] Pin
Richard Deeming5-Feb-16 4:37
mveRichard Deeming5-Feb-16 4:37 
GeneralRe: MVC Razor, routevalues [solved] Pin
jkirkerx5-Feb-16 6:28
professionaljkirkerx5-Feb-16 6:28 
QuestionDetailsView - Dropdown in ItemTemplate Pin
Member 121716134-Feb-16 2:51
Member 121716134-Feb-16 2:51 
QuestionRe: DetailsView - Dropdown in ItemTemplate Pin
ZurdoDev4-Feb-16 4:17
professionalZurdoDev4-Feb-16 4:17 
AnswerRe: DetailsView - Dropdown in ItemTemplate Pin
Member 121716134-Feb-16 4:36
Member 121716134-Feb-16 4:36 
GeneralRe: DetailsView - Dropdown in ItemTemplate Pin
ZurdoDev4-Feb-16 4:51
professionalZurdoDev4-Feb-16 4:51 
AnswerRe: DetailsView - Dropdown in ItemTemplate Pin
Richard Deeming4-Feb-16 4:35
mveRichard Deeming4-Feb-16 4:35 
If I'm reading that correctly, your list is binding to the table, but not selecting the correct value. If that's the case, it sounds like you're missing the binding on the SelectedValue property of the list:
aspx
<asp:DropDownList id="DistrictList" runat="server"
    DataSourceID="..."
    DataValueField="DistrictID"
    DataTextField="DistrictDesc"
    SelectedValue='<%# Bind("DistrictID") %>'
/>




"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


QuestionPhone system dashboard (Broadsoft) Pin
dannyvkempen3-Feb-16 21:15
dannyvkempen3-Feb-16 21:15 
AnswerRe: Phone system dashboard (Broadsoft) Pin
Richard Deeming4-Feb-16 1:36
mveRichard Deeming4-Feb-16 1:36 
QuestionPopulate word with data Pin
Praveen Kandari3-Feb-16 0:05
Praveen Kandari3-Feb-16 0:05 
AnswerRe: Populate word with data Pin
Nathan Minier3-Feb-16 1:17
professionalNathan Minier3-Feb-16 1:17 
GeneralRe: Populate word with data Pin
Praveen Kandari3-Feb-16 1:20
Praveen Kandari3-Feb-16 1:20 
GeneralRe: Populate word with data Pin
Nathan Minier3-Feb-16 2:21
professionalNathan Minier3-Feb-16 2:21 
GeneralRe: Populate word with data Pin
Praveen Kandari3-Feb-16 18:11
Praveen Kandari3-Feb-16 18:11 
GeneralRe: Populate word with data Pin
Richard Deeming4-Feb-16 1:31
mveRichard Deeming4-Feb-16 1:31 
GeneralRe: Populate word with data Pin
Nathan Minier4-Feb-16 3:21
professionalNathan Minier4-Feb-16 3:21 
QuestionProblem with Post request in my ASP.NET Web API + jQuery Pin
Farhad Eft2-Feb-16 12:18
Farhad Eft2-Feb-16 12:18 
AnswerRe: Problem with Post request in my ASP.NET Web API + jQuery Pin
F-ES Sitecore2-Feb-16 23:10
professionalF-ES Sitecore2-Feb-16 23:10 
QuestionLinq to Sql: How to Fetch specific row using store procedure and display columns data into textboxes Pin
Ahmer Ali Ahsan Sheikh2-Feb-16 7:38
Ahmer Ali Ahsan Sheikh2-Feb-16 7:38 
QuestionAll my Telterik Control became disabled Pin
indian1431-Feb-16 10:42
indian1431-Feb-16 10:42 
AnswerRe: All my Telterik Control became disabled Pin
ZurdoDev2-Feb-16 8:41
professionalZurdoDev2-Feb-16 8:41 
QuestionI am getting following Telerik errors when Compiling the Application Pin
indian1431-Feb-16 7:31
indian1431-Feb-16 7:31 
AnswerRe: I am getting following Telerik errors when Compiling the Application Pin
Brisingr Aerowing1-Feb-16 9:09
professionalBrisingr Aerowing1-Feb-16 9:09 
GeneralSource code project for complex event processing Pin
Member 1185956231-Jan-16 19:55
Member 1185956231-Jan-16 19:55 

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.