See online demo:
Steps to reproduce (seen in Chrome and Edge):
- Click the "x" on the 2nd to last record on page 1 to mark it for deletion (Click "OK" at the prompt)
- Click "Add new record" button
- the record marked for deletion moves up by one record (but fortunately it appears the correct record will actually get deleted upon Saving)
- a blank new record is creating correctly
If you repeat this procedure but choose a different record for deletion you can see it is functioning correctly.
I am seeing the same behaviour in my own project.
In GridTableView.cs, you provide a function protected virtual GridTableView CreateTableView() (Line 7828). This function can be overloaded to return derived classes from GridTableView. But, this is not overloadable completely. Because you create a GridTableView directly in protected void BuildDetailTablesFromDataSource() (Line 8808), too. There you would have to call a virtual creator function, too. This is necessary, because I have a lot of Trouble with your DataBind which I was able to fix with an overload. It is much to hard to make this bug visible for you, I really tried to do so already, but I had to fix this that way, because your GridTableView without my derivation fails in our szenario. The call stack for that problem, I'd had to fix, is always like: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.IndexOutOfRangeException: Cannot find column CheckSum. at System.Data.DataTable.ParseSortString(String sortString) at System.Data.DataView.set_Sort(String value) at Telerik.Web.UI.GridEnumerableFromDataView.PerformTransformation() at Telerik.Web.UI.GridEnumerableFromDataView.TransformEnumerable() at Telerik.Web.UI.GridTableView.GetEnumerator(Boolean useDataSource, GridEnumerableBase resolvedDataSource, ArrayList dataKeysArray, Boolean shouldClearDataKeys) at Telerik.Web.UI.GridTableView.CreateControlHierarchy(Boolean useDataSource) at Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource) at System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) at System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) at Telerik.Web.UI.GridTableView.PerformSelect() at Telerik.Web.UI.GridTableView.DataBind() at Telerik.Web.UI.GridItemBuilder.BindDetailTable(GridDataItem parentItem, GridTableView cloned) at Telerik.Web.UI.GridItemBuilder.BindDetailTables(GridDataItem parentItem, GridNestedViewItem detailItem) at Telerik.Web.UI.GridItemBuilder.CreateItems(GridGroupingContext group) at Telerik.Web.UI.GridTableView.CreateItems(IEnumerator enumerator, GridColumn columns, ControlCollection controls) at Telerik.Web.UI.GridTableView.CreateControlHierarchy(Boolean useDataSource) at Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource) at System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) at System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) at Telerik.Web.UI.GridTableView.PerformSelect() at Telerik.Web.UI.GridTableView.DataBind() In that, your DataTableView gets an invalid sort Expression string. Therefore, I overwrote DataBind. But this is not possible in all cases, if you create GridViewTable() objects on your own. Best regards
RadGrid filter command is not triggered for strings containing "and" word. Video: https://www.screencast.com/t/j649UvPQ3z6 Steps to reproduce: Filter by "SUNBAY AND LEONA A" in the following demo: https://demos.telerik.com/aspnet-ajax/grid/examples/functionality/filtering/excel-like-filtering/defaultcs.aspx
I skipped the 3rd quarter 2016 update (2016.3.1027) for my copy of Telerik UI for ASP.NET.AJAX, since we were in code lock down at that time. Later i installed the 4th quarter version (2016.4.1021.0) Now, I still get a notice to install the previous version (2016.3.1027) that I skipped. That's annoying, and probably not possible. Right? Is there anything we can do about this situation? Thanks in advance Tommy Heath firstname.lastname@example.org
I have added Listview in Header template in Template column, its showing the data on the grid as expected. When I am exporting to Excel or PDF its not exporting the header. Header you see in headertemplate.jpg is not exporting to PDF Thanks
Hi, I am getting the below issue on button click.Its working fine in all browsers ,but not in Edge.Please help. Microsoft Edge SCRIPT65535: Argument not optional It is saying grid is not available.
Rather than simply using the drag and drop method to reorder rows within a rad grid, allow for the built in functionality where you can simply move rows up and down client side so that the user can sort the data by rows rather than columns. Feature request came after a customer had a grid of data that was sorted in a sorted order but they wanted the ability to not only select what rows they wanted which we coded using the checkbox column, but they then wanted to be able to sort the rows they had selected as the selected rows were being exported to a PDF or Excel so wanted them in a certain order.
I'd like to request for an expansion of the RadGrid header rotation. Currently the rgRotateHeader style that can be applied rotates +90deg. I find this an uncomfartable reading direction and I am sure my users will complain about it. While attempting to set some custom style corrections tot rotate -90deg with the help of Telerik support I found that the end result was not good enough to bring into production: wrapping direction was wrong and too many manual corrections had to be made to make the header fit. See attached screenshots where I made an attempt to rotate the header to override the rgRotateHeader style and the undesired wrapping results and the inconvenient required corrections in transform-origin. Maybe I could have made this work, but this is where I stopped my effort as it cost me too many time. I would very much like this a standard feature of the Radgrid. Also -45deg would be very nice to have!
This should improve performance in this situation when client side data-binding can be used.
It makes no sense that the GridButtonColumn does not have the Single Click feature just like the RadButton. Why would the web users not be double-clicking this button as opposed to a stand-alone button? It is not even consistent - the button in a RadGrid's GridButtonColumn should be a RadButton.
Hello Sir As I was workimg on Print functionality of RadGrid data. While working on this functionality I found issue of "Print Preview" in chrome. Its working fine in IE and Firefox but in Chrome blank screen is coming with Print Preview Failed. While searching on it I found "RadGrid Not Printing in Chrome" Post on telerik developer forum, I have created Telerik account and also reply to this post. Sir can you please help me regarding this issue. I look forward to hearing from you. Regards
It would be very useful if the GridDropDownColumn had some way of accessing the database value of the control when not in edit mode. It is very roundabout to have to add more controls or hidden fields just to access data that was already pulled from the database. Some kind of function that could get the value which corresponds to the shown text would be exceptionally useful.
People keeps complaining that web grids are slower and more difficult to use than Excel. We definitely need a radgrid control with excel-like editing. Ideally we need the look-and-feel of the radspreadsheet, with the fixed columns of the radgrid, the events for updating a database, and maybe direct databinding to a database table. What they want to see is Excel. Like the MS-Access UI, when they move (with keyboard) from row to row, they expect the database to get updated accordigly.
The problem for which the bug was opened was not actually caused by the RadGrid. It was triggered by wrong configuration of the test sample. The parent container which held the grid had disabled ViewState in which case it is expected for the filter values and filter functions to not persist.
Is any option to use RadGrid in disconnected mode. So when user lost connection with internet(intranet), he can continue to work with grid - add new record, edit records. In html 5 appear such technologies like HTML5 Storage,Web Sql. Is it any way to interact with them?
It would be nice if automatic insert/update functions could require unique data. I would love to use these features, but always have to write the insert and update routines manually to check that duplicates are not used.
It should be client's decision to style his grid, we can not change the dimentions, since it will bre breaking change for the rest of the customers