This is the code :
123
$(function () {
$('#my-dialog').dialog({
autoOpen: false,
width: 400,
resizable: false,
modal: true
});
$('#show-modal').click(function() {
var url="";
url = "<%= Url.RouteUrl("OpenQuestionnaire", new { ccode = c.Code, eid = c.Id })%>";
$('#my-dialog').load(url, function() {
$(this).dialog('open');
});
return false;
});
});
I can open the page but text doesn't show like a dialog box .Can somebody tell me what's wrong?
CristinaPosted Feb 21, 2012, 9:32 AM
I open this page from an other page and i want that the user choose something from my popup /dialog .
And also I want that the code behind to be not editable .And I saw that if i use this methods the code is editable.
Krishna GaradPosted Feb 21, 2012, 9:04 AM