
My Problem is me getting the Loading Panel Only for the first tab click.for the remaining tabs not getting the loading panel
here is my Code
Master Page: <body style="overflow: hidden;"> <form id="form1" runat="server"> <telerik:RadScriptManager ID="rdScrptFacilityMgr" runat="server" LoadScriptsBeforeUI="false" EnablePartialRendering="true"> <CompositeScript> <Scripts> <asp:ScriptReference Path="~/Scripts/FMScripts.js" /> <asp:ScriptReference Path="~/Scripts/jquery-1.4.1.js" /> </Scripts> </CompositeScript> </telerik:RadScriptManager> <telerik:RadAjaxManager ID="rdMasterAjaxManager" runat="server" EnableAJAX="true" OnAjaxRequest="rdMasterAjaxManager_AjaxRequest" ClientIDMode="Static" SkinID="Web20"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="rdtrvFacilityMngmt" EventName="OnNodeClick"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="cntPlaceholder" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManager> <asp:ContentPlaceHolder ID="cntPlaceholder" runat="server"> </asp:ContentPlaceHolder> <body> ASPX Page: <asp:Content ID="cntCompany" ContentPlaceHolderID="cntPlaceholder" runat="Server"> <telerik:RadScriptBlock ID="rdScriptBlock" runat="server"> <script type="text/javascript"> rdTabStripID = '<%= rdtbstripCompanyInfo.ClientID %>'; </script> </telerik:RadScriptBlock> <telerik:RadAjaxManagerProxy ID="RadAjaxManager1" runat="server"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="rdtbstripCompanyInfo"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="rdtbstripCompanyInfo" /> <telerik:AjaxUpdatedControl ControlID="rdmltpgCompany" LoadingPanelID="rdLoadingPanel" /> </UpdatedControls> </telerik:AjaxSetting> <telerik:AjaxSetting AjaxControlID="rdmltpgCompany"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="rdmltpgCompany" LoadingPanelID="rdLoadingPanel" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManagerProxy> <telerik:RadAjaxLoadingPanel ID="rdLoadingPanel" runat="server" Skin="Web20"> </telerik:RadAjaxLoadingPanel> <telerik:RadTabStrip ID="rdtbstripCompanyInfo" runat="server" Skin="Office2007" MultiPageID="rdmltpgCompany" SelectedIndex="0" AutoPostBack="True" OnTabClick="rdtbstripCompanyInfo_Click" OnClientTabSelecting="onTabSelecting" ViewStateMode="Disabled"> <Tabs> <telerik:RadTab Text="<%$ Resources:FMGlobalResource, Information %>" PageViewID="rdpgviewCompanyInformation" Value="CompanyInformation"> </telerik:RadTab> <telerik:RadTab Text="<%$ Resources:AssociatedSupplier %>" PageViewID="rdpgviewAssociatedSuppliers" Value="AssociatedSupplier"> </telerik:RadTab> <telerik:RadTab Text="<%$ Resources:MoreAddresses %>" PageViewID="rdpgviewAssociatedSuppliers" Value="MoreAddress"> </telerik:RadTab> </Tabs> </telerik:RadTabStrip> <telerik:RadMultiPage ID="rdmltpgCompany" runat="server" SelectedIndex="0" CssClass="formView" Width="100%"> <telerik:RadPageView ID="rdpgviewCompanyInformation" runat="server" Width="100%"> <UC:CompanyInformation ID="ucCompanyInformation" runat="server" EnableViewState="false" /> </telerik:RadPageView> <telerik:RadPageView ID="rdpgviewAssociatedSupplier" runat="server" Width="100%"> <UC:AssociatedSupplier ID="ucAssociatedSupplier" runat="server" EnableViewState="false" /> </telerik:RadPageView> <telerik:RadPageView ID="rdpgviewMoreAddress" runat="server" Width="100%"> <UC:MoreAddress ID="ucMoreAddress" runat="server" EnableViewState="false" /> </telerik:RadPageView> </telerik:RadMultiPage> </asp:Content>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"DefaultLoadingPanelID="RadAjaxLoadingPanel1"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="RadGrid1"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManager><telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" /><telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="true" AllowAutomaticDeletes="True" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" AutoGenerateDeleteColumn="True" AutoGenerateEditColumn="True" DataSourceID="SqlDataSource1" GridLines="None" AllowSorting="true" ShowGroupPanel="true"> <ClientSettings AllowDragToGroup="True" /> <MasterTableView DataKeyNames="id" DataSourceID="SqlDataSource1" EditMode="InPlace"> <ExpandCollapseColumn Visible="True"> </ExpandCollapseColumn> <NestedViewSettings DataSourceID="SqlDataSource2"> <ParentTableRelation> <telerik:GridRelationFields DetailKeyField="id" MasterKeyField="id" /> </ParentTableRelation> </NestedViewSettings> <NestedViewTemplate> <div class="contactWrap"> <asp:Panel runat="server" ID="InnerContainer" CssClass="viewWrap"> <telerik:RadTabStrip runat="server" ID="TabStip1" MultiPageID="Multipage1" SelectedIndex="0" DataNavigateUrlField="URL"> <Tabs> <telerik:RadTab runat="server" Text="Tab1" PageViewID="PageView1"> </telerik:RadTab> <telerik:RadTab runat="server" Text="Tab2" PageViewID="PageView2"> </telerik:RadTab> <telerik:RadTab runat="server" Text="Tab3" PageViewID="PageView3"> </telerik:RadTab> </Tabs> </telerik:RadTabStrip> <telerik:RadMultiPage runat="server" ID="Multipage1" SelectedIndex="0" RenderSelectedPageOnly="true"> <telerik:RadPageView runat="server" ID="PageView1"> Tab 1 </telerik:RadPageView> <telerik:RadPageView runat="server" ID="PageView2"> Tab 2 </telerik:RadPageView> <telerik:RadPageView runat="server" ID="PageView3"> tab 3 </telerik:RadPageView> </telerik:RadMultiPage> </asp:Panel> </div> </NestedViewTemplate> </MasterTableView> <GroupingSettings ShowUnGroupButton="true" /></telerik:RadGrid>if
(UltraWebGrid1.Rows[i].Cells[7].DataChanged == true
{
<EditFormSettings EditFormType="Template" >
<FormStyle CssClass="GridForm"></FormStyle>
<FormTemplate>
<uc:UserRights ID="urEditForm" UserID='<%# (Container is GridEditFormInsertItem) ? 0 : DataBinder.Eval(Container.DataItem,"ID") %>'
runat="server"/>
</FormTemplate>
</EditFormSettings>My question is: what event can I hook that will provide me both access to the identity column value of the newly inserted item AND still let me trigger the public method on my user control so that it can update what it needs to update?
(There is much more to the form than simply the user control. We are using mostly databound controls on the form template. This user control is somewhat more complex and needs to be reusable, which is why we chose to compartmentalize it into its own control.)
Thanks!
have the following code to export and I get this error:
Code:
protected void RadScheduler1_AppointmentCommand(object sender, AppointmentCommandEventArgs e)
{
if (e.CommandName == "Export")
{
WriteCalendar(
RadScheduler.ExportToICalendar(e.Container.Appointment));
}
}
private
void WriteCalendar(string data)
{
HttpResponse response = Page.Response;
response.End();
response.Clear();
response.Buffer =
true;
response.ContentType =
"text/calendar";
response.ContentEncoding =
Encoding.UTF8;
response.Charset =
"utf-8";
response.AddHeader(
"Content-Disposition", "attachment;filename=\"RadSchedulerExport.ics\"");
response.Write(data);
response.End();
}
htm in the code:
function Export(sender, e)
{
$find(
"<%# RadAjaxManager1.ClientID %>").__doPostBack(sender.name, "");
}
<
telerik:RadScheduler ID="RadScheduler1" runat="server" Skin="Hay" StartInsertingInAdvancedForm="True"
OnAppointmentDelete="RadScheduler1_AppointmentDelete" OnAppointmentUpdate="RadScheduler1_AppointmentUpdate"
OnAppointmentInsert="RadScheduler1_AppointmentInsert" OnNavigationComplete="RadScheduler1_NavigationComplete"
Height="550px" Width="800px" CustomAttributeNames="Engagement,CodigoEmpleado"
OnAppointmentDataBound="RadScheduler1_AppointmentDataBound" ShowFooter="False"
DayStartTime="07:00:00" WorkDayEndTime="18:00:00" WorkDayStartTime="07:00:00"
OnAppointmentCreated="RadScheduler1_AppointmentCreated" OnFormCreating="RadScheduler1_FormCreating"
OnFormCreated="RadScheduler1_FormCreated" EnableDescriptionField="True" BorderStyle="Solid"
EnableCustomAttributeEditing="True" OnAppointmentCommand="RadScheduler1_AppointmentCommand">
<TimelineView UserSelectable="False" />
<AppointmentTemplate>
<span style="font-weight: bold; font-size: small">
<div>
<%
# Eval("Subject") %>
<asp:Button runat="server" ID="Button1" CssClass="rsExportButton" ToolTip="Exportar reserva"
CommandName="Export" OnClientClick="Export(this, event); return false;" Style="cursor: pointer;
cursor: hand;"
/>
</div>
</span>
<%
# Eval("Resources[0].text") %>
<div>
<%
# Eval("Resources[1].text")%>
</div>
</AppointmentTemplate>
<TimeSlotContextMenuSettings EnableDefault="True" />
<AppointmentContextMenuSettings EnableDefault="True" />
<AdvancedForm Modal="True" EnableCustomAttributeEditing="True" />
<WeekView DayStartTime="07:00:00" WorkDayEndTime="18:00:00" WorkDayStartTime="07:00:00" />
<Localization AdvancedAllDayEvent="Todo el día" AllDay="Todo el día" AdvancedEditAppointment="Modificar Reserva"
AdvancedNewAppointment="Nueva Reserva" Cancel="Cancelar" ConfirmDeleteText="Esta seguro de querer eliminar la reserva?"
Save="Guardar" />
<DayView DayStartTime="07:00:00" WorkDayEndTime="18:00:00" WorkDayStartTime="07:00:00" />
</telerik:RadScheduler>
the error that throws me is:
Sys.webforms.PageRequestManagerParseErrorException: the message received the server could not be parsed. Common couses for this error are when the response is modified by call to Response.Write(), response filters HttpModules or server trace is enabled.
Details: error pasing near 'BEGIN:VCALENDAR VER'
that may be, thanks for your help