How do you create a new instance of a RadWindow using Javascript, I am trying to create multiple RadWindows based on the CommandName of the Button on the Ribbon. For example, a button called "Create Chart" will open a new window of a chart, and the user can click "Create Grid" to display a grid window, both of the windows should be on the page. And I am trying to do this without a postback...which is why I want to create them using Javascript.
Here is the function I am trying
function dsxRibbonBar_ButtonClicked(sender,args)
{
var windowType = args.get_commandName();//How do I get the the button command name?
alert(windowType);
}
Thanks in advance.
Michael
Here is the function I am trying
function dsxRibbonBar_ButtonClicked(sender,args)
{
var windowType = args.get_commandName();//How do I get the the button command name?
alert(windowType);
}
Thanks in advance.
Michael