<div id='serialNoExists' style='display:none;'>
<div>
<h5>
</h5>
</div>
<div class="options submitStyle k-button-add">
<input id="closeSerialNoExists" type="button" value="OK" class="k-button" />
</div>
</div>
function openPopUp(title, message) {
var window = $('#serialNoExists');
window.find('h5').html(message);
window.kendoWindow({
modal: true,
title: title,
actions: ['Close'],
width: 400
});
window.data('kendoWindow').center().open();
}
$('#closeSerialNoExists').click(function () {
var window = $('#serialNoExists');
window.data('kendoWindow').close();
});
@if (TempData["IsSerialNoExists"] != null
&& TempData["IsSerialNoExists"] != string.Empty)
{
<text>
openPopUp('Message', 'Serial no. already exists.');
</text>
}
<div>
<h5>
</h5>
</div>
<div class="options submitStyle k-button-add">
<input id="closeSerialNoExists" type="button" value="OK" class="k-button" />
</div>
</div>
function openPopUp(title, message) {
var window = $('#serialNoExists');
window.find('h5').html(message);
window.kendoWindow({
modal: true,
title: title,
actions: ['Close'],
width: 400
});
window.data('kendoWindow').center().open();
}
$('#closeSerialNoExists').click(function () {
var window = $('#serialNoExists');
window.data('kendoWindow').close();
});
@if (TempData["IsSerialNoExists"] != null
&& TempData["IsSerialNoExists"] != string.Empty)
{
<text>
openPopUp('Message', 'Serial no. already exists.');
</text>
}
No comments:
Post a Comment