telerik-grid

Setting a telerik:GridCheckBoxColumn default value

I have a Telerik RadGrid with a GridCheckBoxColumn. When the user clicks the "Add New" button, I want to default the GridCheckBoxColumn to "true". How do I do this? Thanks ...

In Telerik Radgrid, how can I page the results according the number of group headers?

Is there a way of set some "PageSize" property according the number of "Group Headers" in a RadGrid? Regards! The code snippet is bellow: protected void PageResults(DataTable AnyDataTable) { //Textbox where user inserts the number of registers that will be showed per page. if (txt_register_per_page.Value.HasValue) { int Re...

Telerik MVC: Generic Grid

I am wondering if I could design a generic way to design a Telerik MVC Grid. Example: Model is a List of FieldDescriptor. A FieldDescriptor has a name, a value and a type. Thus I want to show the colums of the Grid according to the data in the model - depending on which fields come and what their type is. But the Telerik MVC Grid onl...

Paging with the Telerik MVC grid when using a sproc

The documentation only shows how to bind to an IEnumerable (which uses linq to page and sort) ... but I need to go against a sproc because expressing the query I'm working on with linq is proving to be a bit slow. Can anyone provide any guidelines or pointers on what's the best way to do this? ...

Programatic control using Telerik OpenAccess ORM and the RadGrid

Ok, between following documentation, posts and videos that use syntax and tools that are no longer used or available, I'm really lost as to how to go about even using Telerik's OpenAccess. So I thought I'd ask for some help and hopefully someone out there has done this before. I want to simply bind my OpenAccess entities to a RadGrid, ...

Upgrade to Silverlight4 Issues

Hi All, I am new to the Silverlight. ANd right now stuck with the one issue. Before we are using Silverlight 3 and telerik silverlight controls version 2009.3.... Currently we want to upgrade our project to Silerlight 4 and telerik to 2010.1.... I am getting one issue regarding GridView. It is showing totally blank even in the collecti...

Telerik Grid - Referencing a Selected Item

Hi When I click a row on my Telerik RadGrid, I can fire the following method. I can reference any of the columns eg item["Description"] Problem: How to reference the DataKeyName of 'Id' <telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" DataSourceID="LinqDataS...

How to bind a telerik grid column to a child data object that is a list?

I have a grid that binds a number of child data objects to columns with no issue, using the syntax defined at http://www.telerik.com/help/aspnet-ajax/grdbindingtosubobjects.html. What I cannot figure out, however, is how to aggregate a child object that is a list or collection. For example, if I have a Customer object and I want to get ...

Telerik RadGrid with different types of edit controls

Hi. I have to dispay a list of fields. Some are editable and some are not. Those that are can be different types, such as text fields, dates, times, or boolean. I'm using Telerik's RadGrid. See screen shot for a test project I made. Questions: In the item created handler, why are there 4 cells? I had to fill in cells[2] and cells[3] for...

Telerik Grid Paging Count and Item Count Incorrect

Hi, We're using a RadGrid in DotnetNuke module to show a list of stores. The user can filter the list of stores by choosing a country and province from drop down lists that are separate from the grid. The page count and item count figures are incorrect all the time. We've tried using DataBind and Rebind on the Grid object, but it mak...

How to read xml child nodes, bind to GridTableView

For the below xml, Is there some way that I can read the nodelist Products, which comes in dynamically with many number of Childnodes, with its child nodes and having multiple number of Attributes in it? The motive being: Binding the xml to Radgrid with a hierarchial representation just like this <Results> <Products ID="1" B_Id="12" ......

Telerik MVC grid - ArgugumentException when filtering

Greetings, I'm having the problem posted here (the post dated August 18th is mine), but not getting anywhere. In a nutshell, filtering with Telerik's MVC grid causes an ArgumentException with the message "The argument to DbIsNullExpression must refer to a primitive or reference type." Interestingly, if you .ToList() the IQueryable firs...

Does anyone know how to get the `InsertItem` of detail table of radgrid?

Does anyone know how to get the InsertItem of detail table of radgrid? I can get from master table using the following code. Radgrid1.MasterTableView.GetInsertItem(); But how can I get it from detailtable? ...

Hide column in telerik Grid but need to get it

let's say i have an order and order details. the view will contains the order fields, and a Telerik Grid for the details i always maintain a reference of the Order in the session. Session["Order"] = order; and when the user add an order detail to the grid, I'm saving it in the Order reference. public ActionResult Grid_AddDetail(Ord...

ajax editing in Telerik Grid, Display Templates are not rendered when update the row.

I have a telerik grid, when I edit a row: but if i pressed the update button or even cancel(watch the mid column): here is the declaration: <%= Html.Telerik().Grid<AlefTech.HumanResource.WebModule.ViewDto.MaritialStatusItemEditDto>(Model) .Name("Grid") .DataKeys(keys => { keys.Add(c => c.MaritialStatusItemID); ...

How Get the total count of pages shown on telerik grid view

Hi, I am taking export to excel using telerik extension, In grid view I have filtered my data according to name, Now the resultant view is shown in multiple pages, Is there any way by which I can get the number of pages on my telerik grid view , so that I can export all at once . In any telreik view we have listed records which can be...

How can I change the default filter for telerik mvc grid?

How can I set the "Starts with" value to be the default filter for telerik asp.net mvc grid? UPDATE: When the user clicks the filter button, I want the "Starts With" option to be his first option, and not the "Is equal to". ...

Binding Background (color) for the entire row of a telerik:GridViewDataControl WPF control

I have the following class: public class ErrorMessage { public enum Severity { Error, Warning} public ErrorMessage(Severity severity, string description) { this.severity = severity; this.description = description; } public Severity severity { get; set; } public string description { get; set; } ...

Does the telerik RadGridView have an "IsDirty" Property

Is there any way to tell whether an ItemSource (e.g. a strongly typed List) for a RadGridView has been modified in anyway by RadGridView edit or delete operations? ...

Silverlight 4 [Telerik 2010, VS 2010] - Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))

Hi All, We are just migrating from silverlight 3 to Silverlight 4. and also from telerik 2009 to 2010. There is one functionality of GridView, that when click on the cell it will open the popup. Because of the upgration, we have newly implement some classes like "Public Class GridViewCustomColumnCellProperty : GridViewBoundColumnBase"...