radgrid

RADGrid and ValidatorCalloutExtender

Hi there - I'm using a RADGrid inside a WebUserControl and am having some issues with the Validator Callout Extender. The Grid uses edit in place and I have setup an EditItemTemplate for one of the fields that contains a drop down list which in turn has a required field validator attached to it. The validator works as expected, howev...

Telerik RadGrid working examples

I'm looking for some examples of production websites that currently use the Telerik Rad Grid. I'd really like to see some real world scenarios in action, other than the Telerik RadGrid demo. Does anyone know of any websites that use it? ...

Telerik radGrid - possible to do use AllowAutomaticUpdates when Datasource = a dataset?

I am setting the datasource of my radGrid to a dataset (that I have stored in session). I have enabled AllowAutomaticUpdates and EnableViewState, implemented NeedDataSource, set DatakeyNames, etc. (see code below) However, when I press the Edit button and make a change and press the Update link, the record does not update and leave Edi...

Binding Telerik RadGRID to a list<string> object

I have a simple use for RadGrid that involves binding it to a list of strings i.e. using: list<string> The bind works OK and the data displays in the grid. However, the header says "Item", and there are other aspects of the column I'd like to be able to customize. I've tried to set the "DataField" property of the column on the a...

Telerik RADGrid - most efficient use

Do you typically use the designer or do everything in the ASPX? Are the resources you've found particularly helpful to come up to speed quickly on how to use this control? I've noticed the intellisense comments for this control are minimal. I'm continuing to browse the documentation on Telerik's web site, I'm wondering if there are an...

Telerik RadGrid - How do I default to edit mode?

I want to make the items of my RadGrid be editable on page load. I've tried both methods here http://www.telerik.com/help/aspnet/grid/grddefaulteditmodeforgriditemsoninitialload.html but neither have any effect. The 2nd method for example, shown below where the Edit property is set on the ItemCreated event, causes the Edit mode to be se...

Telerik RadGrid opening an extra popup edit form when pressing "enter" from a popup form for inserting

I have a radgrid that uses the popup edit mode with a custom edit template. The edit form upon pressing the enter key will insert a new item into the grid. I go in and add an item. This successfully inserts. Then I go to add a second item: The popup form appears. I enter in my data and press the "enter" key to insert the item. Thi...

Telerik RADGrid Self-Referencing Hierarchy Parent Row Modifications

I posted this on their forums, but so far haven't heard anything back (which is getting more commonplace and a little disconcerting to be honest). If anyone can help me here that would be awesome! I have a self referencing hierarchy that currently goes three levels deep (could be more in the future though). Whenever a specific column ("...

LinqDataSource Page 1 queries for all records, pages 2-n queries by page size

I'm passing a LinqDataSource into a Telerik RadGrid. The LinqDataSource is an LLBLGen ORM. Everything is working great - paging, grouping, filtering, etc. all work nicely. I wanted to see how the SQL queries looked. I found these curious results: When I look at page 1, two queries are executed... 1 for the total record count and 1 fo...

Accessing all elements of a GridEditableItem in RadGrid

I am intercepting the update operation for a RadGrid. like this e.Canceled = true; GridEditableItem item = e.Item as GridEditableItem; Hashtable dictionary = new Hashtable(); item.ExtractValues(dictionary); This gives me the changed values in the HashTable. The problem is I want to access ALL the elements of the current row. How do i ...

RadGrid losing track of current Edit Item after insert operation on DataSource

I have a RadGrid bound to a LinqDataSource. The grid has auto generated Edit and Delete columns. It displays a simple table without any hierarchical organization. I am taking the following steps. Populate a RadGrid using a LinqDataSource Click Edit on the last row of the grid From another control on the page, update the linqdatasourc...

Adding GridDropdownColumn to Radgrid detail table

I am binding a detail table in DetailTableDataBind event of a Radgrid. The event handler contains code to bind it to a linqdatasource. This adds a bunch of GridBoundColumns to the detail table. However i want some of these to be GridDropdownColumns. How do i go about that ...

Telerik RadGrid - How to disable sorting for a Column?

In their documentation Telerik says that there is a way to disable sorting for specific column by using AllowSorting property. I'm looking at Telerik.Web.UI.GridColumn members and there is no AllowSorting property. There is a Sortable property but its protected and has to be overriden. So what do I use to turn off sorting for specific...

Telerik RadDock - ajax update returns a JSON error.

Trying to update RadDock (open/close it) by putting it in UpdatePanel however no luck....I'm getting the following response. 189|error|500|Invalid JSON primitive: {"Top":179,"Left":583,"DockZoneID":"","Collapsed":false,"Pinned" :false,"Resizable":false,"Closed":false,"Width":"300px","Height":null,"ExpandedHeight":0,"Index":-1} .| He...

Grid with too many columns in fixed width website

I am using Telerik's Radgrid for a website. Often the grid columns exceed the available width, and extend outside the main content area (fixed width). So what are my options for presenting very wide grids. horizontal scroll bars just look ugly on my site ...

Telerik RadGrid Cast exception when populated with an array of objects by their parent type

I have just come across a Casting Exception while using the Telerik RadGrid. It occurs during the DataBind event if I have an array of objects as the datasource radgrid1.DataSource = new BaseObject[] { new ChildObject1(), new ChildObject2() }; where the classes ChildObject1 and ChildObject2 both inherit from the class BaseObject. ...

How to calculate RadGrid cell value on Client side?

I have telerik RadGrid which is in edit mode. Each cell contains NumericTextBox. Is it possible to calculate one cell based on other cells in the same row (on client side). For example if I have a row which contains cells like price and item I want on every change to calculate total price but on client side, without going to server sid...

Client Binding On RadGrid

hi every body i'm searching for a way to render a grid or do sth like need-datasource event using xml client side data I mean use the client side data to bind and render a grid any help would be appreciated ...

RadGrid export to excel

I have a radgrid that generates columns dynamically based on user input. Once the grid is populated, the user has the option to export to excel or word. However when the user want's to retain the page formatting, no data is getting exported. But if the user then selects to ignore paging, everything works fine. So it seems that if the...

RadGrid: CommandItemTemplate

Should controls in RadGrid's CommandItemTemplate maintain the state. I have template below and after posting back controls revert to initial state. ViewState is not turned of on the page level or on the grid. <CommandItemTemplate> <div class="gridActions"> Notes <asp:DropDownList ID="cmdFilterNoteType" runat="se...