Click here to Skip to main content
15,668,517 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Using javascript functions ? Pin
samMaster27-Apr-08 0:18
samMaster27-Apr-08 0:18 
GeneralRe: Using javascript functions ? Pin
kindman_nb27-Apr-08 5:02
kindman_nb27-Apr-08 5:02 
GeneralRe: Using javascript functions ? Pin
samMaster27-Apr-08 18:44
samMaster27-Apr-08 18:44 
GeneralRe: Using javascript functions ? Pin
kindman_nb28-Apr-08 3:53
kindman_nb28-Apr-08 3:53 
GeneralAccessing a DropDownList inside a DetailsView Pin
Ekjon26-Apr-08 7:07
Ekjon26-Apr-08 7:07 
GeneralRe: Accessing a DropDownList inside a DetailsView Pin
AlexeiXX326-Apr-08 7:34
AlexeiXX326-Apr-08 7:34 
GeneralRe: Accessing a DropDownList inside a DetailsView Pin
Ekjon26-Apr-08 10:02
Ekjon26-Apr-08 10:02 
GeneralRe: Accessing a DropDownList inside a DetailsView Pin
AlexeiXX327-Apr-08 18:42
AlexeiXX327-Apr-08 18:42 
It should work
Once you get the dropdownlist in the prerenderevent (Edit mode)
populate the ddl and cal DATABIND
then: dropdownlist.selectedvalue = yourvalue


It looks like all you need is to allow the user to select a value from a dropdownlist when in edit mode, and obviously, when the record enters in edit mode, show the previously selected value
If so, you can do all this automatically Smile | :)
Just add the ddl to the edit template (Like you already have i think), you can also set its datasource to a sqldatasource

<EditItemTemplate>
                 <asp:DropDownList ID="DropDownList1" runat="server" SelectedValue='<%# Bind ("TestColumn") %>'>
                 </asp:DropDownList>
</EditItemTemplate>


Alexei Rodriguez

GeneralProblem with DataTable Pin
Member 456754126-Apr-08 1:55
Member 456754126-Apr-08 1:55 
GeneralRe: Problem with DataTable Pin
N a v a n e e t h26-Apr-08 5:27
N a v a n e e t h26-Apr-08 5:27 
GeneralRe: Problem with DataTable Pin
Christian Graus26-Apr-08 11:18
protectorChristian Graus26-Apr-08 11:18 
GeneralRe: Problem with DataTable Pin
N a v a n e e t h28-Apr-08 20:21
N a v a n e e t h28-Apr-08 20:21 
GeneralRe: Problem with DataTable Pin
Christian Graus28-Apr-08 20:42
protectorChristian Graus28-Apr-08 20:42 
GeneralRe: Problem with DataTable Pin
N a v a n e e t h28-Apr-08 22:59
N a v a n e e t h28-Apr-08 22:59 
GeneralRe: Problem with DataTable Pin
Christian Graus28-Apr-08 23:58
protectorChristian Graus28-Apr-08 23:58 
GeneralRe: Problem with DataTable Pin
N a v a n e e t h29-Apr-08 0:48
N a v a n e e t h29-Apr-08 0:48 
GeneralRe: Problem with DataTable Pin
Christian Graus26-Apr-08 11:20
protectorChristian Graus26-Apr-08 11:20 
General[Message Deleted] Pin
Member 456754126-Apr-08 0:38
Member 456754126-Apr-08 0:38 
GeneralRe: Shared Access Specifier Pin
Christian Graus26-Apr-08 0:44
protectorChristian Graus26-Apr-08 0:44 
GeneralRe: Shared Access Specifier Pin
Christian Graus26-Apr-08 13:45
protectorChristian Graus26-Apr-08 13:45 
QuestionTwo Aspx Pages on Two Clients Interact With Each Others ??????????????????????? Pin
Feras Mazen Taleb25-Apr-08 23:17
Feras Mazen Taleb25-Apr-08 23:17 
GeneralRe: Two Aspx Pages on Two Clients Interact With Each Others ??????????????????????? Pin
Christian Graus25-Apr-08 23:23
protectorChristian Graus25-Apr-08 23:23 
QuestionIntegrate paypal button .. Pin
Krazy Programmer25-Apr-08 21:11
Krazy Programmer25-Apr-08 21:11 
GeneralRe: Integrate paypal button .. Pin
Krazy Programmer25-Apr-08 21:33
Krazy Programmer25-Apr-08 21:33 
Generalconvert pointer to a hand Pin
ptvce25-Apr-08 20:51
ptvce25-Apr-08 20:51 

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.