Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
87 views
I've got a the below javascript function that's called from OnGridCreated event handler. Everything works fine in Chrome, IE8 and IE9 browsers but I'm getting a javascript error in IE7 on the masterTableView.showColumn(columnIndex) or on  masterTableView.hideColumn(columnIndex). 

function toogleColumnDisplay(masterTableView, columnUniqueName, isDisplayed) {
    var column = masterTableView.getColumnByUniqueName(columnUniqueName);
    var columnIndex = column.get_element().cellIndex;
    if (isDisplayed) {
        masterTableView.showColumn(columnIndex);
    }
    else {
        masterTableView.hideColumn(columnIndex);
    }
}

It seems the IE7 error occures when a column is already hidden, and you're trying to use hideColumn on it. Also, if a column is visible  showColumn will produce an error. As a work around, I tried to check the column visibility before trying to change visibility.
 if (isDisplayed == column.get_visible()) {
        return;
    }

However, even though column's get_visible()  method returns an appropriate value after showColumn or hideColumn methods, the actual visibility of columns on the screen is not changed. It seems like the columns are not added to this._hiddenCols collection. 

Thanks,
Alex
Angel Petrov
Telerik team
 answered on 26 Oct 2012
1 answer
88 views
Hi,

I am trying to create a base grid class with all the features that can be configured from the  child classes( the screens that use this base class).

Do we have the code base library for using a radgrid as a common grid class?


Thanks, 
Jay
Angel Petrov
Telerik team
 answered on 26 Oct 2012
1 answer
129 views
Hi,
I need to draw a custom grid line (to mark a border value) in my grid. Is this possible with the ASP.NET AJAX version of the Chart control? I want to do something like this: http://www.telerik.com/help/silverlight/radchart-features-annotations-custom-gridline.html

I would like my chart to look something like the attached image.

Im using version 2011.3.1115.35.


Regards,
Martin
Petar Kirov
Telerik team
 answered on 26 Oct 2012
5 answers
159 views
Good morning,
I've a RadGrid object built in a function and after add this grid in the list of controls of the page.

My problem is the GridGroupHeaderItem that is visible.
I try to set the property grid.GroupingEnabled = false; during the creation but don't work.

How cai I do for hide this column in this scenario ?

lupotana
Top achievements
Rank 1
 answered on 26 Oct 2012
4 answers
168 views
Hi everyone,

I have a problem with RadWiindow. The scenario is a RadWindow is opened from a page which contains an Intersoft WebGrid control. The RadWindow can't be moved (dragging the title bar) in Firefox/Chrome and it works fine in IE. After script debugging, there is an uncaught javascript exception which complains as below about the JS function getTouchEventLocation in Telerik.Web.UI.Common.Core.js

getTouchEventLocation:function(g){var d=arguments[1],b=d?[d+"X"]:"pageX",c=d?[d+"Y"]:"pageY",a={x:g[b],y:g[c]},f=g.changedTouches||(g.originalEvent?g.originalEvent.changedTouches:g.rawEvent?g.rawEvent.changedTouches:false);
if($telerik.isTouchDevice&&f&&f.length<2){a.x=f[0][b];
a.y=f[0][c];
}

Error message: TypeError: g is undefined

(FF is 16.0.1 and Chrome is 22.0.1229.94)

thanks in advance,

Roger
Shen Li
Top achievements
Rank 1
 answered on 26 Oct 2012
1 answer
102 views
While working with a column series of the RadHTMLChart, I noted that the reference used in the DataField can not have accessed properties/members.  For example, I wanted to referenced a TimeSpan's object TotalHours as "Time.TotalHours" but it did not work.  Is this intended?  Do you plan to change this in line with other controls?

Thanks.
Marin Bratanov
Telerik team
 answered on 26 Oct 2012
1 answer
83 views
I've got a combo box with CheckBoxes set true and some custom CssClasses being applied to the Input and Dropdown. When the combobox is expanded and an item checked state changes, the input gets rewritten with only the rcbInput class applied, the one from InputCssClass is not carried forward.
Nencho
Telerik team
 answered on 26 Oct 2012
1 answer
141 views
First, sorry for my bad English; i'm Dutch.

I'm new to this forum, and new to the Telerik Controls for AJAX. Currently I'm trying the demo, to see if it works for me.

I'm having a strang problem, witch only occurs in Internet Explorer (9), not in Chrome. When I'm adding a RadComboBox to my screen, it's perfectly in place. But, when I'm viewing my site in IE9, the control is out of position. It has moved about 25px down. When I go with my cursor/mouse, over the control, it jumps in the right position. Very strange.

Can anybody help me?

update:
I found out that the whole DIV moves back in the right position, when I hover over the control. Only when I set the DIV's position to absolute, nothing happens. But, then there's white space above the DIV, which I don't like. 
Nencho
Telerik team
 answered on 26 Oct 2012
1 answer
90 views
My guess is there's no way to do this, but any chance is there a way say, if a user clicks a button, it opens a radWindow on the page. If they then hit the browser's back button, is there a way to code it so in this situation clicking the browser's back button it would just close the radWindow (when the radWindow is visible, otherwise, it would work as normal)?

Our users often try to use the back button for everything, despite there being very visible close/cancel/back custom buttons on a page.
Marin Bratanov
Telerik team
 answered on 26 Oct 2012
1 answer
112 views
Hello,
I am using RadToolTip control to display a Tooltip. its working fine on IE versions but not working on Mozilla and chrome version.
Any suggestion would be appreciated.
Thanks
Marin Bratanov
Telerik team
 answered on 26 Oct 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?