radgrid

Problem programmatically setting columns to read-only on a Telerik RadGrid.

I'm trying to dynamically make certain columns readonly at runtime using the following code in my Page_Load handler: GridNumericColumn gncp = grid.MasterTableView.GetColumn("ActualProduction") as GridNumericColumn; if (gncp != null) { gncp.ReadOnly = true; ...

Telerik RadGrid always display X rows, even if there are only Y data rows on the last page where Y < X

I have a telerik rad grid with PageSize=10. The problem is if I have 34 items. On the last page, there will only be 4 rows. Is there a mode to force to control to render with 6 empty null rows or do I have to implement this myself by adding blank rows o my DataSource? ...

Replace GridView with RadGrid in Dynamic Data List.aspx

I have found an adapted RadGrid from Telerik, with some overrides, for use in the ListDetails.aspx page template in dynamic data projects, but a cursory experiment yielded only a vast list of compiler errors. I was wondering if anyone has enjoyed any success here? I only need the list aspect of the grid, not edit, but I'm trying to ski...

Expand all items in RadGrid Hierarchy

I am using a RadGrid (2009 Q2) with a hierarchy. Is there a way in the client api to expand all rows and vice-versa? thanks! Update: I have written a javascript function based off the api documentation suggested by Dick Lampard below to expand/collapse all rows in a radgrid with three levels. It expands all the mastertableview rows...

RADGrid Client-Side databinding and Grouping

Hi there, I have a radgrid on an MVC view which is client side binding to a JsonResult controller. I need to display the returned json data in a grouped format but cant find anything on the radgrid that does that. Ive checked out the documentation and there seems to be no mention of clientside grouping on radgrid. Can you please advise...

How do I programatically put telerik rad grid in "add new" mode on page load

Seems like this should be easy but I must just be missing something... I have a Telerik RadGrid on a page that allows inline editing. How do I programatically put the grid into edit mode to insert a new row into the grid. When the page loads I would like show the existing data and also display 1 empty row that a user can easily type...

Can an individual RadGrid row be selectable based upon a condition?

I have a RadGrid that has a GridClientSelectColumn. I have the AllowRowSelection setting set to true. Is there a way on the server end that I can conditionally set whether an individual datarow in selectable or not? I want some rows to be selectable on the client-side, but not others. Thanks! ...

Binding a radgrid to a tree like data structure

I have a structure that looks following Class TreeNode { public TreeNode Parent { get; } public IEnumerable<TreeNode> Children { get; } public . . . . } I want to bind this to a asp.net telerik radgrid with detail tables for each level of the children. I know that radgrid supports declarative binding to a self referenci...

RadGrid In-Line Editing with Hierarchical DropDownLists

Hi Everyone, Has anybody seen a demo or forum post that might help me out with this issue? What I'm looking to do is to have a RadGrid with in-line editing. I have three columns, "Category", "Question", and "Answer", which I'd like to use drop down lists for. However, what I'm looking to do is when a "Category" is selected, to repopu...

telerik radgrid: grid clientside pagination

I have a web service which returns me some data,I am massaging this data and using this as datasource for my radgrid (telerik). The datasource is quite large, and would like to paginate it. I found couple of problems when I paginate it in the server side I have to bind the grid again for pagination, which essentially means I have to ma...

Set default value of telerik:GridDropDownColumn inside of telerik:RadGrid

I have a telerik:RadGrid that is bound to a SQL Data Source. One of the columns is for "Location" which is really a look up value in another table. <telerik:GridDropDownColumn DataField="d_location_id" DataSourceID="dsLocation" UniqueName="d_location_id" DataType="System.Int32" ListValueField="d_location_i...

Telerik RadGrid Add/Edit Row Performance Issue

In a Telerik RadGrid, the user has the ability to add a row and edit an existing one. It appears that the grids actually force a postback to occur before the UI controls are rendered on the screen. I'm noticing a second to two seconds delay from the time the button is clicked to the time the controls appear. This seems about a second ...

Calculated cells in Telerik RadGrid's GridGroupFooterItem

I'm populating a Telerik RadGrid with data from a DataTable (System.Data.DataTable). As I'm supporting someone else's application, I can't use any other data source or display control. In my grid I have three columns: let's say they are Widgets Produced (column A), Faulty Widgets (column B) and Faultiness Proportion (column C). The data...

Telerik Radgrid row visibility inserting unwanted blank row placeholders

Good morning, I am using the radgrid control and attempting to change the visibility of certain rows within the grid. When I set the VisualElement.Visibility = ElementVisibility.Hidden property the row disappears from the grid but there is still a blank row placeholder left in its place. Is there a way to collapse the remaining rows tha...

radGrid Add new record vs. Edit Record

Does anyone know how to validate if you are in Add Mode vs. Edit Mode for the radGrid? In the codebehind, I want to check to see if the user selected Add a Record or Edit an Existing. Thanks ...

RadGrid - check if a column is fully/partially displayed

How can you check if a column is partially or fully shown on screen when using a radgrid. ...

RadGrids, DetailTables, and Grouping

Hey Everyone, Say I have a RadGrid that shows info on what a customer has ordered. The master table view is all customer-related info. When expanded, the detail table contains info about the item the customer ordered. Now, here's the tricky part: We sell items that we call a "Kit"; essentially they're multiple skus ordered under one...

Telerik RadGridMultiRowEdit

Hi , I have set the AllowMultiRowEdit propoerty to true for a RadGrid and i edit multiple items without saving them that is If there are 3 items i am editing i make changes to all the 3 rows and save one after the other on save of the first one whatever values were changed for the other rows are reset . How do i make these changes to r...

how to set wcf credentials when Telerik radgrid consumes the wcf service?

Hi, I have a wcf service that requires client credentials so I can set this via code like this : wcf.ClientCredentials.UserName.UserName = "user"; wcf.ClientCredentials.UserName.Password = "password"; I followed this tutorial on how to create a telerik radgrid to consume the wcf service: http://blogs.telerik.com/blogs/posts/09-02-14...

More user friendly (and streamlined) editing on Telerik RadGrid.

I have a fairly basic RadGrid, with a few read-only columns, and two numeric editable columns. By default, a user has to click on the Edit button (in the rightmost column), edit values, and then click the Update button in the rightmost column. What I would like to do is something along the following lines, in any combination of any set...