Hi,
I've this javascript:
function radwin_close(radWin) {
var objArg;
objArg = radWin.Argument;
document.getElementById("<%= txtPath.ClientID %>").value = objArg.Path
}
I'm calling this function on RadWindowManager: OnClientClose="radwin_close". I'm putting this as a user control, if I have 2 same user controls (1.ascx, 2.ascx) in the same page, in runtime, the page will generate 2 same function radwin_close(radWin). so how can i differentiate when i open radwindow from 1.ascx, it will call the 1.ascx javascript function?
Regards.
I've this javascript:
function radwin_close(radWin) {
var objArg;
objArg = radWin.Argument;
document.getElementById("<%= txtPath.ClientID %>").value = objArg.Path
}
I'm calling this function on RadWindowManager: OnClientClose="radwin_close". I'm putting this as a user control, if I have 2 same user controls (1.ascx, 2.ascx) in the same page, in runtime, the page will generate 2 same function radwin_close(radWin). so how can i differentiate when i open radwindow from 1.ascx, it will call the 1.ascx javascript function?
Regards.