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

[Solved] VS2010 beta 2 problems with AJAXified RadGrid

6 Answers 134 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Carl
Top achievements
Rank 1
Carl asked on 08 Nov 2009, 04:21 AM
I am working with a RadGrid and RadScriptManager from the new 2009 Q3 release. I am encountering major problems with the code bombing when I set EnableAjax="true". However, everything works just fine when I set EnableAjax="false". Also everything worked fine under the previous 2009 Q2 release of RadGrid and RadScriptManager with VS2008.

So is the problem with VS2010 beta 2 or is the problem with the 2009 Q3 release? What parts of RadGrid and RadScriptManager are supposed to work with the new VS21010 beta 2? 

6 Answers, 1 is accepted

Sort by
0
Pavel
Telerik team
answered on 12 Nov 2009, 07:32 AM
Hi Carl,

The problem you experience is most probably caused by the issue which is discussed in this thread.

Sincerely yours,
Pavel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Carl
Top achievements
Rank 1
answered on 12 Nov 2009, 04:35 PM
Simply setting ClientIDMode="AutoID" as a work-around recommended in the other thread does NOT solve the problem - at least it does NOT work for me.

Please advise with new recommendations as soon as Microsoft fixes the problem and/or you provide another alternative that does NOT require making major changes in the architecture of master pages interacting with content pages with Telerik RadControls.
0
Pavel
Telerik team
answered on 16 Nov 2009, 02:33 PM
Hello Carl,

I am attaching a simple example which works on my end with the suggested workaround. Give it a try and let me know if it works for you as well. Can you also let us know what is the exact error you are receiving and does the page work as expected if you replace our Ajax with MS UpdatePanel?

Kind regards,
Pavel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Carl
Top achievements
Rank 1
answered on 16 Nov 2009, 06:13 PM
Here's the error that shows up in the Script debugger:

  Object doesn't support this property or method  Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_RadScriptManager1_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen%3a363aef93-d081-4288-a122-fdd681803f66%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2009.3.1112.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen%3afb9a8636-d7ff-417b-964e-98f159081a99%3a16e4e7cd%3aed16cbdc%3af7645509%3a24ee1bba%3ae330518b%3a1e771326%3ac8618e41%3a58366029%3aaa288e2d%3ae4f8f289, line 10611 character 67

The corresponding line in the script is:

if(this._disposeChildElements&&typeof(Sys.WebForms)!="undefined"){Sys.WebForms.PageRequestManager.getInstance()

Again, as reported in previous posts, everything worked fine in previous VS2008 with ASP.NET 3.5 sp1 and also everything continues to work in VS2010beta2 ASP.NET 4.0 as long as EnableAjax="false" but not when EnableAjax="true". I will try moving things out of the Master page and into the Content page.

0
Carl
Top achievements
Rank 1
answered on 16 Nov 2009, 08:53 PM
Well thank you but I'm not sure that you have proven that it does work "on your end" because your test example does NOT include a Telerik RadGrid.

Further, following the example of what you did put in your test example, I could NOT get it to work. Now your test example had nothing but an <asp:ScriptManager> in the Master page and the <telerik:RadAjaxManager> in the content page, and I could not get that to work with a <telerik:RadGrid> also in the content page. Nor could I get the RadGrid to work with an <asp:UpdatePanel> in the content page.

In order for my application to work in a meaningful way in the environment which I have build up my code, there should be at least a ScriptManager and a RadMenu in the Master page and then a RadGrid in the content page. Where the RadGridManager is placed is up to you at Telerik, although it would be nice if it is possible to put a RadStyleSheetManager in the Master page. Whether you can prove that it also works with a RadGridManager and RadLoadingPanel or not is up to you at Telerik.

At this point, I have spent total of a day messing around with this, and I cannot get it to work. So I will not do any more testing unless I am "awarded Telerik points" for reporting and continuing to test the problems. Meanwhile, I am going to avoid wasting any more time by just reverting my project back to VS 2008 and Asp.Net 3.5 SP1 where it worked just fine!!!!!
0
Simon
Telerik team
answered on 26 Nov 2009, 05:48 PM
Hello Carl,

We found the cause of the issue with RadComboBox and it is related to the new ASP.NET AJAX  4.0 scripts.

We will test the fix we crafted some more time before publishing it. Please download the Latest Internal Build the next week to obtain the fixed version.

I updated your Telerik points for reporting the issue to us.

Kind regards,
Simon
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
Carl
Top achievements
Rank 1
Answers by
Pavel
Telerik team
Carl
Top achievements
Rank 1
Simon
Telerik team
Share this question
or