We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Problems updating gridcontrol when inside a multipage:Javascript error

Thread ID:

Created:

Updated:

Platform:

Replies:

58356 Mar 22,2007 03:54 PM UTC Apr 3,2007 02:01 PM UTC ASP.NET Web Forms (Classic) 3
loading
Tags: GridGroupingControl
Administrator [Syncfusion]
Asked On March 22, 2007 03:54 PM UTC

Hi,

I have a gridgrouping control inside a multipage inside a callback panel. This is because the user is creating a query with which to publish data to the grid and so when the page first loads i want the empty grid to be hidden behind a welcome screen. When i do my call back i am changing the page to the one which contains the grid and so i need it inside the callback panel. When i do my callback everything works fine except i have a runtime error: 'hdnField' is null or not an object.

Debugging points to this section of code.
var hdnField = document.getElementById('GridGroupingControl1'+'_HIDDENFIELD');

I'm pretty sure this error is because me grid is not displayed on the page and so it cannot do getElement by id, it returns null.

How can i avoid this error?

Thanks for your help
Rachael



Gokul B [Syncfusion]
Replied On March 27, 2007 12:15 AM UTC

Hi Rachael,

My sincere apologize for this time delay.

We started working on this issue and let you know the details tomorrow.

Thanks for being patience.

Thanks for using Syncfusion products.

Regards,
Gokulkumar.B

Nicklas Jonsson
Replied On March 27, 2007 05:26 AM UTC

I have the exact same problem running the grid inside a placeholder.

/Nicklas

Valli [Syncfusion]
Replied On April 3, 2007 02:01 PM UTC

Hi Rachael,

Sorry for the delay in getting back to you.

Herewith i have attached a sample, in which GridGrouping control is placed inside a multipage which is embedded within a callback panel.

http://www.syncfusion.com/Support/user/uploads/Grid_13a6b0db.zip

Please try running the sample and let us know if your facing the same issue as in the attached sample.

If so, this issue has been resolved in our latest version which is ready for testing.

Please let us know if you have any other queries.

Thanks for your patience.

Regards,
Valli

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;