UserControl 1 <script type="text/javascript"> function closeAndOpen() { $find("<%= modalWindow.ClientID %>").close(); $find("<%= confirmationWindow.ClientID %>").show() } </script> <div class="links"> <asp:LinkButton ID="changeProfile" runat="server" meta:resourcekey="changeUsername" CssClass="fontUnderline linkFont noLink" CausesValidation="False" OnClick="changeProfile_Click"></asp:LinkButton> </div> <telerik:RadWindowManager ID="radWindowManager" runat="server" DestroyOnClose="false" EnableShadow="true" ShowContentDuringLoad="false" VisibleStatusbar="false" ReloadOnShow="true" Opacity="100"> <Windows> <telerik:RadWindow ID="modalWindow" runat="server" Visible="false" VisibleOnPageLoad="true" VisibleStatusbar="false" Behaviors="None"> <ContentTemplate> <uc:Profile ID="changeProfileControl" runat="server" Visible="false" /> </ContentTemplate> </telerik:RadWindow> <telerik:RadWindow ID="confirmationWindow" runat="server" Visible="false" VisibleOnPageLoad="true" VisibleStatusbar="false" Behaviors="None"> <ContentTemplate> <uc:successmessage ID="confirmation" runat="server" /> </ContentTemplate> </telerik:RadWindow> </Windows> </telerik:RadWindowManager> UserControl 2: In my button click event I am registering the script Protected Button_Click() { //Do some process ScriptManager.RegisterStartupScript(this, this.GetType(), "Testing Script", "closeAndOpen();", true); }
using eis = Telerik.Web.UI.ExportInfrastructure; protected void RadGrid1_BiffExporting ( object sender, GridBiffExportingEventArgs e ) { eis.Table tbl = e.ExportStructure.Tables [ 0 ]; eis.Row row = new eis.Row ( tbl ); eis.Cell newCell = row.Cells [ 1, 1 ]; newCell.Value = "Default text used in this cell."; newCell.Colspan = tbl.Columns.Count - 1; newCell.Style.Font.Bold = true; newCell.Style.Font.Size = 15; ... there is no Add()/Insert(...) method that I can find. }I am running into an issue with Y-axis scales in combination chart .I have 2 measures as 2 series items represented on Y axis with data ranging from 2 to 3 and x-axis has months, left the measures box field empty. The y-axis scale after the report is run is giving multiple values like 0,0,1,1,2,2,3,3..so on instead of 0,1,2,3,4.. I have tried changing the scale interval number under the properties but it's causing the data skewed
RadComboBoxItem seperator = new RadComboBoxItem("<hr />", "<hr />") { IsSeparator = true };
i'm using telerik gridview like here http://demos.telerik.com/aspnet-ajax/grid/examples/overview/defaultcs.aspx but in that demo when filter data it shows a loding with blue background in my case it reloads my page everytime i filter it, maybe because i'm getting the data from different tables into the rad gridview?
i have enabled ajax so why it reloads? is there a way to not refresh the page like that
by the way how to activate pdf export?
choose default id panel is empty , why? i'm using metro skin
also how can i edit some fields only when we are at edit template i dont see the textboxes in designtime...
also filter options are not getting translates nor filter when we set culture why?

After we enter text in a RadTextbox, pressing the Enter key is triggering click event of Submit button. In order to avoid this, we included below dummy button logic within the aspx page:
<form id="frm" runat="server" defaultbutton="btnIgnore">
<asp:Button ID="btnIgnore" runat="server" Style="Position:Absolute; Top:-200px" Text="Ignore" Width="90px" EnableViewState="False" OnClientClick="javascript:return false;" />
This change resolved Enter key issue but the side effect has been with AJAX repost like radio button or dropdown click taking the display to the top of the page.
Could you please let us know if you have a workaround for resolving this issue i.e., to keep the display at the same place instead of moving to the top?

Public Sub ReplaceText(ByRef myControls As ControlCollection) Dim ReplacementText As String = HttpContext.Current.Session("ReplacementText") If String.IsNullOrEmpty(ReplacementText) Then Exit Sub Dim ReplacementTextUpper As String = ReplacementText.ToUpper For Each myControl As Control In myControls If TypeOf myControl Is Label Then Dim lbl As Label = CType(myControl, Label) Dim labelText As String = String.Format("[{0}", lbl.Text.Trim.ToUpper) Dim textPosition As Integer = InStr(ReplacementTextUpper, labelText) If labelText <> "[" And textPosition > 0 Then 'Parse ReplacementText for = and > sign and get string between Dim Pos1 = ReplacementText.IndexOf("=", textPosition) Dim Pos2 = ReplacementText.IndexOf("]", Pos1) Dim ReplaceWith As String = ReplacementText.Substring(Pos1 + 1, (Pos2 - Pos1) - 1) lbl.Text = ReplaceWith End If End If If myControl.HasControls Then ReplaceText(myControl.Controls) End If Next End Sub