The Syncfusion® native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Controller: [AcceptVerbs(HttpVerbs.Post)] public ActionResult FilterAction([DatePickerModel fromDate]) { ...process form fields and get data... return JSON(data); }
the result of controller would be updated to the Paging_Grid in the View:
BMBalaji M Syncfusion Team October 30, 2009 01:19 AM UTC
Hi lukasz,
We regret for the delayed response.
We regret to let you know that currently, we don't support update a grid by another form. We can achive the filtering a grid by using partial view. I have created a simple sample to this issue.
Refer the below code snippet, which illustrates this. [View] <%--include sfUtility script into application --%> <%Html.RegisterScript(CommonScripts.sfUtility); %> <%using (Ajax.BeginForm("Index",new AjaxOptions(){UpdateTargetId="UpdatePanel",OnSuccess="hidePopup"})) {%>
select Category :<%=Html.DropDownList("Category",new[] { new SelectListItem{Text="Beverages",Value="1"}, new SelectListItem{Text="Condiments",Value="2"}, new SelectListItem{Text="Confections",Value="3"}, new SelectListItem{Text="Dairy Products",Value="4"}, new SelectListItem{Text="Grains/Cereals",Value="5"}, new SelectListItem{Text="Meat/Poultry",Value="6"}, new SelectListItem{Text="Produce",Value="7"}, new SelectListItem{Text="Seafood",Value="8"}, },"Choose Category") %>
[AcceptVerbs(HttpVerbs.Post)] public ActionResult PagingAction(PagingParams args, int CategoryID) { IEnumerable data = new NorthwindDBDataContext().Products.Where(c => c.CategoryID ==
1. Grid is placed inside the Partial view. 2. Index actionresult contains the Category(ie. query_params) 3. Intially grid renders null,because of Category is null 4. Select the any category from dropDownlist,the target category product list is loaded in grid.