Hi guys
I have a nicely-styled pdf output from theRadGrid, and I would like to complete the report by including a text cover page within the pdf before the data. How can I do this. Personally, I could create the cover page separately and merge it with the data pdf but I really want to provide this function so non-IT people can create their own output in a single click.
Can you suggest how this could be done?
Thanks
Clive

Hello Telerik Team,
Kindly, I got an error regarding the casting of a telerik object. I have removed the telerik compresion but my application is using a dinamic layer to create the control in the page, Also i will be removing the telerik compresion for all the clases in the control layer. Please can you provide more information regarding the below error, see the details:
Impossible d'effectuer un cast d'un objet de type 'Telerik.Web.UI.CompressedPageState' en type 'System.Collections.IDictionary'.
Informations sur l'erreur: Type: InvalidCastException Message: Impossible d'effectuer un cast d'un objet de type 'Telerik.Web.UI.CompressedPageState' en type 'System.Collections.IDictionary'. Trace de la pile: Ã System.Web.UI.Page.RegisterRequiresControlState(Control control) Ã Telerik.Web.UI.RadComboBox.OnInit(EventArgs e) Ã System.Web.UI.Control.InitRecursive(Control namingContainer) Ã System.Web.UI.Control.AddedControl(Control control, Int32 index) Ã System.Web.UI.ControlCollection.Add(Control child) Ã Telerik.Web.UI.GridPagerButtonBuilder.CreatePageSizeDropDown(Panel container) Ã Telerik.Web.UI.GridPagerButtonBuilder.CreatePageSize(Panel container) Ã Telerik.Web.UI.GridPagerItem.InitializePagerItem(GridColumn[] columns) Ã Telerik.Web.UI.GridPagerItem.SetupItem(Boolean dataBind, Object dataItem, GridColumn[] columns, ControlCollection rows) Ã Telerik.Web.UI.GridTableView.CreateTopPagerItem(Boolean useDataSource, GridColumn[] copiedColumnSet, Boolean isPagingEnabled, GridTHead thead) Ã Telerik.Web.UI.GridTableView.CreateControlHierarchy(Boolean useDataSource) Ã Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource) Ã System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) Ã System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) Ã System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) Ã System.Web.UI.WebControls.DataBoundControl.PerformSelect() Ã Telerik.Web.UI.GridTableView.PerformSelect() Ã System.Web.UI.WebControls.BaseDataBoundControl.DataBind() Ã Telerik.Web.UI.GridTableView.DataBind() Ã Telerik.Web.UI.RadGrid.DataBind() Ã Telerik.Web.UI.RadGrid.AutoDataBind(GridRebindReason rebindReason) Ã Telerik.Web.UI.RadGrid.OnLoad(EventArgs e) Ã Env.MYAPPLICATION.Web.Controles.FormulaireGrilleGenerique`1.OnLoad(EventArgs e) dans e:MYAPPLICATION\Env.MYAPPLICATION.Web.Controles\FormulaireGrilleGenerique.cs:ligne 90 Ã System.Web.UI.Control.LoadRecursive() Ã System.Web.UI.Control.LoadRecursive() Ã System.Web.UI.Control.LoadRecursive() Ã System.Web.UI.Control.LoadRecursive() Ã System.Web.UI.Control.LoadRecursive() Ã System.Web.UI.Control.LoadRecursive() Ã System.Web.UI.Control.LoadRecursive() Ã System.Web.UI.Control.LoadRecursive() Ã System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Line 90: MYAPPLICATION\Env.MYAPPLICATION.Web.Controles\FormulaireGrilleGenerique.cs:ligne 90:
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
}
Hello,
After I updated to 2015 q1 I get following error
Upgrade problem - Unable to cast object of type 'Telerik.Web.UI.ElasticButton' to type 'System.Web.UI.WebControls.LinkButton'
This happens in ItemCreated. I was using following code to hide insertitem when I used insertbutton to open a Radwindow.
protected void ClassesOverviewGrid_ItemCreated(object sender, Telerik.Web.UI.GridItemEventArgs e)
{
if (e.Item is GridEditableItem && e.Item.IsInEditMode)
{
if (e.Item.OwnerTableView.IsItemInserted)
{
GridEditableItem item = e.Item as GridEditableItem;
LinkButton updateButton = (LinkButton)item.FindControl("PerformInsertButton");
((GridTableRow)updateButton.Parent.Parent).Style.Value += "display:none";
}
}
}
If I change to
LinkButton updateButton = (LinkButton)item.FindControl("PerformInsertButton");
((GridTableRow)updateButton.Parent.Parent).Style.Value += "display:none";
then I get the error in second line:
Additional information: Unable to cast object of type 'EditFormTableCell' to type 'Telerik.Web.UI.GridTableRow'.
Do you know how I can fix this?
Whenever I do resize for radeditor. It fails to render correctly.
Please see this attached screenshot.
Why, when I use Material as the base for a theme - do I only have 2 options? Nothing under primitives - so I can't (for example) give RadMenu a background of other than white.
Am I doing something wrong?
Hi, I have a simple ASPX page with a RadComboBox. I have noticed that the "ClientState" form data doesn't get added to the request when the form submits unless I have opened the combobox and made a selection. Is there any way to get ClientState to populate without making the user select one of the list items--say a default option?
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title>Test RadComboBox</title></head><body><form id="form1" action="TelerikTest.aspx" runat="server"> <telerik:RadScriptManager runat="server"> <Scripts> <asp:scriptreference assembly="Telerik.Web.UI" name="Telerik.Web.UI.Common.Core.js"></asp:scriptreference> <asp:scriptreference assembly="Telerik.Web.UI" name="Telerik.Web.UI.Common.jQuery.js"></asp:scriptreference> <asp:scriptreference assembly="Telerik.Web.UI" name="Telerik.Web.UI.Common.jQueryInclude.js"></asp:scriptreference> </Scripts> </telerik:RadScriptManager> <telerik:RadComboBox ID="RadComboBox1" runat="server"> <Items> <telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem1" Value="RadComboBoxItem1"/> <telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem2" Value="RadComboBoxItem2"/> </Items> </telerik:RadComboBox> <input id="Button1" type="submit" value="submit" /></form></body></html>