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

Pass RadPrompt value to server-side code

1 Answer 258 Views
Window
This is a migrated thread and some comments may be shown as answers.
Tri Nguyen
Top achievements
Rank 1
Tri Nguyen asked on 25 Jan 2011, 12:59 AM | edited on 20 Oct 2022, 01:05 PM
Hello,

Is there a way to pass the value gathered from the RadPrompt to server-side code (in VB)? The closest example that I can find is this. But I still couldn't figure it out how to use that value in codebehind (like display it on a label, Label1.Text = The-value-from-Radprompt). Any help would be greatly appreciate.

Tri

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 25 Jan 2011, 12:49 PM | edited on 20 Oct 2022, 01:07 PM
Hello,

The radalert, radprompt and radconfirm are called and handled on the client only - just like the standard alert, prompt and confirm dialogs from the browser. And if you want to perform any operation on server based on the confirm/prompt result, then you need to perform either postback or ajaxRequest() as described in the following forum.
Confirm Box and Result in Code-behind.



-Shinu.
Bernie
Top achievements
Rank 1
commented on 18 Oct 2022, 06:16 PM

No longer a valid answer.
Rumen
Telerik team
commented on 20 Oct 2022, 01:08 PM

Thank you for noticing this! I updated all non-working URLs and not they point to valid resources and pages.
Tags
Window
Asked by
Tri Nguyen
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or