Unplanned
Last Updated: 26 May 2021 19:47 by ADMIN
Created by: Erich
Comments: 0
Category: Grid
Type: Feature Request
2
I would like to suggest that the Buttons in the RadGrid allow databinding to the CommandName and CommandArgument fields.  And pretty much all the buttons or anything that triggers an ItemCommand event that allow a CommandName and CommandArgument have their properties to be databound and accessible in the code behind.

Thanks!!!
Unplanned
Last Updated: 29 May 2020 15:52 by ADMIN
A valid SQL statement should look like

SELECT * FROM Products WHERE ([Discontinued] = 1)

or

SELECT * FROM Products WHERE ([Discontinued] = 'True')

but RadGrid provides something like

([Discontinued] = True)

in the MasterTableView.FilterExpression property.

By default RadGrid filters the data on its own after retrieving the entire data set form the data source, and the filtering operation works like that.
If you will be using the filter expression provided by the grid in a custom data source operation you may need to tweak the string first.
Note that changing this may result in a breaking change if you are already using the current syntax.

Workaround: https://www.telerik.com/support/kb/aspnet-ajax/grid/details/get-sql-compliant-filterexpressions-from-radgrid
Unplanned
Last Updated: 03 Nov 2020 11:19 by ADMIN
You would get something like

(([createddate] >= '01/08/2017,00:00:00') AND ([createddate] <= '14/08/2017,23:59:59'))

while you should get something like

(([createddate] >= '01/08/2017 00:00:00') AND ([createddate] <= '14/08/2017 23:59:59'))

so that the SQL syntax is valid.

RadGrid, does not send the FilterExpression to the SqlDataSource, however. It executes the SELECT statement and then filters the resulting data on its own. This works fine.

If you will be performing operations yourself, you could use a string operation before passing the filter expression. For example:

protected void RadGrid1_NeedDataSource(object sender, GridNeedDataSourceEventArgs e)
{
	if (!string.IsNullOrEmpty(this.RadGrid1.MasterTableView.FilterExpression))
	{
		if (this.RadGrid1.MasterTableView.FilterExpression.Contains("createddate"))
		{
			this.RadGrid1.MasterTableView.FilterExpression = this.RadGrid1.MasterTableView.FilterExpression.Replace(",", " ");
		}
		DataView dv =GetData("select * from [myTable] where ", this.RadGrid1.MasterTableView.FilterExpression);
                //where you would need to have something like (([createddate] >= '01/08/2017 00:00:00') AND ([createddate] <= '14/08/2017 23:59:59'))
		this.RadGrid1.DataSource = dv;
	}
}

Note that implementing such a change may break existing code that relies on the current syntax that contains the comma.
Unplanned
Last Updated: 08 Jun 2017 09:25 by ADMIN
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.
Unplanned
Last Updated: 17 Oct 2017 14:30 by ADMIN
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.
Unplanned
Last Updated: 24 Mar 2017 14:50 by ADMIN
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>
Unplanned
Last Updated: 09 Mar 2021 15:26 by ADMIN
Created by: cw
Comments: 0
Category: Grid
Type: Feature Request
2
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.

Unplanned
Last Updated: 27 May 2021 18:03 by ADMIN
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.
Unplanned
Last Updated: 07 Jan 2021 14:30 by ADMIN
Created by: Albert Shenker
Comments: 0
Category: Grid
Type: Feature Request
1
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
Unplanned
Last Updated: 27 May 2021 09:18 by ADMIN
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.
Unplanned
Last Updated: 21 Dec 2016 14:33 by ADMIN
Unplanned
Last Updated: 27 May 2021 13:51 by ADMIN
Unplanned
Last Updated: 16 Nov 2016 09:36 by ADMIN
Unplanned
Last Updated: 16 Nov 2016 16:13 by Jesus Orlando
ADMIN
Created by: Daniel
Comments: 1
Category: Grid
Type: Feature Request
2
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.
Unplanned
Last Updated: 28 May 2021 17:28 by ADMIN
Created by: bryan
Comments: 0
Category: Grid
Type: Feature Request
1
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.   
Unplanned
Last Updated: 01 Jun 2020 16:00 by ADMIN
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.
Unplanned
Last Updated: 27 Jan 2023 08:58 by ADMIN
Created by: Imported User
Comments: 4
Category: Grid
Type: Feature Request
4
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.
Unplanned
Last Updated: 10 Jun 2016 11:57 by Gidon
Created by: Gidon
Comments: 0
Category: Grid
Type: Feature Request
2
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.
Unplanned
Last Updated: 09 May 2016 14:06 by ADMIN
Unplanned
Last Updated: 12 May 2016 22:16 by SUNIL
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