Welcome Guest Search | Active Topics | Sign In | Register

Dialog locate nested control from client Options
Andre
Posted: Sunday, October 5, 2008 7:04:00 AM
Rank: Member
Groups: Member

Joined: 8/19/2008
Posts: 14
Hi

How do I get/change a label on the dialog from the client?

Thanks

Andre
eo_support
Posted: Sunday, October 5, 2008 9:11:11 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,091
Hi,

You will need to:

1. Call Dialog1.ContentContainer.FindControl to find that control on the server side;
2. Use the returned control to get the ClientID of the control;
3. Pass the client ID to the client (You can use whatever mechanism you would like to use here, for example, by calling RegisterStartupScript. Our control does not provide any support on this), then call document.getElementById with that ClientID;

Hope this helps.

Thanks
Andre
Posted: Sunday, October 5, 2008 10:15:23 AM
Rank: Member
Groups: Member

Joined: 8/19/2008
Posts: 14
Yes it did

Thanks
Andre


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.