我的页面中有一个RadWindow,我想在JavaScript上打开RadWindow确认Ok点击。 它没有获得radwindow的clientid:
function getAddWindowOnConfirm() {
var proceed = confirm("Click ok to continue");
if (proceed == true) {
var wnd = $find('<%=RadWindow1.ClientID %>');
if (wnd != null) {
wnd.set_title("Add Test");
}
var id = 0;
var frm = "Test.aspx";
var urlSearchString = frm + "?id=" + id;
window.scrollTo(0, 0);
radopen(urlSearchString, "RadWindow1");
}
else {
//indow.location = "<base target='_parent'>";
}
}