Quantcast
Channel: Getting Started
Viewing all articles
Browse latest Browse all 6

Re: Pop-up modal box when radio button clicked

$
0
0

Two main ways to do this.

  1. Server side coding...
    1. Get the ajaxcontroltoolkit from codeplex(http://ajaxcontroltoolkit.codeplex.com/), use the documentation to create a modalpopupextender (http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/ModalPopup/ModalPopup.aspx).
    2. Add event handling on the radio buttons, and in your code behind, check to see if the combination is selected, and if so, show your modalpopupextender.
  2. Client side coding...
    1. Use jquery ui to create a jquery modal dialog box (http://jqueryui.com/dialog/)
    2. Use jquery to handle the selected event of the radio button input and if the correct combination is selected, show the modal dialog. (see jsbin samplehttp://jsbin.com/acupax/1/edit)

Viewing all articles
Browse latest Browse all 6

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>