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

Load radopen from codebehind

1 Answer 151 Views
Window
This is a migrated thread and some comments may be shown as answers.
franchute
Top achievements
Rank 1
franchute asked on 31 Jan 2008, 06:24 PM
Hi guys,
I have the following issue. I would like to load a radwindow control via radconfirm from my codebehind depending on some boolean expresion.

For instance :

if (condition)
{
    // load radconfirm pop up
}
else
{
    ....................
}

Is there any way to carry out this functionality. I was looking at some examples here http://www.telerik.com/support/kb/article/b454K-gtd-b454T-a-b454c-cbetemdget.aspx but is not exactly what I need.

Thanks,

Fran├žois.

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 01 Feb 2008, 07:13 AM
Hello franchute,

The radconfirm() dialog is called and processed on the client only - just like the standard window.confirm() one. You need to build up your logic in such way that the received argument on the client is sent to the server in some way - by submitting the form, by Ajax request, __doPostback(), etc.


This issue is not directly related to the RadWindow control and radconfirm() because as noted above it works on the same logic as the standard browser's confirmation dialog. That is why we suggest to implement the desired behavior by using the standard dialog and once ready - to send us the project. We will check it and rework it for you so it uses radconfirm() instead of window.confirm().



Sincerely yours,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Window
Asked by
franchute
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or