I am Using Dropdown in Template Field(Gridview) there is another Template Field Using Label COntrol
Please Help me
When User Change Drop Down value (or item)the other template fields
value (Label )should get changed
for example
drop down values
1
2
3
When User Select 1 the label Template Fields value should be "yes" and on
no value of label should be "0"
Like this
Krishna GaradPosted Jan 10, 2011, 2:05 AM
In .aspx.cs file
private void ddlregno_SelectedIndexChanged(object sender,EventArgs e)
{
//find the exact label and assign value here
}
Subhendu DePosted Jan 10, 2011, 1:50 AM
http://subhendude.wordpress.com/2008/11/06/how-to-put-the-javascript-code-for-the-controls-within-the-datagrid/
OnChange event of the dropdownbox, call javascript function and change the label text...... Follow the blog.....