Referring to: http://www.telerik.com/forums/dynamically-populate-databind-batchedit-radcombobox. Love the batch-edit, but just missing one major showstopper for me - being able to dynamically populate information in the edit controls for each row. A simplified example (using NFL and DivisionIDs) is explained in the above link. Thanks for the consideration! - Pat
For the time being you can add the following JavaScript workaround at the end of the form: <script> Telerik.Web.UI.RadGrid.prototype.repaint = function () { if (!this.canRepaint()) { if (typeof (this.get_element()) != "undefined") { this.add_parentShown(this.get_element()); } return; } else { this._clearParentShowHandlers(); } if (!this._scrolling && this.GridDataDiv) { this._scrolling = $find(this.get_id())._scrolling; } if (Telerik.Web.UI.GridScrolling && this._scrolling) { if (this._scrolling._shouldInitializeLayoutAndScroll) { this._scrolling._shouldInitializeLayoutAndScroll = false; this._scrolling._initializeDimensions(); this._scrolling._initializeScroll(); } else { this._scrolling.onWindowResize(); } } else { if (this._repaintWidthFlag) this.get_element().style.width = ""; var masterTableViewWidth = 0; if (!!this._masterClientID && this.get_masterTableView() != null) { masterTableViewWidth = this.get_masterTableView().get_element().offsetWidth; } if (this.get_element().offsetWidth < masterTableViewWidth) { this.get_element().style.width = masterTableViewWidth + "px"; this._repaintWidthFlag = true; } } if (this._masterClientID && this.get_masterTableView() && this.get_masterTableView()._virtualization) { this.get_masterTableView()._virtualization.repaint(); } }; </script>
Hi, i'm Maurizio and i would suggest a new feature for your RadGrid for Asp.Net. How in the title, i have write a jquery code that resize the height for insert, edit and filter mobile form. For do this, it is necessary configure the OnGridCreated client evento of Grid, set to Mobile the render mode property and into OnGridCreated event handler function insert the code that you found on file 'RadGridEventsManager.js' into zip attachment. I hope that is useful.
Hi Guys, When editing a grid line on the second page on a child grid detail page the edit form selects the incorrect record to update. It works fine if you don't use the paging on the on the child.. http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/insert-update-delete-hierarchy/defaultvb.aspx Thanks Hennie
This bug is present on this Demo that you provide, http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/batch-editing/defaultcs.aspx Steps to reproduce are: 1. Click on "add new record" command 2. Click on delete button, the one that is a red "X" 3. Click on Save Changes button. 4. It throws an JS error that is visible on any browser dev tools, attached is a screenshot showing that error. Please fix it soon. Thanks.
The event onclick of the checkbox to select all (inside th with class="rgHeader rgCheck") has syntax error with the function $find, which causes javascript error to the whole page in some cases (for me), and in some pages it doesn't and just can be "ignored". This can be seen at the demo: http://demos.telerik.com/aspnet-ajax/grid/examples/functionality/selecting/row-selection/defaultcs.aspx This demo page is not "broken down", but Firebug reports error: TypeError: toolTip is undefined. So, ToolTips might be affected. Function error: onclick="$find("ctl00_ContentPlaceholder1_RadGrid1")._selectAllRows("ctl00_ContentPlaceholder1_RadGrid1_ctl00", "", event);" So, using """ (double quote) here causes error. It should be "'" (single quote) like all other functions in th with class="rgHeader" as below. <th scope="col" class="rgHeader rgCheck"> <input id="ctl00_ContentPlaceholder1_RadGrid1_ctl00_ctl02_ctl00_ClientSelectColumnSelectCheckBox" type="checkbox" name="ctl00$ContentPlaceholder1$RadGrid1$ctl00$ctl02$ctl00$ClientSelectColumnSelectCheckBox" onclick="$find("ctl00_ContentPlaceholder1_RadGrid1")._selectAllRows("ctl00_ContentPlaceholder1_RadGrid1_ctl00", "", event);" /> </th> <th scope="col" class="rgHeader"> <a onclick="Telerik.Web.UI.Grid.Sort($find('ctl00_ContentPlaceholder1_RadGrid1_ctl00'), 'CustomerID'); return false;" title="Click here to sort" href="javascript:__doPostBack('ctl00$ContentPlaceholder1$RadGrid1$ctl00$ctl02$ctl00$ctl00','')">Customer ID</a> </th> <th scope="col" class="rgHeader"> <a onclick="Telerik.Web.UI.Grid.Sort($find('ctl00_ContentPlaceholder1_RadGrid1_ctl00'), 'CompanyName'); return false;" title="Click here to sort" href="javascript:__doPostBack('ctl00$ContentPlaceholder1$RadGrid1$ctl00$ctl02$ctl00$ctl01','')">Company Name</a> </th> <th scope="col" class="rgHeader"> <a onclick="Telerik.Web.UI.Grid.Sort($find('ctl00_ContentPlaceholder1_RadGrid1_ctl00'), 'ContactName'); return false;" title="Click here to sort" href="javascript:__doPostBack('ctl00$ContentPlaceholder1$RadGrid1$ctl00$ctl02$ctl00$ctl02','')">Contact Name</a> </th> <th scope="col" class="rgHeader"> <a onclick="Telerik.Web.UI.Grid.Sort($find('ctl00_ContentPlaceholder1_RadGrid1_ctl00'), 'ContactTitle'); return false;" title="Click here to sort" href="javascript:__doPostBack('ctl00$ContentPlaceholder1$RadGrid1$ctl00$ctl02$ctl00$ctl03','')">Contact Title</a> </th> <th scope="col" class="rgHeader"> <a onclick="Telerik.Web.UI.Grid.Sort($find('ctl00_ContentPlaceholder1_RadGrid1_ctl00'), 'Address'); return false;" title="Click here to sort" href="javascript:__doPostBack('ctl00$ContentPlaceholder1$RadGrid1$ctl00$ctl02$ctl00$ctl04','')">Address</a> </th> <th scope="col" class="rgHeader"> <a onclick="Telerik.Web.UI.Grid.Sort($find('ctl00_ContentPlaceholder1_RadGrid1_ctl00'), 'PostalCode'); return false;" title="Click here to sort" href="javascript:__doPostBack('ctl00$ContentPlaceholder1$RadGrid1$ctl00$ctl02$ctl00$ctl05','')">Postal Code</a> </th>
The fisrt item in a GridDropDownColumn is selected when editing an item in the Grid, if the value of the dropdown is null. The DefaultMessage is appearing on the grid, when NOT in the EditMode and the value of the field is NULL. The behavior was different with Q1 2015.
Hi, RadWindow has a property as "KeepInScreenBounds", on setting of which the radwindow can not be moved out of screen area. Lets have the similar or kind of property on Edit Popup of RadGrid with Editmode=Popup? The expectation is, edit popup of radgrid should not be moved outside of screen area that is visible to the user. This is perfectly achieved by for radwindows with "KeepInScreenBounds" property. Ticket url: http://www.telerik.com/account/support-tickets/view-ticket.aspx?threadid=953219 Thanks, Sunil
1. Add row to grid. 2. Delete the exact same row. 3. Press save changes button. - Client side error, as seen http://prntscr.com/7qf6zr