This is a migrated thread and some comments may be shown as answers.

[Solved] Preventing UserControl PopUp EditForm from Closing on button click of additional buttons

1 Answer 99 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Brad Hehe
Top achievements
Rank 1
Brad Hehe asked on 29 Oct 2009, 01:56 PM
I have a PopUp Edit Form (via Custom UserControl) where part of the UI design is calling for us to show a 'search' window - i.e. a Customer Lookup/Search Screen...

We have a visual control and place a button next to it and wire-up a simple server-side OnClick handler.  Even with the code-behind doing absolutely nothign other than a Debug.WriteLine() statement... The EditForm immediately closes...

How do I utlize additional 'buttons' on the form without it closing?

What we want the EditForm to really do when this button click occurs is to hide one DIV and show another where we can embed these type of 'search' mechanisms... And upon the search being completed/cancelled hide the DIV and restore the real EditForm div...

The other option being entertained is to show a RadWindow to host these search mechanism but the client preference is to avoid having more than 1 layer of popups going on... Additionally, I'm finding very little information on using RadWindow from code-behind - it seems to really be client-side focused... If we go with this route, I would like to use the RadWindow to show a UserControl rather than a Page - which doesn't sounds like an option from the little research I've done so far...

1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 03 Nov 2009, 03:12 PM
Hi,

Please find our answer to your questions in the other thread you have posted on this subject.
Let me know if further issues arise.

Regards,
Iana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
Brad Hehe
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or