telerik

Clear the Min/Max dates of RadDatePicker client-side?

According to Telerik's documentation, to set a RadDatePicker's mindate or maxdate properties client-side, you are to use the two methods set_minDate() and set_maxDate() respectively. I initially thought that simply passing in null into these methods would remove any constraints on the controls, but it does not seem to be the case. Does...

ASP.NET Server Control based on RadComboBox - Postback issue

I am trying to create a custom control that extends the RadComboBox from Telerik to create a Dropdown Checkbox List with default templates. The plan is to use the control in several places so I wanted to consolidate all of the logic in one spot. However I am experiencing a couple of weird issues on postback. If you check a couple of i...

Rad Grid + jquery

I am having a rad grid on my page and a rad tab strip the rquirement is that when the user clicks on any of the row in the rad grid all the details of the particular row must be populated in the rad tab strip.My function for populating the rad tab strip is written in jquery,my problem is how to get the items in the rad grid.I had written...

Any experience combining JS / CSS in MVC?

I'm planning to implement a solution for combining multiple js/css files into single files in my MVC project, but currently I doubt between the following two possibilities: Telerik Extensions for ASP.NET MVC (www.telerik.com/products/aspnet-mvc.aspx) Supports combining multiple files into one request Supports groups of web assets Sup...

Passing the value of a readonly radgrid column to a stored procedure

I have a radgrid bound to a SqlDataSource that includes a hidden, readonly column that stores a pk. I want to pass the value bound to that column to a stored procedure for Updates but the default behavior when the column is readonly is not to pass the parameter to the sqlDataSource. My question is whether there is a way to pass that va...

Styling Sylverlight Telerik Radupload

At the moment I'm using Silverlight RadControls from Telerik. In my site I've implemented the RadUpload control. Because the control is not styled the way I want, I'm restyling it for my site. The way I'm doing this is as follows: Right click on xRadUpload > Edit Template > Edit a Copy. After doing this I'm able to style almost everythin...

Changing how a telerik radgrid marks a row as "modified"

I am working with the Telerik Winforms Radgrid version 2009.2.9.701 in visual studio 2008 (C#) and I've come across and issue I can't seem to find a solution for. When the radgrid is populated and the user changes a cell within a row, the row is not flagged as "modified" until the user actually clicks onto another location on the datagr...

null reference error in telerik Grid

I always get a null reference error ( "Object reference not set to an instance of an object.") when try to edit a row in telerik rad control in runtime. I use asp ajax version. Any help is really appreciated! ...

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; ...

Iterating over an unknown IQueryable's properties?

Forgive me if this has been asked before; I couldn't find anything close after a few searches: I'm trying to write an ActionFilter in MVC that will "intercept" an IQueryable and nullify all the parent-child relationships at runtime. I'm doing this because Linq does not serialize objects properly if they have parent-child relationships (...

How do I get get a proper metric Telerik Reporting Designer?

Everything I can possibly set to metric on my machine is set to metric, including the Unit of Measure for my Telerik report, yet when I add a control to the design surface, it's Location property is set in inches, and the dimensions shown for all controls on the design surface (vs. in the property grid) are still inches as well? Is th...

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...

Removing all CSS from telerik controls

Hi I'm using Telerik RadControls for ASP.NET and wondered if there was any way to turn off/stop the CSS that is automatically downloaded with the controls. I don't want to remove any of the class names that are applied to the telerik HTML elements, I just want a clean slate so that I can style them exactly how I want. The reaon I ask ...

How do I set the StripFormattingOnPaste property of a Telerik RadEditor with JavaScript?

I don't have access to the actual asp.net server tag itself, so I need to change the StripFormattingOnPaste property to the EditorStripFormattingOptions enum with JavaScript and I'm not sure how. I have some code that adds an OnClientLoad() and OnClientCommandExecuted() functions that works so I can add it in there, I'm just not sure whe...

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...

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...

Telerik Silverlight RadTreeview AutoRefresh

In my application I am using the Telerik Silverlight RadTreeView control. This is populated with hierarchical, load on demand data. My view refreshes every 60 seconds and I want to maintain the expanded nodes, the selected item and the scroll postion. What is the simplest way to acheive this? Any help much appreciated. Thanks, Mark ...

Execute client Javascript after RadAjax callback.

I have a web form that uses the Telerik RadAjaxManager (via RadAjaxManager proxy) to update a RadGrid based on filter criteria. When the criteria change, I rebind the grid, but now I also want to resize the grid on the client, using JavaScript. How can I cause my JavaScript to be executed when I rebind the grid? The JS code already ex...

Telerik RadComboBox javascript API problem

Hi all, I've been having a problem using the javascript API of the RadComboBox from Telerik. And no I don't have the power to switch over from Telerik to jQuery or another framework.. Suffice to say I have hardly any hair left on my head now :P In a nutshell I want to grab the selected index of one RadComboBox, and update another RadCom...