Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
85 views
I have followed the example on the site for implementing the RadFilter with a grid.  The control displays, but I get the following error:

 Line: 6
Error: Sys.WebForms.PageRequestManagerServerErrorException: Parameter cannot be null or empty.
Parameter name: fieldName 

This occurs whenever I click the add expression button.

Any help would be appreciated.

Thanks...Brian
Martin
Telerik team
 answered on 13 Nov 2012
1 answer
68 views
Just had something odd happen. 

I have a fairly conventional RadGrid with a FormTemplate popup editor. This has been working normally.

On the FormTemplate is a RadComboBox and I've been trying to attach a function call to the OnClientLoad event with the eventual intent of doing some intialization to the popup.

This function is defined as follows:

function cbLoad(sender) {
    var curVal = sender.get_value();

    if (curVal == 3) {
       var editForm = $find("<%=RadGrid1.ClientID%>").get_masterTableView().get_editItems()[0].get_editFormItem();                                
     }
  }


It appears that the $find call is what's disabling the popup.  If I comment that out, the popup displays normally.

Martin
Telerik team
 answered on 13 Nov 2012
1 answer
262 views
I have grid which works fine on firefox, IE8,9 but in chrome some grid column header overlaps to other columns header. all the columns have width in px, width for grid is set to 100% as I want horizontal scrollbars. also I have used itemStyle-wrap="false". plz check attached image. any suggestion to tackle this would be helpful.
Pavlina
Telerik team
 answered on 13 Nov 2012
1 answer
88 views
Hi everyone,

I have a problem to catch values in ScatterLineSeries with the Event .get_value()
I need to get the X value and de Y value.
Any ideas?

thanks in advance

Jaime
Software Engineer
Filupa
Top achievements
Rank 1
 answered on 13 Nov 2012
3 answers
99 views
Heey Guys 


got a strange error when I'm trying to open the page where the grid is 

The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).   on line 18

function PrintRadGrid(radGridId) {
        var radGrid = $find(radGridId);
        var previewWnd = window.open('about:blank', '', '', false);
        var sh = '<%= ClientScript.GetWebResourceUrl(UserGrid.GetType(),String.Format("Telerik.Web.UI.Skins.{0}.Grid.{0}.css",UserGrid.Skin)) %>';
        var styleStr = "<html><head><link href = '" + sh + "' rel='stylesheet' type='text/css'></link></head>";
        var htmlcontent = styleStr + "<body>" + radGrid.get_element().outerHTML + "</body></html>";
        previewWnd.document.open();
        previewWnd.document.write(htmlcontent);
        previewWnd.document.close();
        previewWnd.print();
        previewWnd.close();
 
        radGrid.get_masterTableView().fireCommand("EnablePaging", "");
    }

thanks for help and fast answer ! 

Pavlina
Telerik team
 answered on 13 Nov 2012
2 answers
130 views
I recently posted a problem about disabling controls client-side within a RadGrid FormTemplate: http://www.telerik.com/community/forums/aspnet-ajax/input/unable-to-find-a-usable-method-for-enabling-disabling-a-textbox-in-a-formtemplate.aspx

That screen works.  I can now control the enabling/disabling of RadTextBoxes using a function call from a checkbox.
Now I have a similar problem.  I have a similar screen in which the FormTemplate has several RadComboBoxes and RadButtons. 
What I want to do is enable/disable a RadComboBox and a RadButton depending on the value of another RadComboBox.

I've attached a function to a RadComboBox's OnClientSelectedIndexChanged event.  I know the function is being called.  I know I'm getting the correct value of the dropdown.  I know I'm getting back handles from the $telerik.findElement calls.   As far as I can tell from your documentation I'm using the correct enable/disable calls for a RadButton and RadComboBox. 

But this time nothing works.  The status of the controls is not changing.  Here's the code.

function test(sender, args) {
    var editForm = $find("<%=RadGrid1.ClientID%>").get_masterTableView().get_editItems()[0].get_editFormItem();
    var btn = $telerik.findElement(editForm, "btnSave");
    var combo = $telerik.findElement(editForm, "ComboBox1");                           

    var curVal = sender.get_value();

    // if the calling combo box has this value,
    // disable the other controls.                          
    if (curVal == 3) {
       btn.set_enabled(false);
       combo.disable();                             
    }
    // Otherwise, enable
    else {
       btn.set_enabled(true);        
       combo.enable();
    }
 }

Boris
Top achievements
Rank 1
 answered on 13 Nov 2012
3 answers
105 views
Hi,

I've a radtree with nodes in it in which some of the nodes have an image along with the text. Now, when they're rendered, the nodes get aligned from the start of the content. I want the text part of the nodes to be aligned. Please find the attached image for more clarification.

I tried adding a css class and a content css class. But I think the properties I mentioned are overridden.

Any help would be appreciated.

Thanks.
Noel

 
Kate
Telerik team
 answered on 13 Nov 2012
6 answers
185 views
Hi,

I created a custom skin using the Telerik Skin Builder. The template i used was the built-in Transparent skin.
The custom skin worked fine on my local VS project.

However, I deployed the full project to my server & ran the application but some of the custom settings i created in my skin are simply not working in Internet Explorer 9.When testing locally, i was using IE9 too & it worked fine in that.
I've tried the server-deployed project in Firefox & the custom skin settings work fine.
The main setting which is obvious is that i changed the ragrid selected row color from a dark grey to a very light grey. However, on the server, when using IE9, the color reverts back to the dark grey selection.

I've checked my files are correct & i've registered the custom skin by using the link method:

<link href="General.css" rel="stylesheet" type="text/css" />

 

<link href="App_Themes/Trans/Grid.Trans.css" rel="stylesheet" type="text/css" />

I only have 2 stylesheet files in my page so this 30 stylesheet file limit is no where near reached.

Any ideas why this is happening? 
Galin
Telerik team
 answered on 13 Nov 2012
1 answer
29 views

For last couple years I have been working with ASP.NET AJAX 2009 components without problems grids with auto filter and sorts works great until a few days. We start a new application with framework 3.5 previews ones where always 2.0. and there is no error or something but if you use a column filter with varchar values it didn’t work it shows like there were no matches to the search even if you know there are. With integer values works fine even with varchar values with numbers in it like a SSN column if you use that filter it works to.

I made a few test because I was working with them for long enough without problems. I change the table, chance the way is filled using a direct DataSource assigned to the grid. Or fill it in ejection with the needDatasource propertie and it was the same the problem persist finally when I thought about the difference of the framework I modified the framework of the test project and it works like always.

Well it was not as simple as change the framework, a change the dll from the one placed in Bin with the Bin35 in telerik Installation path, change the register assembly, remove some reference and other things until it compile and show the grid correctly.

Pavlina
Telerik team
 answered on 13 Nov 2012
1 answer
47 views
Is it possible to use the style builder dialog outside the editor, in a separate application? If so, how would it be done?
Rumen
Telerik team
 answered on 13 Nov 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?