Welcome Guest Search | Active Topics | Sign In | Register

CallbackPanel error on Response.Redirect Options
Ellery Gomez
Posted: Tuesday, November 4, 2014 4:54:06 PM
Rank: Member
Groups: Member

Joined: 8/4/2009
Posts: 16
Hello,

I'm working on a page with a master page layout, there are 3 objects in this page a toolbar and a grid within a callback panel. I'm using Visual Studio 2012 with Update 4.

The tool bar has the property AutoPostBack = True, the grid running mode is callback and the callback panel has 2 triggers, the toolbar and the grid.

When I hit a button in the toolbar to open a new page with the code

Code: Visual Basic.NET
Response.Redirect("~/Page2.aspx?TaxId=New")


It shows me the following error:

Eo.Web Controls Client Side Debug Message:

Eo.Web control ‘ctl00_ContentPlaceholder1_CallbackPanel1’ error message: The callback on

‘ctl00_ContentPlaceHolder1_CallbackPanel1’ has failed due to a server side exception. Click OK to see the exception message.

When I press the OK button, it shows the following information:

Unhandled exception at line 6, column 15707 in http://localhost:1266/eo_web.ashx?id=2382b26a-5a3c-4a95-a85d-4e9fdb353d52

0x800a138f - JavaScript runtime error: Object Expected

eo_support
Posted: Tuesday, November 4, 2014 5:00:13 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Hi,

Please try to call CallbackPanel.Redirect instead.

Thanks!
Ellery Gomez
Posted: Tuesday, November 4, 2014 11:37:06 PM
Rank: Member
Groups: Member

Joined: 8/4/2009
Posts: 16
Thanks, it works just fine.
eo_support
Posted: Wednesday, November 5, 2014 11:32:18 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Glad to hear that. Please feel free to let us know if you have any more questions.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.