Welcome Guest Search | Active Topics | Sign In | Register

Call back Panel Options
Arul
Posted: Monday, December 15, 2008 10:07:16 AM
Rank: Advanced Member
Groups: Member

Joined: 11/17/2008
Posts: 20
Hi

I have been getting errors with Callback panels .

It says "The callback on callbackpanel1 has failed because the server did not recognise this callback and processed it as a normal request"

Any idea how to fix this?
eo_support
Posted: Monday, December 15, 2008 12:41:07 PM
Rank: Administration
Groups: Administration

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

This issue has already been discussed many times in the forum. You can click "Search" on the top and then search with "has failed because the server did not ". That should return a number of topics that covers this issue.

Thanks!
Arul
Posted: Monday, December 15, 2008 4:26:27 PM
Rank: Advanced Member
Groups: Member

Joined: 11/17/2008
Posts: 20
I think the problem is not with the callbback panel..but the treeview control i am using
I populate the tree view control dynamically and when a node is clicked , i populate the other details based on the selection.

It works fine..but when i click a couple of times , it comes with "Object reference not set to an instance of an object" . I believe if there' an error it should be coming the first time and not the third or fourth time i click on the same node

eo_support
Posted: Monday, December 15, 2008 5:24:02 PM
Rank: Administration
Groups: Administration

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

Please check the stack trace to locate the error location first. If it falls into our code, please provide a test page that reproduces the problem. Obviously if it falls into your code, then you will need to troubleshoot it by yourself.

Thanks!
Arul
Posted: Monday, December 15, 2008 11:59:37 PM
Rank: Advanced Member
Groups: Member

Joined: 11/17/2008
Posts: 20

[NullReferenceException: Object reference not set to an instance of an object.]
EO.Web.Internal.ej.b(String A_0) +139
EO.Web.Internal.hl.a(i A_0) +73
EO.Web.Internal.c2.q() +138
EO.Web.WebControlBase.h(Object A_0) +69
System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +136
System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +412
System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +412
System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +412
System.Web.UI.Page.LoadPageViewState() +305
System.Web.UI.Page.ProcessRequestMain() +423


This is the stack trace . I tried to debug and it doesnt even go to the on click event of the tree when it comes up with the error . the other times when it comes up properly , it goes to the on click event .
eo_support
Posted: Tuesday, December 16, 2008 6:20:19 AM
Rank: Administration
Groups: Administration

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

Unfortunately we will need a test page to reproduce the problem in order to look further. Can you provide one?

Thanks
Saed
Posted: Tuesday, December 23, 2008 1:33:40 PM
Rank: Advanced Member
Groups: Member

Joined: 10/15/2008
Posts: 45
I ran into a issue today with CP...

In Page_Init I call a function to loop through page controls searching for some.

Code: Visual Basic.NET
Private Sub initObjects()
     Dim parentControl, childControl As Control
     Dim txtCSS, btnCSS As String
     txtCSS = "taTextBox width080 centered"
     btnCSS = "taImgButton"

     For Each parentControl In Page.Controls
          For Each childControl In parentControl.Controls
               ' Seacrh for TextBox Controls
               If TypeOf childControl Is TextBox Then
                    CType(childControl, TextBox).CssClass = txtCSS
                    ' Seacrh for ImageButton Controls
               ElseIf TypeOf childControl Is ImageButton Then
                    CType(childControl, ImageButton).CssClass = btnCSS
               End If
          Next
     Next
End Sub


When used CP, the function stopped working until I changed Page.Controls to Form.Controls. After removing CP, Form.Controls didn't work; only Page.Controls as was before.

Appreciate your justification.

Regards,

Saed Hamdan
"Man may be destroyed but not defeated" -Hemmingway
eo_support
Posted: Tuesday, December 23, 2008 1:48:20 PM
Rank: Administration
Groups: Administration

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

Please try to avoid posting under an existing thread for a new question. It helps all users to keep separate questions in separate threads, and it also helps us to better track the questions.

We are not aware of any problems with the CallbackPanel that would cause this and the code you posted looks fine to us. If you believe it's a problem in our product, please create a test page to reproduce the problem and we will be happy to take a look.

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.