telerik

Disable Check-boxes recursively in RAD tree view

I am trying to select all the check-boxes of the children in a Telerik RAD Tree view when the user checks a parent node and disable the check-boxes of all child nodes. I have a recursive function that is successfully checking the boxes, but i'm not having much luck in disabling all child check-boxes. Here is my code: <script type="t...

TabStrip not displaying at all.

I have a RadTabStrip that just refuses to show on page load or reload. WHen My page load, the control is supposed to be loaded in the back with data and then displayed on the page. That isn't happening. The process runs through as expected in the server side but the rabtab is not displayed at all. Below is my code. If Not IsPostBack...

Unable to access the imagebuttons in the maltipageview

HI, I implemented radtab inside radgrid. I have have couple of image buttons and asp.net gridview inside RadPageView. in codebehind when i am trying to access those imagebuttons or gridview with id I am getting error like The name 'imgbtnNotesCancel' does not exist in the current context for gridview The name 'gvNotes' does not exist...

Bogus (Yet Crippling) "[WebElementId] is not declared" Error In VB.NET

So I have the error mentioned in the title when I try to build my web site through the file menu. The code that causes this is below (JavaScript that appears in the body tag): if(editedRow != null) { var SundayLoc = $find("<%= FieldOpsScheduler_ctl00_ctl05_RCB_SunLocale.ClientID %>"); ...

telerik radgrid GridView1_ItemInserted - can I get a return value

I have a telerik radgrid that is doing an insert using an objectdatasource. The insert method the objectdatasource calls has a boolean return value that I want to check in the radgrid's ItemInserted event. Is this possible and what is the code to do it. I checked the GridInsertedEventArgs e and there is no way I can see to get the ret...

How to bind RadDataPager.PageSize to RadNumericUpDown.Value in code

I have a RadGridView, a RadDataPager and a RadNumericUpDown all defined in code. Now i want to bind the RadDataPager.PageSize to the RadNumericUpDown.Value so the pagesize of the pager is changeable via the RadNumericUpDown control. Thus i try: RadDataPager dataPager = new ...; RadNumericUpDown pageSizeSelector = new ...; Binding b =...

In RadGrid, how can we merge 2 datacolumns only for viewing, but still be able to edit them separately?

I have a Telerik's RadGrid which has 2 columns like this: <Columns> <telerik:GridBoundColumn HeaderText="AirlineCode" UniqueName="AirlineCode" DataField="airlineCode" /> <telerik:GridBoundColumn HeaderText="FlightNumber " EditFormColumnIndex="1" DataField="flightNumber" /> ... ... ... more code, but unrelevant to the question her...

Changing style of button in RadInput

Hi I have a scenario where I need to change the image of the button in Radinput control based on some criteria. I have the following styles defined .MyButton { background:url('Error.png') 0 0 no-repeat !important; } .MyButton_1 { background:url('SupportsNotes.png') 0 0 no-repeat !important; background-color:Re...

Telerik MVC Grid: Setting the Default Sorting direction

Is there a way to specify the default sorting direction for columns in a Telerik MVC Grid? example: click on column 'Date' and it sorts descending, click on column 'Name' and it sorts ascending ...

How to allow some specfic character from long text in telerik column

hi I have an aplication in asp.net MVC and using telerik grid for displaying the record. Now one of my field has some large text about 1000 character due to which the text is getting extended vertically and layout is not looking good. Is there any way to show some specific number of character in the column and show the whole text in a t...

Calling C# code from a Telerik radconfirm

Is it possible to Call C# code from a Telerik radconfirm? I can make it call Javascript, but no server side code. I want the user to click a button which gives them a popupbox (radconfirm). With the radconfirm - if the user selects "yes" the c# code will be executed, if they click "cancel" no code will be executed <asp:Button ...

Is a Strongly Typed Html.Telerik().DatePicker() possible in ASP.NET MVC in a Html.BeginForm()?

I have a section of a view that I would like to submit to an action so it is setup inside a Html.BeginForm() I am trying to also make use of the Html.Telerik().DatePicker() control and would like it also to strongly type linked inside the form, same as the DropDownListFor, is this possible? <% using (Html.BeginForm("MyAction", "Respond...

Add media type of links created by Telerik StyleSheetRegistrar

Is it possible to set the media attribute on a link tag using the Telerik MVC Extensions StyleSheetRegistrar method? <%= Html.Telerik().StyleSheetRegistrar() .DefaultGroup(group => group .Add("telerik.common.css") .Add("telerik." + ConfigurationManager.AppSettings["Telerik Theme"].ToLower() + ".min.css")) %> I want...

telerik radgrid - how do I set the page focus to the insert button after clicking the add new record button to add a record

I have a telerik radgrid that has an allows inserts. After clicking the "Add New Record" button the textboxes appear with a couple of buttons. One for Insert and one to cancel. I would like the page focus to be on the insert button so when the user clicks the enter button, the insert button has the focus. Does anyone know how to do t...

Only allow one edit or insert in a RadGrid?

I'm using the Telerik rad grid and I'm allow the user to enter data directly to the grid. I am using the "EditForms" edit mode and I also allow inserts using the same. If the user edits a row, then I don't want to allow any other edits or inserts until the current one is complete or cancelled. I'm totally new to Radgrids and I've rece...

How to find a dynamically-generated HTML element?

I need to get the client-side instance of a RadComboBox (or the newly-selected value of a RadComboBox) when my RadGrid is leaving edit mode so I can post back the changed value to the server. The problem is, the client-side id of the object always changes. Also, the RadComboBoxes aren't created at runtime -- they're only created after ...

Telerik RadGrid refreshing a single row instead of using Rebind

I am using a RadGrid to display stock information. The data bound is a combination of 2 views and 2 tables. This is quite an intensive query, and the data behind it changes a lot. Now, when I update a value in a single row, I have to Rebind the data to update my grid (I use UpdateValues on the item, but it has no visible effect). This is...

How to change data context and re-render single RadGridRow

After rendering full grid I need to change data context of selected Row since initially "simple" objects are filled as data source and when single item is selected (looking at RowDetailsVisibilityChanged event), then I want to change DataContext to complex object, that shows much more info in details than in collapsed row. Using GridVie...

Telerik RadGrid - How do I set the MaxLength for the Insert Textbox

I have a radGrid on the page with the "Add New Record" button. When I click the "Add New Record" button, a textbox appears above each column that allows me to enter values. I want to limit the number of characters that can be entered in the textbox. How do I set the MaxLength of those textboxes? ...

JustMock vs. TypeMock vs. Other

With Telerik's JustMock product newly available, it has a lot of similarities to TypeMock, in the ability to mock concrete classes, not just abstract classes or interfaces. I was just curious your opinion on one or both of the products. What do you like or dislike? Seems like JustMock might be shy on some of the features (TypeMock has...