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

Conditionally open radconfirm onclientclick

1 Answer 149 Views
Window
This is a migrated thread and some comments may be shown as answers.
mO
Top achievements
Rank 1
mO asked on 31 Oct 2008, 06:30 PM
Here is my scenario,

  • I have a radcombobox which allows custom text.
  • I have a save button on the page.
  • Biz Rule on clicking save -
    • If the user selects an item from combobox - no confirm is needed
    • If the user types custom text - show a confirm asking them if they want to use their text.
  • I have a server-side OnClick for the save button.
  • I have a client OnClientClick method that validates based on the radcombobox null check on selecteditem.
  • It works with a 'normal confirm' but no luck with a 'radconfirm'
  • I have read the KB on radconfirm blocking the thread solution. But that example has the radconfirm unconditonally called on OnClientClick.
  • How do I get it to work conditionally?

 


 

Thanks
mO

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 03 Nov 2008, 03:33 PM
Hello mO,

I have already answered in your other forum thread that you have started on the same subject:
http://www.telerik.com/community/forums/thread/b311D-btahgc.aspx



Best wishes,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Window
Asked by
mO
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or