or
<telerik:RadNumericTextBox ID="overAmountTextBox" Runat="server" MaxLength="13" MaxValue="999999.999999" MinValue="-999999.999999" Text='<%# Bind("overAmount") %>' TabIndex="7"> <ClientEvents OnLoad="onLoadAmount" /> <FocusedStyle HorizontalAlign="Right" /> <EnabledStyle HorizontalAlign="Right" /> <NumberFormat DecimalDigits="4" /></telerik:RadNumericTextBox><script type="text/javascript"> //<![CDATA[ // function onLoadAmount(sender, args) { alert('Amount'); } //]]></script>Hi,
Is there a way to detect a double-click on the title icon on the left side? Our users are expecting to close the window by double clicking on it as they would do in a Windows application.
Thanks.
/// <summary>/// Parses custom/default commands of RadDock./// </summary>public void RadDock_Command(object sender, DockCommandEventArgs e){ Logger.InfoFormat("Command {0} detected for {1} ", e.Command.Name, ID); switch (e.Command.Name) { case "Close": Close(); break; case "Refresh": RefreshContent(ForceCacheRefresh.True); break; case "Toggle Legend": ToggleLegend(); break; case "Undo Drill Down": UndoDrillDown(); break; default: Logger.ErrorFormat("Unhandled command name: {0}", e.Command.Name); break; }}public void RaisePostBackEvent(string eventArgument){ HandleDialogClose(eventArgument);}private void HandleDialogClose(string json){ if (json.Contains("HistoricalLocalSettingsJSON")) { UpdateSettings(JsonConvert.DeserializeObject<HistoricalLocalSettingsJSON>(json)); } else if (json.Contains("CustomLocalSettingsJSON")) { UpdateSettings(JsonConvert.DeserializeObject<CustomLocalSettingsJSON>(json)); } else { Logger.ErrorFormat("Unable to handle JSON: {0}", json); }}