Hi all,
I have a custom command created like so:
The RadWindow appears fine and everything works as expected, but, in the background I can see my page refreshing when I click the custom command button -- even though autopostback is set to false. My RadWindow doesn't flash, and it's modal so the background can't be interacted with, but it is still distracting to see it refreshing once when my RadWindow is already displayed.
Any ideas on why this would be happening?
I have a custom command created like so:
DockCommand settingsCommand =
new
DockCommand();
settingsCommand.Name =
"Local Settings"
;
settingsCommand.Text =
"Local Settings"
;
settingsCommand.CssClass =
"LocalSettings"
;
settingsCommand.AutoPostBack =
false
;
settingsCommand.OnClientCommand =
"ShowLocalSettings"
;
Commands.Add(settingsCommand);
function
ShowLocalSettings(sender, eventArgs) {
radDock = sender;
var
oWindow = window.radopen(
null
,
"LocalSettingsWindow"
);
oWindow.center();
}
The RadWindow appears fine and everything works as expected, but, in the background I can see my page refreshing when I click the custom command button -- even though autopostback is set to false. My RadWindow doesn't flash, and it's modal so the background can't be interacted with, but it is still distracting to see it refreshing once when my RadWindow is already displayed.
Any ideas on why this would be happening?