5 Answers, 1 is accepted
0
Shinu
Top achievements
Rank 2
answered on 29 Nov 2010, 11:46 AM
Hello,
Radconfirm is just as standard confirm which works on the client. Therefore, to perform any actions on the server side after you select Yes/No, you need to make a postback to the server.
Checkout the following forum link which discusses how to show radconfrm from server side.
radconfirm from server
[Note: As an alternative you can also perform an ajax request instead of using __doPostBack javaScript built-in function. You can do this by using the RadAjaxManager control's ajaxRequest method]
-Shinu.
Radconfirm is just as standard confirm which works on the client. Therefore, to perform any actions on the server side after you select Yes/No, you need to make a postback to the server.
Checkout the following forum link which discusses how to show radconfrm from server side.
radconfirm from server
[Note: As an alternative you can also perform an ajax request instead of using __doPostBack javaScript built-in function. You can do this by using the RadAjaxManager control's ajaxRequest method]
-Shinu.
0
Luiz
Top achievements
Rank 1
answered on 29 Nov 2010, 01:18 PM
Hi Shinu,
I´m a novice in ASP.NET Web, actually I develop with VB.net and Winform.
I understood but can you send me and example in VB.net to clarify me?
For Example:
If MessageBox.Show("Confirm Delete?", "Warning", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button2,MessageBoxOptions.DefaultDesktopOnly, False) = Windows.Forms.DialogResult.Yes Then
DeleteCli()
else
ExitSub
Tks
Luiz
I´m a novice in ASP.NET Web, actually I develop with VB.net and Winform.
I understood but can you send me and example in VB.net to clarify me?
For Example:
If MessageBox.Show("Confirm Delete?", "Warning", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button2,MessageBoxOptions.DefaultDesktopOnly, False) = Windows.Forms.DialogResult.Yes Then
DeleteCli()
else
ExitSub
Tks
Luiz
0
Hi Luiz,
Basically, what you need cannot be directly achieved in WebForms scenario because of the client - server specifics.I believe that this forum thread will provide more information on the subject.
I would suggest to check the following Code Library that was submitted by another customer of ours:
http://www.telerik.com/community/code-library/aspnet-ajax/window/server-side-msgbox-user-control-for-radconfirm-radalert-and-radprompt.aspx#752958
Kind regards,
Georgi Tunev
the Telerik team
Basically, what you need cannot be directly achieved in WebForms scenario because of the client - server specifics.I believe that this forum thread will provide more information on the subject.
I would suggest to check the following Code Library that was submitted by another customer of ours:
http://www.telerik.com/community/code-library/aspnet-ajax/window/server-side-msgbox-user-control-for-radconfirm-radalert-and-radprompt.aspx#752958
Kind regards,
Georgi Tunev
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Luiz
Top achievements
Rank 1
answered on 30 Nov 2010, 08:59 PM
Hi,
Unfortunatelly I need to use it in VB.net because my logic are focused on it.
Is there a way to call this code in ASP inside Code behind?
Tks
Luiz
Unfortunatelly I need to use it in VB.net because my logic are focused on it.
Is there a way to call this code in ASP inside Code behind?
Tks
Luiz
0
Hi Luiz,
I'm afraid this is not possible.
All the best,
Georgi Tunev
the Telerik team
I'm afraid this is not possible.
All the best,
Georgi Tunev
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.