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

[Solved] Can't get Grid Prometheus working

4 Answers 134 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jakub Rehacek
Top achievements
Rank 1
Jakub Rehacek asked on 06 Mar 2008, 05:34 PM
I have extremely simple page just ScriptManager SQLdatasource and Prometheus RadGrid on it.
When I try to acces the page I get following error:
Microsoft JScript runtime error: 'Sys.WebForms.PageRequestManager' is null or not an object

Processing breaks on this statement

var _5=Sys.WebForms.PageRequestManager.getInstance();

in the ScriptResource.axd

What is the problem?

I have Prometheus RADUpload on a different page and it works fine (I setup the application for AJAX), I have other "Ajaxified" grids (Infragistics) on other pages in the same application and all work fine except RadGrid.
What am I doing wrong?
WinXP Pro, VS2005, IIS on localhost

Thanks,
Jakub

4 Answers, 1 is accepted

Sort by
0
Jakub Rehacek
Top achievements
Rank 1
answered on 07 Mar 2008, 01:39 PM
Bump...

any ideas? I am trying to decide between RAdGrid and Infragistics grid for our team. So far infragistics is winnig since I can just drop it on a page and it works.
0
Ves
Telerik team
answered on 10 Mar 2008, 11:38 AM
Hello Jakub Rehacek,

Do you have the following tag in your web.config file by any chance?

<xhtmlConformance mode="Legacy"/>

You will need to remove it in order to use ASP.NET AJAX (RadControls "Prometheus" are built on top of ASP.NET AJAX). Please, find more details here.

If that is not the case -- do you experience the same issue when using RadGrid "Prometheus" in a new web site? Can you send us a sample that reproduces the issue, please? Then we will be able to provide further assistance.

Best wishes,
Ves
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Jakub Rehacek
Top achievements
Rank 1
answered on 11 Mar 2008, 01:30 PM
That was it!!
Thanks.

Another issue. When sorting is enabled and column header is clicked while holding Shift key, the entire page bombs with Javascript error "Object Expected" on

__doPostBack('RadGrid1$ctl00$ctl02$ctl00$ctl00','')


Any idea how to prevent that?

How can I clear Clientside sorting on columns?

Thanks,
Jakub
0
Steve
Telerik team
answered on 11 Mar 2008, 03:12 PM
Hi Jakub,

We've been unable to reproduce the problem in our local tests. Can you replicate this using our online examples available here? Any additional information on how you bind the grid, apply sorting etc. would be highly appreciated.

Sincerely yours,
Steve
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
Jakub Rehacek
Top achievements
Rank 1
Answers by
Jakub Rehacek
Top achievements
Rank 1
Ves
Telerik team
Steve
Telerik team
Share this question
or