protected void ExportToExcel_Click(object sender, EventArgs e){ RG.ExportSettings.ExportOnlyData = true; RG.ExportSettings.IgnorePaging = true; RG.ExportSettings.OpenInNewWindow = true; RG.ExportSettings.FileName = "Assessment_Outcomes_Detail_" + DateTime.Today.Month.ToString() + "_" + DateTime.Today.Day.ToString() + "_" + DateTime.Today.Year.ToString(); RG.MasterTableView.ExportToExcel();}If typeof(Editor) is MyCustomEditor and expression.FilterFunction = EqualTo Then 'Do Custom WorkEnd If<ClientSettings>
<DataBinding SelectMethod="GetDataAndCount" Location="../Services/RecordService.svc" SortParameterType="Linq"
FilterParameterType="Linq" CountPropertyName="Count">
</DataBinding>
</ClientSettings
>
I can not send the extra search fields to the service and rebind the grid without having to do a full page post back.
My Service looks like
public ResultData<Record> GetDataAndCount(int startRowIndex, int maximumRows, string sortExpression, string
filterExpression)
I want it to look something along these lines
public ResultData<Record> GetDataAndCount(int startRowIndex, int maximumRows, string sortExpression, string filterExpression, RecrodSearchCriteria
criteria)
Any help would be greatly appreciated. This will make or break my decision to go with Telerik controls or not.
Thanks
Bullish
<telerik:RadTreeView ID="RadTreeView1" runat="server" EnableDragAndDrop="True" EnableDragAndDropBetweenNodes="true" DataFieldID="CategoryID" DataFieldParentID="ParentID" DataSourceID="LinqDataSource1" DataTextField="Name" DataValueField="CategoryID" AllowNodeEditing="False" ExpandAnimation-Duration="150" OnNodeCheck="RadTreeView1_NodeCheck" OnNodeDataBound="RadTreeView1_NodeDataBound" CheckBoxes="True" OnClientNodeDropping="onNodeDropping">

<telerik:RadGrid ID="myRadGrid" runat="server" Width="100%" Skin="Web20"> <MasterTableView AutoGenerateColumns="false" Font-Size="10" DataKeyNames="intScheduleId" CommandItemDisplay="Top" AllowPaging="true" AllowSorting="true"> <HeaderStyle ForeColor="White" Font-Bold="true" HorizontalAlign="Center" /> <ItemStyle HorizontalAlign="Center"/> <AlternatingItemStyle BackColor="#B0C4DE" HorizontalAlign="Center" /> <PagerStyle AlwaysVisible="true" Mode="NextPrevAndNumeric" /> <CommandItemStyle Height="25px" Font-Bold="true" Font-Underline="true" HorizontalAlign="Left" VerticalAlign="Bottom" /><telerik:RadEditor ID="RadEditor1Content" runat="server" AutoResizeHeight="True"Width="500px" ToolbarMode="Floating"><Content></Content><ImageManager EnableAsyncUpload="True" ViewPaths="~/images" UploadPaths="~/images" MaxUploadFileSize="900000000"/><MediaManager EnableAsyncUpload="true" ViewPaths="~/media" UploadPaths="~/media" MaxUploadFileSize="900000000"/><TrackChangesSettings CanAcceptTrackChanges="False"></TrackChangesSettings><object height="150" width="150" type="application/x-oleobject"classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6"><param name="URL" value="/media/MySongFile.mp3"><embed src="/media/MySongFile.mp3" type="application/x-mplayer2"pluginspage="http://www.microsoft.com/Windows/MediaPlayer" width="150" height="150">Download Link to download my uploaded file . How can I do that ?