Welcome Guest Search | Active Topics | Sign In | Register

Editor reference on client side Options
bogdanc
Posted: Monday, October 6, 2008 5:10:55 AM
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

eo_support
Posted: Monday, October 6, 2008 6:14:13 AM
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=2198

Instead 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_adv2

Once you get the ClientID on the server side. There are many ways to pass it to the client side.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.