Welcome Guest Search | Active Topics | Sign In | Register

Can I dynamically configure the Dialog control? Options
Sterling
Posted: Friday, September 26, 2008 3:55:32 PM
Rank: Member
Groups: Member

Joined: 9/24/2008
Posts: 11
I have the Dialog in an UpdatePanel and I am trying to assign values to the HeaderHtml, ContentHtml and FooterHtml properties before I call the Update method on the UpdatePanel. Can I do this? The generated code sent to the browser does not have any of this.

Why cannot the eo_GetObject function find the object?
eo_support
Posted: Friday, September 26, 2008 4:20:39 PM
Rank: Administration
Groups: Administration

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

I believe you can update the dialog that way. I am not sure what you mean by "the generated code sent to the browser does not have any of this".

As to eo_GetObject, you want to check the ID that you pass to it. It won't be able to find the object if the ID you pass to it is wrong. Please keep in mind that eo_GetObject takes the object's client ID, not the object's ID. So instead of doing:

eo_GetObject("Dialog1");

You can do:

eo_GetObject("<%=Dialog1.ClientID%>");

That should always pass eo_GetObject the correct ID.

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.