Excute the flow after user selects input in radprompt

2 posts, 0 answers
  1. vishal
    vishal avatar
    11 posts
    Member since:
    Jul 2014

    Posted 03 Mar 2015 Link to this post

    Hello All,

    I have one button click event, in which I need to perform some database validation and if the validation is true I need to open one prompt window with drop down box having three options,

    And on selection of options I need to perform further code execution on server side. Please suggest how to achieve that?

    protected void button1_Click(object sender, EventArgs e)
        if(SomeValidation() == true)
          RadWindowManager1.RadPrompt("Selection Option");
        if(option1 is selected) then
         do something
      else if (option2 is selected) then
         do something
        do somenting

    I need to hold the execution of code till the user selected any options from RadPrompt. Please suggest how to achieve that.

    Thank you!
    Vishal Patel
  2. Marin Bratanov
    Marin Bratanov avatar
    3907 posts

    Posted 04 Mar 2015 Link to this post

    Hello Vishal,

    The following article explains how to do that: http://www.telerik.com/help/aspnet-ajax/window-using-radconfirm-in-server-code.html. If you need a custom dropdown, you may want to consider the third approach where a RadWindow with itsContentTemplate is used.


    Marin Bratanov

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top