or


ShowContentDuringLoad="False" at rad window a scroll bar appears at radgrid inside the rad window.Can you please help. My telerik version is Q2 2013. Please check the attached image.<telerik:RadGrid ID="RadGrid1" runat="server" OnItemCreated="RadGrid1_ItemCreated" OnItemCommand="RadGrid1_ItemCommand" AutoGenerateColumns="false"<br> AllowSorting="True" CellSpacing="0" GridLines="None" ShowHeader="false"><br> <GroupingSettings RetainGroupFootersVisibility="True" /><br> <ClientSettings><br> <Scrolling UseStaticHeaders="false" /><br> </ClientSettings><br> <MasterTableView CommandItemDisplay="Top"><br> <CommandItemSettings ShowExportToExcelButton="false" ShowAddNewRecordButton="false" ShowRefreshButton="false" ShowExportToPdfButton="true"></CommandItemSettings><br><ItemTemplate><br> <asp:Panel ID="ItemContainer" CssClass='<%# (((GridItem)Container).ItemType == GridItemType.Item)? "item" : "alternatingItem" %>'<br> runat="server"><br> <table class="no-border"><br> <tbody><br> <tr><br> <td class="catalog-item-img"><br> <img id="Img1" runat="server" src='<%# ResolveUrl("~/Service.ashx?model=document&action=DOWNLOAD¤tLanguageId="+Eval("ProducedLanguage.Id")+"&Type=Cover") %>' width="150" height="200" /><br> </td><br> <td class="catalog-item"><br> <h5><br> <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# "~/ViewPublication.aspx?id="+Eval("MasterPublication.Id")+"&tab=i&ln="+Eval("PublicationId")%>'><%#Eval("ProducedLanguage.Title") %> </asp:HyperLink><br> </h5><br> <p><br> <strong>Language: </strong><br> <asp:Label runat="server" ID="lblLanguage" Text='<%#Eval("ProducedLanguage.Language.Name") %>'></asp:Label><br> - <strong>Isbn: </strong><br> <asp:Label runat="server" ID="lblIsbn" Text='<%#Eval("ProducedLanguage.Isbn") %>'></asp:Label><br> - <strong>Year: </strong><br> <asp:Label runat="server" ID="Label3" Text='<%#Eval("Year") %>'></asp:Label><br> - <strong>Pages: </strong><br> <asp:Label runat="server" ID="lblPages" Text='<%#Eval("Pages") %>'></asp:Label><br> <br /><br> <strong>Category: </strong><br> <asp:Label runat="server" ID="Label1" Text='<%#GetContentGroups(Eval("MasterPublication") as ItcPublications.Models.MasterPublication) %>'> </asp:Label><br> - <strong>Sales price: </strong><br> <asp:Label runat="server" ID="Label2" Text='<%#Eval("UnitPrice")+" $" %>'></asp:Label><br> </p><br> <div><br> <asp:Label runat="server" ID="lblBlurb" Text='<%#Eval("ProducedLanguage.MarketingBlurb") %>'></asp:Label><br> </div><br> </td><br> </tr><br> </tbody><br> </table><br> </asp:Panel><br> </ItemTemplate><br></MasterTableView><br> <ExportSettings SuppressColumnDataFormatStrings="false" IgnorePaging="true" FileName="MostPopularPublications"><br> <Pdf Author="ITC" Creator="ITC" Subject="Marketing Catalog" Title="Marketing Catalog" DefaultFontFamily="Arial, Helvetica, Geneva, Swiss, SunSans-Regular" PageLeftMargin="10" PageRightMargin="7" /><br> </ExportSettings><br> <ItemStyle ForeColor="#0066cc" /><br> </telerik:RadGrid><%@ Page Title="Home Page" Language="VB" MasterPageFile="~/Child.Master" AutoEventWireup="true" CodeBehind="Default.aspx.vb" Inherits="MainApp._Default" %><%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %><asp:Content runat="server" ID="LeftNav" ContentPlaceHolderID="ChildContentLeftPanel"> <telerik:RadCalendar ID="RadCalendar1" runat="server" Skin="Forest" > <WeekendDayStyle CssClass="rcWeekend" /> <CalendarTableStyle CssClass="rcMainTable"/> <OtherMonthDayStyle CssClass="rcOtherMonth"/> <OutOfRangeDayStyle CssClass="rcOutOfRange"/> <DisabledDayStyle CssClass="rcDisabled"/> <SelectedDayStyle CssClass="rcSelected"/> <DayOverStyle CssClass="rcHover"/> <FastNavigationStyle CssClass="RadCalendarMonthView RadCalendarMonthView_Forest"/> <ViewSelectorStyle CssClass="rcViewSel"/> </telerik:RadCalendar></asp:Content><asp:Content runat="server" ID="NavigationContent" ContentPlaceHolderID="ChildContent1"> <telerik:RadAjaxLoadingPanel runat="server" ID="LoadingPanel1" Skin="Forest"/> <telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server" > <AjaxSettings> <telerik:AjaxSetting AjaxControlID="NavTabStrip"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="NavTabStrip"></telerik:AjaxUpdatedControl> <telerik:AjaxUpdatedControl ControlID="RadMultiPage1" LoadingPanelID="LoadingPanel1"></telerik:AjaxUpdatedControl> </UpdatedControls> </telerik:AjaxSetting> <telerik:AjaxSetting AjaxControlID="RadMultiPage1"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="RadMultiPage1" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManagerProxy> <script type="text/javascript"> function onTabSelecting(sender, args) { if (args.get_tab().get_pageViewID()) { args.get_tab().set_postBack(false); } } </script> <div class="exampleWrapper"> <telerik:RadTabStrip ID="NavTabStrip" runat="server" SelectedIndex="0" MultiPageID="RadMultipPage1" Skin="Forest" Align="Justify" OnTabClick="NavTabStrip_TabClick" OnClientTabSelecting="onTabSelecting" /> <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" OnPageViewCreated="RadMultiPage1_PageViewCreated" /> </div></asp:Content><asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="ChildContent2"></asp:Content>Imports SystemImports Telerik.Web.UIPartial Public Class _Default Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Load If Not Page.IsPostBack Then SetStoreID(Page.Master) Dim dal As Navigation = New Navigation Dim ds As DataSet = dal.NavigationSelect(0) Dim bAddPageView As Boolean = True Dim sObjectPath As String = String.Empty For Each row As DataRow In ds.Tables(0).Rows If IsDBNull(row.Item("ObjectPath")) Then sObjectPath = String.Empty Else sObjectPath = row.Item("ObjectPath") End If AddTab(row.Item("NavName"), sObjectPath, bAddPageView) bAddPageView = False Next End If End Sub Private Sub SetStoreID(ByVal sender As Object) Dim sStoreID As String Dim DAL As Store = New Store sStoreID = DAL.StoreCurrentStoreIDSelect Dim StoreID As HiddenField = FindControlRecursive(sender, "StoreID") StoreID.Value = sStoreID End Sub Private Sub AddTab(ByVal tabName As String, ByVal ObjectPath As String, ByVal bAddPageView As Boolean) Dim tab As RadTab = New RadTab tab.Text = tabName tab.Attributes.Add("ObjectPath", ObjectPath) NavTabStrip.Tabs.Add(tab) If bAddPageView Then AddPageView(tab) End If End Sub Protected Sub RadMultiPage1_PageViewCreated(ByVal sender As Object, ByVal e As RadMultiPageEventArgs) Handles RadMultiPage1.PageViewCreated Dim tab As RadTab = NavTabStrip.SelectedTab Dim userControlName As String = tab.Attributes("ObjectPath") Dim userControl As Control = Page.LoadControl(userControlName) userControl.ID = e.PageView.ID & "_userControl" e.PageView.Controls.Add(userControl) End Sub Private Sub AddPageView(ByVal tab As RadTab) Dim pageView As RadPageView = New RadPageView pageView.ID = tab.Text RadMultiPage1.PageViews.Add(pageView) tab.PageViewID = pageView.ID pageView.Selected = True End Sub Protected Sub NavTabStrip_TabClick(ByVal sender As Object, ByVal e As RadTabStripEventArgs) Handles NavTabStrip.TabClick 'Dim pageView As RadPageView = RadMultiPage1.FindControl(e.Tab.Text.Replace(" ", "")) 'If IsNothing(pageView) Then AddPageView(e.Tab) 'End If e.Tab.PageView.Selected = True End Sub Private Shared Function FindControlRecursive(Root As Control, Id As String) As Control If Root.ID = Id Then Return Root End If For Each Ctl As Control In Root.Controls Dim FoundCtl As Control = FindControlRecursive(Ctl, Id) If FoundCtl IsNot Nothing Then Return FoundCtl End If Next Return Nothing End FunctionEnd Class
...lineSeries.LabelsAppearance.DataFormatString = "{1}";lineSeries.TooltipsAppearance.DataFormatString = "{1}<br/>{0:d}";...I have several controls which were ajaxified using RadAjaxManager and I'm now trying to download a PDF. I understand the issues with not being able to use Response.WriteFile (callbacks don't work...full postbacks do). I found the following link on your site about using the ResponseScripts collection to get around this issue, i.e., RadAjaxManager1.ResponseScripts.Add(String.Format(@"window.location.href = ""{0}"";", "http://yoursite.com/Your_File")); This works fine...but the file appears in the existing browser window...I do not get the file download dialog. Is there a way to add something similar to the following "content-disposition" header (with the attachment attribute)...so the download file dialog appears? I need the downloaded file to appear in a separate window. Response.AppendHeader("content-disposition", "attachment; filename = " + Path.GetFileName(fileName));