This is a migrated thread and some comments may be shown as answers.

Problems in radgrid when switching from localhost to servername

1 Answer 61 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ahmed
Top achievements
Rank 1
Ahmed asked on 18 Jan 2014, 12:15 AM
Hello,
I've a radgrid which is working properly when I access the website using localhost i.e. localhost/mywebsite
when I use the server name (the same machine i.e. dev machine) devmachine/mywebsite  I got two problems
1. in the UI radgrid skin is changed mainly for the grouping header
2. getting js exception
in line:
 var d=h.tHead.rows;
in this method:
Telerik.Web.UI.Grid.getMultiHeaderCells=function(k){var c="MultiHeader";

exception is unable to get property 'rows' of undefined or null reference.

As I've multi header for this grid,

note everything is working without any errors using localhost/mywebsite.
I'm using VS2012, windows 8.1, IE 11

1 Answer, 1 is accepted

Sort by
0
Ahmed
Top achievements
Rank 1
answered on 18 Jan 2014, 01:52 AM
I fixed the problem, by removing the Display = false and replace it with Visible = false.

I found that there is problem of using this property and do multi level grouping, so the group header does not have a color for all the columns.
Tags
General Discussions
Asked by
Ahmed
Top achievements
Rank 1
Answers by
Ahmed
Top achievements
Rank 1
Share this question
or