Welcome Guest Search | Active Topics | Sign In | Register

Default button in dialog Options
Christian Schweda
Posted: Wednesday, April 27, 2011 9:56:07 AM
Rank: Newbie
Groups: Member

Joined: 6/15/2007
Posts: 4
Dear all,

I have the shown dialog with the close button (x) and my button. If I hit <ENTER> in search field I want to call the click event of my button. Unfortately dialog is closed, becourse the close button is the first button of form. What is to do?

Thanks
Christian
eo_support
Posted: Wednesday, April 27, 2011 10:06:47 AM
Rank: Administration
Groups: Administration

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

Do you mean client side click event or server side click event? If you are talking about server side click event, then it's quite normal that the dialog closes ---- in order to trigger a server event, your page must post back, a post back unload the page thus close the dialog. You can however set the dialog's InitialState to Visible again in your server side code to display the dialog again.

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.