Ask a Question related to ASP.NET Building Controls, Design and Development.
-
Jos #1
Re: How to set selected item in drop-down list in datagrid
Donald Welker wrote:
SelectedValue='<%# DataBinder.Eval(Container.DataItem,"ABCField") %>'> General question I haven't seen answered: If I have a datagrid with a
> template column in which a drop-down list is bound to a datasource,
> how do I set the selected item in the drop-down based on the datagrid
> column value? (for example if the column is text and I want a
> drop-down to list "A", "B", and "C", how do I set the selected item
> to "B"?)
--
Jos
Jos Guest
-
How To Dynamically Set Selected Item in SELECT List inDW Object
<-- Cross=posted on DW Application Development forum-- > Hi! I hope I can explain this situation halfway decently... I am creating a DW... -
Web User Control Drop Down List does not show selected item
Hi, I have a user control that only contains a drop down list. This ddl is filled with countries. In my ASPX page the control displays properly... -
Submitting selected List/Menu Item??
I got Aalphabets A ? Z as links, a Menu with a pre-selected item and a search button The problem is I just cant get to submit the value of the... -
Change style of a single row of the item list of datagrid, based on a field value of current item...
Sorry for the long subject guys, but I don't know how better I can resume the matter... Anyway, I have my datagrid showing items of an order. I... -
Setting 'selected' item in bound drop down list
You must set the selected index - meaning, you must know the location of the item that needs to be selected in the list. "ctb"...



Reply With Quote

