Hi All,
I have disabled the button in Datagrid and i want to make it enabled during run 
time such as 
public void Datagrid1_OnSelectedChanged( object sender ,System.  )
{
 
((Button)DataGrid1.FindControl("btnNext")).enabled=true;
}
I have tried this doing but it throws a runtime error
"Object Reference does not contain instance of Button.
 
please comment,
San

Yahoo! India Matrimony: Find your life partneronline.

[Non-text portions of this message have been removed]



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to