I have a RadWindow with a content template containing 3 labels. The window is displayed on Button click, but the labels do not update in the RadWindow, instead they keep thier default value. Any help would be great!
Code is a as follows: -
ASPX Page
<telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableShadow="True" KeepInScreenBounds="True" Behaviors="Close, Reload" Modal="True" ReloadOnShow="True" VisibleStatusbar="False"><Windows> <telerik:RadWindow ID="winRegisterSum" runat="server"> <ContentTemplate> <br /> <asp:Label ID="Label2" runat="server" Text="Submit register with the following:"></asp:Label> <br /><br /> <asp:Label ID="lblPresents" runat="server" Text="Presents"></asp:Label> <br /> <asp:Label ID="lblAbsents" runat="server" Text="Presents"></asp:Label> <br /> <asp:Label ID="lblLates" runat="server" Text="Presents"></asp:Label> <br /><br /> <asp:Button ID="btnConfirm" runat="server" Text="Confirm" CssClass="defaultButton" OnClick="btnConfirm_Click"/> </ContentTemplate> </telerik:RadWindow> </Windows></telerik:RadWindowManager>
Code Behind
Label lblPresents = winRegisterSum.ContentContainer.FindControl("lblPresents") as Label;Label lblAbsents = winRegisterSum.ContentContainer.FindControl("lblAbsents") as Label;Label lblLates = winRegisterSum.ContentContainer.FindControl("lblLates") as Label;lblPresents.Text = "New Label";lblAbsents.Text = "New Label";lblLates.Text = "New Label"string script = "function f(){$find(\"" + winRegisterSum.ClientID + "\").show(); Sys.Application.remove_load(f);}Sys.Application.add_load(f);";ScriptManager.RegisterStartupScript(Page, Page.GetType(), "key", script, true); <telerik:GridTemplateColumn HeaderText="Approve">
<ItemTemplate>
<asp:LinkButton ID="LinkButtonIsLinkPublish" CommandName="ShowIsPublish" Text="<span style="font-size: 14px;">Approve</span>"
runat="server"></asp:LinkButton>
</ItemTemplate>
</telerik:GridTemplateColumn><telerik:RadWindow ID="RadWindowIsPublish" runat="server" Title="Approve" Width="250px"
Height="150px" VisibleOnPageLoad="false" Behaviors="Close,Resize,Move" Left="610px">
<ContentTemplate>
<table width="100%">
<tr>
<td align="center">
<telerik:RadButton ID="RadWindowIsPublisRadButton" runat="server" OnClick="RadWindowButton_Onclick"
CommandArgument="radwindowIsPublish">
</telerik:RadButton>
</td>
</tr>
</table>
</ContentTemplate>
</telerik:RadWindow><asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server"> <telerik:RadAjaxManagerProxy ID="mngrProxy" runat="server"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="Search1"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="Search1" /> <telerik:AjaxUpdatedControl ControlID="ViewMain1" LoadingPanelID="lpnlNormal" /> </UpdatedControls> </telerik:AjaxSetting> <telerik:AjaxSetting AjaxControlID="ViewMain1"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="ViewMain1" LoadingPanelID="lpnlNormal" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManagerProxy> <telerik:RadAjaxLoadingPanel ID="lpnlNormal" runat="server"></telerik:RadAjaxLoadingPanel> <div id="divSearch" class="pane pane-left"> <sid:Search ID="Search1" runat="server" OnSearchStarted="Search1_SearchStarted"></sid:Search> </div> <div id="divView" class="pane pane-right"> <sid:ViewMain ID="ViewMain1" runat="server"></sid:ViewMain> </div> <div class="clear-both" /></asp:Content>RadPivotGrid1.FilterByValue(PivotGridFilterFunction.IsGreaterThan, pivotGridField, RadPivotGrid1.Fields.GetFieldByUniqueName("Butce") as PivotGridAggregateField, "0", true);RadPivotGrid1.FilterByValue(PivotGridFilterFunction.IsGreaterThan, pivotGridField, RadPivotGrid1.Fields.GetFieldByUniqueName("Fiili") as PivotGridAggregateField, "0", true);Hi,
We've implemented RADSchedular control for our application. Scheduler control running properly in every browser except Internet Explorer 10 (IE 10).
In case of IE 10
1. Scheduler layout is not showing properly. (Please see the attached image - Schedular_IE_10.png)
2. Right click event is now working.
Whereas in Chrome it shows the proper layout. (Schedular_In_Chrome.png)
We've make some changes according to these instructions -
http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/javascript-errors-in-ie10-and-the-site-is-working-fine-in-the-rest-browsers.aspx
We've followed "SITE-ONLY FIXES", but we are unable to solve the issue.
Development Environment
.NET Framework - 4.0.
Windows 7.
Visual Studio 2010.
Telerik.Web.UI - 2012.1.411.40
Telerik.Web.UI.Skins - 2012.1.411.40
Thanks in advance for your valuable inputs.
Thanking you.
Best Regards,
Pratap