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

Programatically displaying a pop up and message in it

1 Answer 641 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Deepika
Top achievements
Rank 1
Deepika asked on 24 Feb 2012, 12:11 PM

Hello,
In My Page, I have a dropdown, on selection of a item from this dropdown,a grid on this page gets loaded. this grid has Edit buttons. I will edit the data in this grid and then save. On Successful save, I want to display a pop up sasying that data update was successful. If unsuccesful, then I will say it was not.

I have a bool variable bStatus, this will be true on success, and false on failure. Depending on this, I want to display this pop up.How can I get a pop up window programatically?

Thanks and Regards,
Deepika Karanth

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 24 Feb 2012, 12:32 PM
Hello Deepika,

 I am not completely sure what are your exact requirements, what is the exact look of the popup you require and whether you want to show it from the server or from the client. However, what I would suggest for such a common case is to use RadNotification and its server method Show() which is demonstrated below:

http://demos.telerik.com/aspnet-ajax/notification/examples/servershowwithnewtext/defaultcs.aspx

Please, examine the demo and let me know wether this suits your needs.

Regards,
Svetlina Anati
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
General Discussions
Asked by
Deepika
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or