Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
ASP .Net
ASP .Net Datagrid Control
"Linking" DropDownList in EditItemTemplate and Label in ItemTempla
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Inge Larsson, post: 4266589"] Hi, I have a ASP.NET 1.1 DataGrid template column set up this way: As the ItemTemplate I have a label, lblSatus. As the EditItemTemplate I have a DropDownList, ddlStatus. ddlStatus have a DataSet, dsStatus, as data source, and is populated fine. I have set the AutoPostBack property of both lblStatus and dllStatus to true. What I need a solution for: 1) I want ddlStatus to have its SelectedValue property set to the value of the Text property of lblStatus - when or before the user clicks the edit button. 2) I want lblSatus to have its Text property set to the value of the SelectedValue property of ddlStatus - when the user clicks the update button. With or without using the SelectedIndexChanged event of ddlStatus, but I suppose using this event is the way to go. 3) I want to set the BackColor property of lblStatus if the user has caused the SelectedIndexChanged event of ddlStatus to get fired. Grateful for any help on this, Inge [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
ASP .Net
ASP .Net Datagrid Control
"Linking" DropDownList in EditItemTemplate and Label in ItemTempla
Top