I have grouping in my grid and want to be able to expand multiple groups but I am able to expand only one group at a time.
<telerik:RadGrid ID="rgQ1CashValues" runat="server" DataSourceID="dataSrcMonthlyCashValues" EnableViewState="false" OnPreRender="grid_PreRender" OnItemCommand="grid_ItemCommand" OnItemDataBound="grid_ItemDataBound" OnItemCreated="grid_ItemCreated" > <MasterTableView TableLayout="Fixed" CommandItemDisplay="Top" DataSourceID="dataSrcMonthlyCashValues" Name="Q1CashValuesSummary" EnableNoRecordsTemplate="true" DataKeyNames="carriername" ShowGroupFooter="true" GroupsDefaultExpanded="false"> <CommandItemSettings ShowAddNewRecordButton="false" ShowRefreshButton="false" ShowExportToExcelButton="true" ExportToExcelText="" ExportToPdfText="" ShowExportToPdfButton="true" /> <GroupByExpressions> <telerik:GridGroupByExpression> <SelectFields> <telerik:GridGroupByField FieldAlias="" HeaderText=" " HeaderValueSeparator="" FieldName="carriername" ></telerik:GridGroupByField> </SelectFields> <GroupByFields> <telerik:GridGroupByField FieldName="carriername"></telerik:GridGroupByField> </GroupByFields> </telerik:GridGroupByExpression> </GroupByExpressions> <Columns> <telerik:GridBoundColumn DataField="fullname" HeaderText="Participant" UniqueName="fullname" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Left" FooterStyle-HorizontalAlign="Left"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="policynumber" UniqueName="PolicyNumber" HeaderText="Policy No" HeaderStyle-Width="8%" SortExpression="policynumber"> </telerik:GridBoundColumn> <telerik:GridDateTimeColumn DataField="issuedate" UniqueName="PolicyDate" HeaderText="Policy Date" SortExpression="issuedate" HeaderStyle-Width="8%" DataFormatString="{0:d}"> </telerik:GridDateTimeColumn> <telerik:GridBoundColumn Aggregate="Sum" DataField="JanEnd" HeaderText="January" DataFormatString="{0:c2}" HeaderStyle-Width="11%" > </telerik:GridBoundColumn> </Columns> </MasterTableView> <GroupingSettings RetainGroupFootersVisibility="true" GroupContinuesFormatString="" GroupContinuedFormatString="" GroupSplitDisplayFormat="showing {0} of {1} participants" /> </telerik:RadGrid>Hello,
I have a page that I'm building that uses a AutoCompleteBox inside of a repeater. I am trying to load the control inside of the the ItemDataBound method of the repeater, but an error gets thrown before it can even be called saying "Datasource not set" referring to the AutoCompleteBox. Is there a specific way that I should be loading the control? Here is a snippet of the control being loaded inside the ItemDataBound method of the repeater. Thanks for any help.
{
RepeaterItem item = e.item;
txtAgent = (RadAutoCompleteBox)item.FindControl("txtAgent");
txtAgent.DataSource = Agent.GetListOfAgents();
txtAgent.DataBind();
}

Hi,
I'm trying to generate a full report as a single pdf and I'm wondering if it's possible to add for example an existing pdf file between 2 pages of the pdf rendered ?
Should I find a way to render the pdf on a view page using third party js libraries for pdf rendering or is there a way to do this using only this component ?
Thanks,
Would it be possible to use the ClientExportManager to send a chunk of raw data to the server.
Just send the data and skip the PDF and Image conversion part?
Thanks,
Marc

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title></head><body> <form id="form1" runat="server"> <telerik:RadScriptManager runat="server"></telerik:RadScriptManager> <telerik:RadAjaxPanel runat="server" ID="RadAjaxPanel1"> <div> <fieldset style="width: 400px"> <legend>Web service binding</legend> <label for="RadAutoCompleteBox2"> Company Names:</label> <telerik:RadAutoCompleteBox runat="server" ID="RadAutoCompleteBox2" Width="250" DropDownHeight="150" DropDownWidth="250"> <WebServiceSettings Path="Defualt.aspx" Method="GetCompanyNames" /> </telerik:RadAutoCompleteBox> <p> <asp:Label runat="server" ID="Label2" /> </p> </fieldset> </div> </telerik:RadAjaxPanel> </form></body></html>using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Services;using System.Web.UI;using System.Web.UI.WebControls;using Telerik.Web.UI;public partial class _Default : System.Web.UI.Page{ protected void Page_Load(object sender, EventArgs e) { } [WebMethod] public AutoCompleteBoxData GetCompanyNames(object context) { string searchString = ((Dictionary<string, object>)context)["Text"].ToString(); List<AutoCompleteBoxItemData> result = new List<AutoCompleteBoxItemData>(); AutoCompleteBoxItemData childNode = new AutoCompleteBoxItemData(); childNode.Text = "aaaa"; childNode.Value = "aaaa"; result.Add(childNode); AutoCompleteBoxData res = new AutoCompleteBoxData(); res.Items = result.ToArray(); return res; }}
Only occasionally I am receiving the "IOException: The process cannot access the file 'file path' because it is being used by another process".
How can I handle my upload to avoid encountering this error?
Here's my code example.
On the webform page.
<telerik:RadAsyncUpload
runat="server"
ID="fileUpload"
ChunkSize="3145728"
MaxFileInputsCount="1"
AllowedFileExtensions=".htm,.html,.HTML,.doc,.DOC,.docx,.zip,.txt,.mht,.MHT,.msg,.mp4,.pdf,.PDF"
OnClientValidationFailed="uploadValidationFailed">
</telerik:RadAsyncUpload>
<telerik:RadProgressArea
runat="server"
ID="RadProgressAreaTechNotes">
</telerik:RadProgressArea>
Codebehind
foreach (UploadedFile file in fileUpload.UploadedFiles)
{
uploadedFilename = file.FileName;
asyFileExtension = file.GetExtension().Replace(".", string.Empty);
asyFileSize = file.ContentLength;
string spath = storePath + uploadedFilename;
file.SaveAs(spath);
}
Hello,
I have a RadComboBox (with AutoPostBack="True"), a RadTextBox and a button. I select a value from RadComboBox then after post back
i enter some value in the RadTextBox and click on the button. On button's client click, i am using following javascript code:
var description = $find("<%=RadTextBox.ClientID%>");
if (description.get_value().trim() === "") {
msg += "Description is required\n";
}
But description.get_value() shows blank even though i have enterted some value (before post back). This issue is only
with IE 11.0.9600. In IE 11.0.10240 and chrome this works fine.
I am using telerik version 2016.1.113.45
Please advise.