Hi,
I'm basing my question off of the example here:
http://www.telerik.com/help/aspnet-ajax/window-programming-calling-functions.html
The example has this nice and simple javascript function:
What I would like is to make the function that gets called a parameter like this (which of course won't work, but that's where you geniuses come in!)
Help!
Thank you!
I'm basing my question off of the example here:
http://www.telerik.com/help/aspnet-ajax/window-programming-calling-functions.html
The example has this nice and simple javascript function:
function CallFn() { var oWnd = GetRadWindowManager().getWindowByName("RadWindow1"); oWnd.get_contentFrame().contentWindow.CalledFn(); }
What I would like is to make the function that gets called a parameter like this (which of course won't work, but that's where you geniuses come in!)
function CallFn(WindowName,FunctionName) { var oWnd = GetRadWindowManager().getWindowByName(WindowName); oWnd.get_contentFrame().contentWindow.FunctionName }
Help!
Thank you!