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

Telerik.Web.UI.WebResource.axd error

4 Answers 349 Views
ScriptManager and StyleSheetManager
This is a migrated thread and some comments may be shown as answers.
L
Top achievements
Rank 1
L asked on 20 Nov 2009, 11:49 AM
hi

I got this error http://localhost/webiste/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_RadScriptManager1_HiddenField&co

But when i refresh it, it works fine.

I also notice that the Telerik.Web.UI.WebResource.axd was not loaded when the page was intially called, but when i refesh it using F5 key, i noticed that the status bar show the loading of the Telerik.Web.UI.WebResource.axd file.

Am using IIS 6

How can i make sure that it load well? Thanks

4 Answers, 1 is accepted

Sort by
0
L
Top achievements
Rank 1
answered on 21 Nov 2009, 01:35 PM
I know what is causing this problem but i still do no know how to solve it

Ok, in a buttom click event, i called a method that insert a record and rebind after that

for example

Protected

Sub btnDemo_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btndemo.Click

 

DemoAdd(Session(

 

 

"Cookie"), txtFee.Text)

 

radgrid.Rebind()

 

 

 

End Sub

It seems that the radgrid.Rebind() is causing this problem. Also, it works well if i don't publish my site into a single page assemblies.

How do i solve this? Please help it is very urgent and it has been almost 2 days and i still can't get it to work. Thanks

 

 

 

0
L
Top achievements
Rank 1
answered on 21 Nov 2009, 02:01 PM
I also forget to mention that i use AjaxProxymanager to link the button and the grid.
0
L
Top achievements
Rank 1
answered on 22 Nov 2009, 12:10 PM
I have to do workaround to solve this problem but is not a pretty one by refreshing the page at least one time. can you please check if i can solve this without refresh? Thanks

If Not IsPostBack Then
            x = Request.Cookies("x").Value
            If x = 0 Then
                Dim RedirectMetaTag As New HtmlMeta()
                RedirectMetaTag.HttpEquiv = "Refresh"
                Response.AppendHeader("Refresh", x)
                Response.Cookies("x").Value = "9999999999999"
                x = Request.Cookies("x").Value
0
Accepted
T. Tsonev
Telerik team
answered on 23 Nov 2009, 01:05 PM
Hi,

You can try replacing the RadScriptManager with a standard ScriptManager to see if the problem is related to it. Does the problem still persist in this case?

All the best,
Tsvetomir Tsonev
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
ScriptManager and StyleSheetManager
Asked by
L
Top achievements
Rank 1
Answers by
L
Top achievements
Rank 1
T. Tsonev
Telerik team
Share this question
or