Rank: Newbie Groups: Member
Joined: 10/6/2008 Posts: 1
|
Hi,
Is it posible to access the editor template controls inside the BeginEditCell method without using document.getElementById("HARDCODED_VALUE")? The cell argument has a reference to the editor control or at least a posibility to pass the id as argument to the BeginEditFunction?
thank you
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, Sure you can pass the ID to the client side. The post discussed almost the same question but for the Dialog control: http://www.essentialobjects.com/Forum/Default.aspx?g=posts&t=2198Instead of using Dialog1.ContentContainer.FindControl, you would need to use YourGridColumn.EditorInstance.FindControl. An example of how to use this function is avaiable here: http://www.essentialobjects.com/Demo/Default.aspx?path=Grid\_i1\grid_custom_column_adv2Once you get the ClientID on the server side. There are many ways to pass it to the client side. Thanks!
|