Hi everybody,
I tried to access a control ,for example,a textbox .There is one simple solution th this,
"
but when and in which event i shoud do this?for example In Telerik 2011 Demo(Input/RadInputManager/Integration with Grid)
when ItemCreated evnts fires,this part of code will be executed,but this events fires when an item is created ,just before that item has been initialized,so in this time the txt1.Text is Null and not the value the user has entered.
I want to change the insertCommand and need to pass the TextBox1.Text to the insertCommand ,
would anyone please tell me how ?
I tried to access a control ,for example,a textbox .There is one simple solution th this,
"
GridEditFormItem
editedItem = e.Item as GridEditFormItem;
TextBox txt1 = editedItem.FindControl("TextBox1") as TextBox;"
but when and in which event i shoud do this?for example In Telerik 2011 Demo(Input/RadInputManager/Integration with Grid)
when ItemCreated evnts fires,this part of code will be executed,but this events fires when an item is created ,just before that item has been initialized,so in this time the txt1.Text is Null and not the value the user has entered.
I want to change the insertCommand and need to pass the TextBox1.Text to the insertCommand ,
would anyone please tell me how ?