or
| <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Default" %> |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head runat="server"> |
| <title></title> |
| <telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server" /> |
| </head> |
| <body> |
| <form id="form1" runat="server"> |
| <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> |
| <Scripts> |
| <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" /> |
| <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" /> |
| </Scripts> |
| </telerik:RadScriptManager> |
| <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> |
| </telerik:RadAjaxManager> |
| <telerik:RadSkinManager ID="RadSkinManager1" Runat="server" Skin="Office2007"> |
| </telerik:RadSkinManager> |
| <div> |
| <telerik:RadToolTipManager ID="mng1" runat="server" OnAjaxUpdate="mng1_OnAjaxUpdate" HideEvent="ManualClose" Modal="true" > |
| <TargetControls> |
| <telerik:ToolTipTargetControl TargetControlID="target" /> |
| </TargetControls> |
| </telerik:RadToolTipManager> |
| <asp:HyperLink ID="target" runat="server" Text="Target Control" NavigateUrl="#"></asp:HyperLink> |
| <telerik:RadTextBox ID="RadTextBox1" runat="server"> |
| </telerik:RadTextBox> |
| </div> |
| </form> |
| </body> |
| </html> |
| <telerik:RadGrid ID="RadGrid1" runat="server" width="500px" GridLines="None" |
| AllowAutomaticInserts="True" AllowAutomaticUpdates="True" |
| AutoGenerateColumns="False" AutoGenerateEditColumn="True" |
| ShowFooter="True" ShowStatusBar="True" AllowPaging="True" PageSize="5" |
| Skin="Telerik"> |
| <mastertableview editmode="EditForms" |
| enableheadercontextmenu="True" |
| insertitempageindexaction="ShowItemOnFirstPage" |
| ShowGroupFooter="True" InsertItemDisplay="Bottom" |
| DataKeyNames="UID"> |
| <Columns> |
| <telerik:GridBoundColumn |
| DataField="UID" ReadOnly="True" |
| HeaderText="UID" UniqueName="UID" Visible="false"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="DCId" ReadOnly="True" |
| HeaderText="DCId" UniqueName="DCId"> |
| <ItemStyle Width="100" /> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="MRDR_NR" HeaderText="MRDR_NR" UniqueName="MRDR_NR"> |
| <ItemStyle Width="100" /> |
| </telerik:GridBoundColumn> |
| </Columns> |
| </mastertableview> |
| </telerik:RadGrid> |
| private void WSDataBind() |
| { |
| WholesalerBM oWholeSalerBM = new WholesalerBM(); |
| WholesalerFilter oWholesalerFilter = new WholesalerFilter(); |
| oWholesalerFilter.WholesalerUID = new Guid ("36C68452-36BF-4FF2-8E32-39DAB8490839"); |
| WholesalerDataSet oWholesalerDataSet = oWholeSalerBM.SelectWholesalerWithRelations(oWholesalerFilter, true); |
| Session[_strWholesalerDataSet] = oWholesalerDataSet; |
| RadGrid1.DataSource = oWholesalerDataSet.WholesalerMRDR; |
| RadGrid1.DataBind(); |
| } |
Hi,
I am using a custom Inline Edit in the scheduler. Iam able to open the Inline pop-up window add the required information and whenclicking on Insert (Button), it saves the information to the database but doesnot close the pop-up window and refresh the scheduler. I am doing this usingthe onappoinmentcommand event.
While trying to edit an appointment the customInline Edit pop-up window comes up and I am able to save the changes. Thepop-up window also closes appropriately but, the changes made to theappointment do not reflect in the scheduler.
I need help in this so that the pop-up window closesand the changes are reflected immediately on the scheduler.
Thanks
Sabarish
| function GetRadWindow() { |
| var oWindow = null; |
| if (window.radWindow) |
| oWindow = window.radWindow; |
| else if (window.frameElement.radWindow) |
| oWindow = window.frameElement.radWindow; |
| return oWindow; |
| } |
| textBox.ClientEvents.OnButtonClick = "OpenLookupResultsWindow(0, 8)"; |
| <td class="riBtn"><a href="#" onclick="return false;" id="HeaderGridDock_C_HeaderGrid1_radGrid_ctl00_ctl04_HeaderGridTextBox-0-0_GoButton"><span>Button</span></a></td> |
| Sys.Application.add_init(function() { |
| $create(Telerik.Web.UI.RadTextBox, {"_focused":false,"clientStateFieldID":"HeaderGridDock_C_HeaderGrid1_radGrid_ctl00_ctl04_HeaderGridTextBox-8-0_ClientState","enabled":true,"showButton":true,"styles":{HoveredStyle: ["width:97px;", "riTextBox riHover"],InvalidStyle: ["width:97px;", "riTextBox riError"],DisabledStyle: ["width:97px;", "riTextBox riDisabled"],FocusedStyle: ["width:97px;", "riTextBox riFocused"],EmptyMessageStyle: ["width:97px;", "riTextBox riEmpty"],ReadOnlyStyle: ["width:97px;", "riTextBox riRead"],EnabledStyle: ["width:97px;", "riTextBox riEnabled"]}}, {"buttonClick":OpenLookupResultsWindow(0,8)}, null, $get("HeaderGridDock_C_HeaderGrid1_radGrid_ctl00_ctl04_HeaderGridTextBox-8-0")); |