Hello
I clearly understand how to use the event associated with a CommandColumn click event (GridView_CommandCellClick). What I would like to do is gain access to the button's properties (GridViewCommandColumn Button) from another method. For example, if i have this method: "private void ChangeButtonText(GridViewRowInfo rowIndex, String buttonText)". This method is not associated with the click event of a CommandButton but this method needs to access CommandButton's properties for the given rowIndex and change the CommandButton.Text property equal to buttonText.
I am using VS 2010, C# and Q2 update.
Any help would be appreciated.
Thank You
I clearly understand how to use the event associated with a CommandColumn click event (GridView_CommandCellClick). What I would like to do is gain access to the button's properties (GridViewCommandColumn Button) from another method. For example, if i have this method: "private void ChangeButtonText(GridViewRowInfo rowIndex, String buttonText)". This method is not associated with the click event of a CommandButton but this method needs to access CommandButton's properties for the given rowIndex and change the CommandButton.Text property equal to buttonText.
I am using VS 2010, C# and Q2 update.
Any help would be appreciated.
Thank You