Welcome Guest Search | Active Topics | Sign In | Register

Problem with dialog not closing Options
Chris
Posted: Thursday, May 21, 2009 9:30:53 AM
Rank: Member
Groups: Member

Joined: 4/29/2009
Posts: 13
Hi,

I have a simple modal dialog with an asp button in the content area. My objective is to close the dialog once the button is clicked.

I have wired to AcceptButton property to reference the asp button id (btnApplyRules).

The dialog is launched when another button on the page is clicked.

Should I move the button to the Footer of the dialog for it to work?

Thanks,
Chris
eo_support
Posted: Thursday, May 21, 2009 9:36:17 AM
Rank: Administration
Groups: Administration

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

AcceptButton should work, so we do not know for sure why it's not working for you without seeing your code. If you can post a test page that duplicates the error, we should be able to tell you what's wrong.

Whether the button is in footer or content region does not matter. However if you use AcceptButton, you may also want to check whether you have AcceptButtonPostBack set to true. I believe the default value is false, which often is not the desired behavior.

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.