I know a lot of discussion are about it, probably i'm dumb enough to not see how to use them for my case.
ASPX: contains a couple of ASCX (ASCX1, ASCX2). It needs a radajaxmanager
ASCX2: within I have a radwindow. as i close it I need to perform an AjaxRequest
How to?
First, where do i place my javascript?
function OpenNewsCategory(ID, SelCat) {
var wnd = $find("<%=RadWindowName.ClientID%>");
wnd.show();
wnd.setUrl("mypgae.aspx?ID=" + ID);
}
function closeRadWindow(oWnd, args) {
var arg = args.get_argument();
var arguments;
if (arg) {
if (arg.Index != '') {
arguments = arg.Index + "," + arg.bSender;
alert('closeRadWindow parameters ' + arguments);
}
oWnd.argument = null;
}
ajaxManager.ajaxRequest('closeRadWindow' + arguments);
}
Second, I would like to manage the servside code of ajaxrequest within the usercontrol and the javascript too. is it possibile?
do i need radajaxproxy? if it's so, how?
Thank you
ASPX: contains a couple of ASCX (ASCX1, ASCX2). It needs a radajaxmanager
ASCX2: within I have a radwindow. as i close it I need to perform an AjaxRequest
How to?
First, where do i place my javascript?
function OpenNewsCategory(ID, SelCat) {
var wnd = $find("<%=RadWindowName.ClientID%>");
wnd.show();
wnd.setUrl("mypgae.aspx?ID=" + ID);
}
function closeRadWindow(oWnd, args) {
var arg = args.get_argument();
var arguments;
if (arg) {
if (arg.Index != '') {
arguments = arg.Index + "," + arg.bSender;
alert('closeRadWindow parameters ' + arguments);
}
oWnd.argument = null;
}
ajaxManager.ajaxRequest('closeRadWindow' + arguments);
}
Second, I would like to manage the servside code of ajaxrequest within the usercontrol and the javascript too. is it possibile?
do i need radajaxproxy? if it's so, how?
Thank you