Wednesday, March 21, 2012

Problem in Transporting from july ctp to beta 2

Hi!

I've been having a problem that i still can't resolve.

In July CTP i had this page that server.transfer to another page that had a bunch of custom made tab's. These tab's run by JavaScript and execute on each run a click in an hidden button, the hidden button made a request to fill the user control of that tab, during that request the UpdateProgress is runing.

Ok this worked in the July CTP release, but now in Beta 2 release it isn't working. It keeps giving an alert saying that server error 404 and server error 12030. Since error 404 is Page not Found exception i think it has to do with the non changing of the address bar address...

I've read some post's to try to see if i get some answer and everyone just keeps saying to use response.redirect. I don't want to use response.redirect, it makes 2 postbacks and i would have to throw the data that i need to transfer to that page by querystring and that is something that i can't have.

Can anyone give me some lights?

Thanks,

Sérgio

I forgot where I found this, but I found out that if you have any web methods you need to add:

[Microsoft.Web.Script.Services.

ScriptService()]

to the service.

Example:

///

<summary>

///

Summary description for wsSelectGroup_Data

///

</summary>

[

WebService(Namespace ="http://tempuri.org/")]

[

WebServiceBinding(ConformsTo =WsiProfiles.BasicProfile1_1)]

[Microsoft.Web.Script.Services.

ScriptService()]

public

classwsSelectGroup_Data : System.Web.Services.WebService

{


No WebMethods.

It's just a simple plain server side execute in a page that was reached through server.transfer

I just can't get why it isn't working anymore...


hello.

well, it looks like a specific case which is not widely used, can you build a demo site that reproduces the problem?


Hi,

I saw this thread and although my problem is not quite the same, I am too having difficulties when usingserver.transfer to load a page using an UpdatePanel, somehow navigating to an Ajax enabled page using server.transfer get the UpdatePanel mixed up with the path!

here is some demo code to illustrate my problem:

2 folders "folder1" and "folder2" containing respectivelly "callingPage.aspx" and "ajaxPage.aspx"

No comments:

Post a Comment