Has anyone combined the Telerik RadGrid with the JQuery sortable plugin for reordering the rows? At first glance, it works great. However, I'm not actually doing development so I was wondering if anybody has tried this, any tips you could give me. I was planning on, when the page unloads, writing the new indexes of the rows to a hidden field to change the ordering on the server.
Any advice would be great.
Thanks.
The RadGrid currently supports multicolumn sorting. What would jQuery provide you over and above Telerik?
JQuery sortable plugin would work if no detail table is provided; with a detail table, it becomes harder to implement. I scrapped it temporarily, I may try to implement at a later point.
Related
I have repeater control in which i am binding data from sql server database, Now i have number of records showing on my page but i want that i can filter my records according to dropdown selected. I need 4-5 dropdowns control thats depend on my need and i don't want my page to refresh while filtering.
Below is the example, this website using checkboxes too but i need only dropdowns...
http://www.phonearena.com/phones/full#/phones/full/
Give me any idea how to start, i think ajax is the thing i need. Suggest some examples if you have.
Ajax is the right solution.
Personally i suggest you jquerytemplate and ajax call few row code to achive your goal you may find more info here Load JSON data using the dropdown menu and refresh the div area with the new results in a web site
It is a good point to start and you can make more stuff with this logic :) really simple and fluid code :)
I would suggest you to use a client-side framework (so in JavaScript) like AngularJS, BackboneJS or KnockoutJS. They all provide ways to work with collections in JavaScript (like filtering in this case). You won't need Ajax excepted for the first load or if you want to do some paging. And because it's all client-side it will be far more fluid than re-downloading at every criteria change.
I'm building a system in MVC that has a lot of heterogeneous data to be displayed: Customers, logs, etc.
I'm finding that I'm building the same view over and over again in different forms:
Header row (with sorting links)
Filter row (drop-downs, date pickers, etc.)
Data
Paging row
Naturally the abstractor in me is shouting "Build a generic data view factory!", as well it should. However, before I disappear up my own abstracting bottom, has this work already been done elsewhere?
The only option I can currently find is MVCContrib.Grid, which doesn't seem to handle the rendering of filters (although it has allowances for extending the renderer). Is this the only option?
As one may expect a question similar to your has already been done...years ago. So here: grid controls for ASP.NET MVC? you can find a list available data grids, that has been updated in the years. I recommend that you, once and for all, give a look to all of them, so in the furure you may choose the more adequate to your needs. There is no better grid, but each of them has advantages and disadvantages.
Yes, I could recommend this jQuery plugin
http://datatables.net/
My Choice would be between
datatables.net (Already mentioned)
jqGrid (http://www.trirand.net/demoaspnetmvc.aspx)
I've foud the datatables easier to use at first, but finally I've used jqGrid as I've foud it more powerfull.
I've used both KendoUI and jqGrid successfully. jqGrid is a light-weight and less expensive solution if all you are looking for is a grid. One of the things I liked about jqGrid aside from its easy integration with knockout was it's ability to edit data in table cells as well as creating a "edit view" in which the data is edited in a form-type view with labels beside edit widgets.
That said, it sounds like you might be looking for more than a grid, and if so you should also look at using Html helpers to generate the constituant parts (header w/filter, data rows, paging, etc). This would give you ultimate flexibility over where the different parts are rendered on the page. Maybe you want to put the paging controls twice on the page at the top and bottom; maybe you want to put the filtering into a modal dialog box. The ability to simply go:
#Html.FilterControlsFor(Model.PhoneBookUsers)
someplace (or someplaces) on a page and have the helper deal with all of the details is pretty powerful juju.
Flexigrid - nice table plugin, but it is only ui table you should provide appropriative server side processing for selection and filtering data.
KendoUI any day. Theres a ASP.NET wrapper but it's quite expensive. But the jQuery lib is definitly the best out there.
DataGridView.allow paging In C# application
it possible to allow default pagination in Data grid view
as same as we do in Datagrid
any suggestion
I think you need to take a look to below link it will help you, how to set paging and sorting for Datagridview..........
http://msdn.microsoft.com/en-us/library/aa479347.aspx
DatagridView doesn't support paging by default. If you want it in there you'll need to implement it by yourself. the details of how to do that will depend on your underlying dataaccess technology
DataGridView cannot perform paging by default. Take a look at some source codes over google, or this project who solves this problem:
http://www.codeproject.com/KB/grid/DataGridViewPaging.aspx
Regards
I have a radgrid and I want to use the built-in functionality to export the data in the grid to a spreadsheet. I remember a time when I ran the code and it worked, but right now when the call is made, nothing happens.
Anyone experience this problem or have any suggestions?
Thanks very much in advance!
I suggest posting this question in the Telerik Forums or checking out the code in the demo.
Please include at least some of your code unless you want people to just guess at what might be wrong. My first guess would be that you are binding manually to the radgrid with a dataset or datatable and are not binding the data before trying to export.
If you have ever used SQL reporting services, there are some dropdown lists that pop down with a checkbox list in it. It allows a user to select multi items very nicely. Does anyone know a free User control or an example of this implemented. Ok, so I know I can do this with some elbow grease and html, was just trying to see if there was already something out there. I’m using ASP.NET C#.
Thanks,
Joe
Check this out.
http://www.metabuilders.com/Tools/CheckedListBox.aspx
http://forums.asp.net/t/1040242.aspx
Ok, posted here to soon. I use infragistics and found a possibe solution.
Thanks!
http://forums.infragistics.com/forums/t/3962.aspx