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

RadPrompt/RadAlert Query

1 Answer 18 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Justin
Top achievements
Rank 1
Justin asked on 18 Sep 2012, 02:05 AM
Hi Guys,

We have a query about use of the RadPrompt & RadAlert and if they are the correct control to use. We have investigated and used the forums unsuccessfully to be able to figure it out thus far.

We have a C# function that runs on a user pressing a button. Within the C# function the first section performs some validation, based on the validation we want to be able to prompt a user with a message and give them the option to continue or cancel.

Hard part is we want the C# code to stop processing when they are prompted and based on their response continue on through the function.

So far we have got a RadPrompt that comes up but we have noticed that by the time it is up on the screen the function has actually already finished its processing which makes the users choice pointless.

Let me know what you think and if there is a better control for us to use.

Regards,
Justin 

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 18 Sep 2012, 03:57 PM
Hi Justin,

I've already answered your support ticket on the same subject and I am pasting the link here as well in case someone else has a similar query.

This scenario is explained in the following help article which also offers several ideas on achieving the desired functionality: http://www.telerik.com/help/aspnet-ajax/window-using-radconfirm-in-server-code.html.


All the best,
Marin Bratanov
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
Justin
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or