I have below javascript function calling a panel open as popup and all i need is to pass a variable that I can assign in code behind (code block) for title of the window:
$(function () {
$("#<%=pnlDetails.ClientID %>").dialog({
modal: true,
show: 'Slow',
width: '30%',
appendTo: Form1,
title: 'Follow Up Detail Information', buttons: { Close: function () {
$(this).dialog('close');
}
}
});
something like:
$(function () {
$("#<%=pnlDetails.ClientID %>").dialog({
modal: true,
show: 'Slow',
width: '30%',
appendTo: Form1,
title: '#<%=LanguageNumber%>', buttons: { Close: function () {
$(this).dialog('close');
}
}
});