|
Rank: Member Groups: Member
Joined: 3/15/2009 Posts: 15
|
Dear Support I use Grid as in the example Customer Column - Advance 2. it is work fine. but when I try to use the same grid but I put the grid inside the Tab Strip & multiPages it gives error. it is the same as the grid I used before all same. I remove the Tab Strip it work fine. the error is as the following:-
Object referance not set to an instance of an object.
I use the same code in the example Customer Column - Advance 2. exactly same.
Wael Al Baz
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Can you post the call stack?
Thanks
|
|
Rank: Member Groups: Member
Joined: 3/15/2009 Posts: 15
|
Server Error in '/account' Application.
Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.] EO.Web.Internal.c8.a(h6[] A_0) +679 EO.Web.Internal.c8.a(h6 A_0) +676 EO.Web.Internal.bu.q() +272 EO.Web.WebControlBase.a(Object A_0) +99 EO.Web.Grid.a(Object A_0) +28 System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +186 System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +136 System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +224 System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +136 System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +224 System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +136 System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +224 System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +136 System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +224 System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +136 System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +224 System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +136 System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +224 System.Web.UI.Page.LoadAllState() +439 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1092
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
We have not been able to reproduce this problem (We tried by adding a TabStrip and MultiPage into Customer Column - Advance 2" sample). Can you provide a test page that duplicates the problem? Make sure the test page runs independently.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 3/15/2009 Posts: 15
|
Thank you for your reply.
I found something. When I try to prepare a standalone of my page to send as your require, I remove the master page because I use it. When I test it, it works fine. Although there are other pages grid working fine and have a master page also but not inside the tab strip.
So I think the problem when use master page and put the grid inside the tab strip.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
MasterPage alone should not cause the problem. Please try to post a complete test page (both MasterPage and content page). We will look into it as soon as we have that.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 3/15/2009 Posts: 15
|
how can I send attach files?. I need to send the pages.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
We have looked into the sample code you sent to us. The problem is caused by you having style="overflow:auto" on your form element. That is invalid because the form does not have a fixed size. Remove that attribute and the Grid should work fine.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 3/15/2009 Posts: 15
|
thanks a lot. it is works fine. thnaks again for your great help.
Wailalbaz
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Not a problem. Glad that it works for you!
|
|