Hi Team Telerik, i found a bug in RadGrid. This one only appears in Chrome Webbrowser. Columnresizing only works once per column in chrome. You can see it right the way in your demo-site. Go to the Resizing Demopart and resize one column. Now try to re-resize it. It wont work. Best wishes Philipp
It would be great if you could set a property on a column (like in WinForms) to hide that column from the column chooser. e.g. <telerik:GridBoundColumn ShowInColumnChooser="false" />
RadGrid throws a "Failed to load viewstate" exception in a specific setup with two level hierarchy and DateTimeColumns. Steps to reproduce: 1. Expand an item 2. Click on "Add new record button" in the expanded detail table view 3. Click "Cancel" 4. Click on"Add new record" this time on the master table view Code to reproduce: <telerik:RadGrid ID="rgComments" runat="server" AllowPaging="True" AutoGenerateColumns="false" DataSourceID="dsSpell"> <MasterTableView Width="100%" CommandItemDisplay="Top" DataKeyNames="OrderID"> <DetailTables> <telerik:GridTableView DataKeyNames="OrderID" DataSourceID="dsComment" Width="100%" runat="server" CommandItemDisplay="Top"> <ParentTableRelation> <telerik:GridRelationFields DetailKeyField="OrderID" MasterKeyField="OrderID"></telerik:GridRelationFields> </ParentTableRelation> <Columns> <telerik:GridDateTimeColumn DataField="OrderDate" PickerType="DateTimePicker"> </telerik:GridDateTimeColumn> </Columns> </telerik:GridTableView> </DetailTables> <Columns> <telerik:GridDateTimeColumn DataField="OrderID" /> </Columns> </MasterTableView> </telerik:RadGrid> <br /> <asp:SqlDataSource runat="server" ID="dsComment" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>" SelectCommand="SELECT [OrderID], [OrderDate] FROM [Orders]"></asp:SqlDataSource> <asp:SqlDataSource runat="server" ID="dsSpell" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>" SelectCommand="SELECT [OrderID], [OrderDate] FROM [Orders]"></asp:SqlDataSource>
You can use the following temporary workaround in order to avoid the problem: 1. Attach OnGridCreated event handler: ... <ClientSettings> <ClientEvents OnGridCreated="onGridCreated" /> </ClientSettings> ... 2. In the event handler configure the group header according to the number of visible columns in the grid: function onGridCreated(sender, args) { if ($telerik.isIE7) { var visibleCount = sender.get_masterTableView()._getVisibleColumnsCount(); $telerik.$(".rgGroupHeader .rgGroupCol + td", sender.get_element()).attr("colspan", visibleCount); } }
GridBoundColumn has set ConvertEmptyStringToNull="false" but when calling InsertMethod, UpdateMethod the property binded to that GridBoundColumn is NULL. TryUpdateModel then crashes
I am able to edit only the last row in a radgrid. When I select any other row ..it throws an error.. "There was a problem extracting DataKeyValues from the DataSource. Please ensure that DataKeyNames are specified correctly and all fields specified exist in the DataSource." Though I have defined all the datakeyvalues it still throws me error. Did any one faced this problem..If I m able to edit one row why not others..please suggest. Thanks
While implement this demo http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/batchediting/defaultcs.aspx, when I was about to save changes I clicked "Add new record" instead "Save changes" and because of RequireFieldValidator in Unit Price I cant save changes. Now I am forced to add information to new record in order to save changes and not losing the rows I already added. I attached an image with the scenario.
Expose the MinValue and MaxValue properties from the GridNumericColumn RadNumericTextBox editor control, directly to the GridNumericColumn.