Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
340
how to set button cell caption during ADD new row
posted

Hi

I have a webgrid with a cell style button.

the cellbuttondisplay is set on ALWAYS and in the inizializerow event i use this code to set the button caption, but it does not work when the user add a NEW row.....

void WebGrid_InitializeRow(object sender, RowEventArgs e)

{

e.Row.Cells.FromKey("cmdPrint").Value = "Print";

 

}