Would a jQuery user interface be an option?
You will need to add the jQuery UI replicas that can be found here.
Here is the documentation for the jQuery dialog interface.
The following code was taken from a solution that I implemented. I just deleted some code snippets for simplicity. Let me know if you need any clarification.
HTML:
<div id="MenuChangeSelection" title="Change Selection" class="MainDialog"> <div id="MenuChangeSelectionContent"></div> </div>
JQuery
$("#YourRadBtnID").click(function () { var yourDropDownMarkup = "<select><option value='Opt1'>Opt1</option></select>"; // Insert your dropdown markup or get your dropdown from the dom. $("#MenuChangeSelectionContent").html(yourDropDownMarkup); $("#MenuChangeSelection").dialog({ autoOpen: true, modal: true, width: 600, height: 150, buttons: { "Save And Close": function() { //Do something when Save And Close is clicked. eg. asynchronously post back to server. }, "Cancel": function() { $(this).dialog("close"); } }, open: function () { $('.ui-widget-overlay').addClass('custom-overlay'); }, close: function () { $('.ui-widget-overlay').removeClass('custom-overlay'); } }); });
CSS
.ui-widget-overlay.custom-overlay { background-color:black; opacity:0.4; filter:alpha(opacity=40); }
source share