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

how to work with model boxes

3 Answers 98 Views
Window
This is a migrated thread and some comments may be shown as answers.
SR
Top achievements
Rank 1
SR asked on 25 Apr 2016, 07:03 AM

Hi

How to work with model boxes i have radbutton when i click on button open model box , click again button if model box is open close that else open model box .

find the attachments have better idea what exact scenarios i want any suggestions.

Thanks,

SR.

 

3 Answers, 1 is accepted

Sort by
0
SR
Top achievements
Rank 1
answered on 25 Apr 2016, 07:11 AM
Hi
How to work with model boxes i have radbutton when i click on button open model box , click again button if model box is open close that else open model box .
find the attachments have better idea what exact scenarios i want any suggestions.
Thanks,
SR.
0
Marin Bratanov
Telerik team
answered on 25 Apr 2016, 07:22 AM

Hi SR,

You should use the RadWIndow API (the isVisible(), show() and close() methods) in the button click handler: http://docs.telerik.com/devtools/aspnet-ajax/controls/window/client-side-programming/radwindow-object.

Regards,

Marin Bratanov
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
SR
Top achievements
Rank 1
answered on 25 Apr 2016, 07:44 AM

Hi Marin Bratanov

Thanks for quick response i have done that one what you said using of show() and close() methods it works good but i did this using model box not radwindow give me any model box example code  its helpful to me .

Thanks.

SR.

Tags
Window
Asked by
SR
Top achievements
Rank 1
Answers by
SR
Top achievements
Rank 1
Marin Bratanov
Telerik team
Share this question
or