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?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,193
|
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
|