Hi Telerik,
I have the following code:
I would like to display icons indicative of success/failure. That is, changing the titlebar LHS icon and the LHS icon in the body of the window. Do I need to use a full radwindow to do this?
I have the following code:
function
SaveDashboard(pane, eventArgs) {
loadingPanel = $find(radAjaxLoadingPanel1ID);
loadingPanel.show(baseSplitterID);
eventArgs.set_cancel(
true
);
window.PageMethods.SaveToDatabase(
function
(result) {
if
(result ==
true
) {
window.radalert(
'Dashboard saved successfully.'
, 275, 100,
"Save Successful"
);
}
else
{
window.radalert(
'Dashboard NOT saved successfully.'
, 240, 100,
"Save Unsuccessful"
);
}
loadingPanel.hide(baseSplitterID);
});
}
I would like to display icons indicative of success/failure. That is, changing the titlebar LHS icon and the LHS icon in the body of the window. Do I need to use a full radwindow to do this?