Simply add a Column to RadGrid in the GridColumn Collection Editor of the Configuration wizard. You will note that a value for FilterControlAltText is autopopulated. When you hit Ok, that value is written in the column definition, in markup. If you clear that text in the editor, then, in markup you will find the value FilterControlAltText ="". This is useless clutter, which you should manually remove from the markup. The editor/designer should remove the property entry from markup if you clear the FilterControlAltText from the PropertyGrid in the GridColumn Collection Editor.
To overcome this issue you can do the following: - For anchor links (a) implement onclick event with window.location. - For submit buttons set UseSubmitBehavior property to false.
Workaround for the NextPrevAndNumeric mode is to set the AssociatedControlID of the label protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e) { if (e.Item is GridPagerItem) { GridPagerItem pager = e.Item as GridPagerItem; Label lbl = pager.FindControl("ChangePageSizeLabel") as Label; Panel pnl = lbl.Parent as Panel; RadComboBox combo = pnl.FindControl("PageSizeComboBox") as RadComboBox; lbl.AssociatedControlID = combo.ID; } } <telerik:RadGrid RenderMode="Lightweight" ID="RadGrid1" runat="server" DataSourceID="SqlDataSource1" AllowSorting="True" AllowPaging="True" GridLines="None" Width="100%" OnItemDataBound="RadGrid1_ItemDataBound"> <PagerStyle Mode="NextPrevAndNumeric" Position="TopAndBottom" PageSizeControlType="RadComboBox"></PagerStyle> </telerik:RadGrid> <asp:SqlDataSource ID="SqlDataSource1" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>" ProviderName="System.Data.SqlClient" SelectCommand="SELECT CustomerID, CompanyName, ContactName, ContactTitle, Address, PostalCode FROM Customers" runat="server"></asp:SqlDataSource>
Would be nice to have RadGrid offer the feature to have options to Merge Cells with same contents so the report/grid won't be so busy. Users typically expect this kind of look and feel. Example & code included: http://www.marss.co.ua/2010/01/how-to-merge-cells-with-equal-values-in.html This ticket discussed it also: 1091013 Others in forums asked about this also in the past since about 2009, if we google on: telerik grid asp.net merge cell. . http://www.telerik.com/forums/problems-with-merge-row-in-radgrid http://www.telerik.com/forums/merge-cells-by-column http://www.telerik.com/forums/merge-rows Then I found this link among the results from google. Though, I wish there are RowMerge and ColumnMerge properties in RadGrid for us to turn it on/off. That will be wonderful. http://www.telerik.com/support/kb/winforms/details/radgridview-merge-celss This example is also from the following link from the same google search result, the first link. http://www.telerik.com/forums/merge-cell-in-radgrid Thanks.
When using keyboard navigation, the ESC key currently does some things properly (like closing out of batch editing forms). However, it does not prevent the firing of certain update events (like BatchEditCellValueChanged). The ESC key should act like a "cancel" key, so no update events should fire when it is pressed.
The client-side KeyPress event is falling out of favor and the KeyDown even is being used more. Please implement an OnKeyDown event for the Grid, just like you currently have an OnKeyPress event
When in batch edit mode, using standard asp.net validation controls will display the validation error within the cell, and expand the cell contents horizontally and possibly vertically as well. This is a very ugly (and clunky) way to show validation messages in a batch edit mode. It would be nice if instead, we could set an grid attribute that specifies a row backcolor when validation fails for a row. In addition, show that rows validation messages automatically in a tooltip or radtooltip as the user hovers the mouse over the row when it signifies the exception backcolor. These messages could be assigned to a columns markup as an attribute. Another nice to have is to show a section on the grid (perhaps under the header) that could display to alert the user when validation had failed.
Property to disable the internal control state which is helpful in scenarios where ViewState is turned off. This should resolve any problems when changing columns and datasource dynamically on PageInit, when sorting/filtering/etc is applied during the previous post.
In radgrid, the excel style filtering shows a checkbox list of values to filter a column. This has limited use on a date + time column of a grid, because such a list would show basically every grid row value in the list. I can bind date only to the filter checkboxes to shorten that list, but if I apply a selected checkbox to filter then there will be no records returned. This checkbox filtering needs to work with the grid column attribute EnableTimeIndependentFiltering (when it is filtering a datetime column) but it does not - that attribute only works with the datepicker calendar and text entry.
This feature request is regarding the ExportToExcel button in Radgrid. ExportToExcel button in Radgrid adds an extra row in the exported excel sheet. This is due to the presence of Filtering items. Export to Excel code in radgrid: <ExportSettings ExportOnlyData="true" IgnorePaging="true" Excel-Format="Biff" OpenInNewWindow="True"> <Excel Format="Biff" AutoFitImages="True"></Excel> </ExportSettings> <CommandItemSettings ShowAddNewRecordButton="False" ShowRefreshButton="False" ShowExportToExcelButton="True" ExportToExcelText="Export Grid To Excel"/> The above code produces an extra row. I know there is a fix by disabling the Filtering items in the grid in OnItemCommand event. So I used that. The code is given below: protected void RadGrid1_ItemCommand(object sender, GridCommandEventArgs e) { if (e.CommandName == RadGrid.ExportToExcelCommandName) { ReviewByCollegeGrid.AllowFilteringByColumn = false; ReviewByCollegeGrid.Rebind(); ReviewByCollegeGrid.ExportSettings.Excel.Format = GridExcelExportFormat.Biff; ReviewByCollegeGrid.ExportSettings.IgnorePaging = true; ReviewByCollegeGrid.ExportSettings.ExportOnlyData = true; ReviewByCollegeGrid.ExportSettings.OpenInNewWindow = true; } } But it is a lot of work when you have to do it for all the web pages in your application. Please provide a feature which will help to solve this issue in an easier way.
Please add support for tags in exported PDF documents. We need these tags for accessibility purposes. Currently, when we export a PDF from a RadGrid, it is created without any tag structure, which can make it difficult for a screen reader to process correctly.
Please add the ability to have a GridHyperLinkColumn automatically UrlEncode the fields specified in DataNavigateUrlFields. Having to handle it in the code-behind is a pointless pain in the butt, especially when dealing with more than 1 field. It should be handled automatically during the application of the DataNavigateUrlFormatString format instead.
RadGrid filtering issue when RenderMode is set to Mobile and the grid is bind on the client See the movie below: https://drive.google.com/file/d/0Bzhl0S7bXwuyYlZ1akFwdHZvWDg/view This can be replicated in the online demo below when edit mode is set to Mobile: http://demos.telerik.com/aspnet-ajax/grid/examples/data-binding/client-side/declarative/defaultcs.aspx
In RadGrid with client-side binding a js error appear after trying to change the page size if a button column has been reordered prior that.
Think it'd be great (and probably pretty easy to do) to have a property on each gridcolumn for ShowFilterTextbox (similar to ShowFilterIcon). Right now my workaround is to hide them during ItemCreated or in styling, but it becomes messy, quickly.
In RadGrid, we can use the ClientSettings.Scrolling.UseStaticHeaders property to have a fixed header when scrolling the grid. This requires a fixed height of the grid. However, what if we do not want a fixed height of the grid, but rather want the grid to flow down the page, using as much space as necessary do display its records. In such a scenario, the grid header will disappear when we scroll down the page. I have implemented a kind of fix for this in one of my projects. Instead of trying to explain how it works, I have prepared an example. You can find it here: http://www.ifag.no/RadGridHeader.aspx Maybe some of you can suggest even better solutions to the scenario I have described. Comments are welcome!