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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Callback Question (Grid)

Thread ID:





50354 Oct 10,2006 06:56 PM UTC Oct 12,2006 06:48 PM UTC ASP.NET Web Forms (Classic) 4
Tags: GridGroupingControl
David A. Gonzales
Asked On October 10, 2006 06:56 PM UTC

I have a GridGrouping control that has a popupcontainer dynamically built with a menu control that is assigned to a column in the grid. I also have some buttons that handle paging for the grid (I handle the paging by accessing the SQL datatable and manually binding to the Grid). The buttons for the paging work fine and I can page to the next page, previous page, etc. And the first time I load the page I can do a right-click on the header column that has the popup and get my menu to show up and work (I am displaying a graph if the user clicks the menu Graph item). The problem I have is that if I page to a new set of records (ie, new page) the popup menu no longer works. In the Page_Init routine I call BindButtons (this builds my popupcontainer and menus) right after I bind the datatable to the grid. If I click a NextPage button I am trying to call BindButtons right after I bind the new datatable to the grid. But no popup comes up. I have tried putting the call to BindButtons everywhere I can think of but it either breaks the paging (ie, no new data comes up if a button is clicked) or paging works but the popup still does not come up.


Administrator [Syncfusion]
Replied On October 12, 2006 02:10 PM UTC

Hi David,

Are you using ''Callback'' when you click on the ''Next Button''? and is it like you are getting this issue only when you are using Callback mode?

Sorry for any inconvenience caused


David A. Gonzales
Replied On October 12, 2006 03:40 PM UTC

This issue is with a Callback. The Next, Prev button clickes are handled by a onButtonClick() which is sent back through the __sfCallbackPanel1.callback(param) where param lets me know which button is pressed. Then the CallbackRefresh has something like the following:

if (myOp == "NextPage")


protected void NextPage()
DataTable dt = GetUserInfo(nStartRow, nEndRow)
this.GridGroupingControl1.DataMember = "defaultView";
this.GridGroupingControl1.DataSource = dt;

//Call routine to rebuild popup, menus, etc


Administrator [Syncfusion]
Replied On October 12, 2006 06:11 PM UTC

Hi David.

Thanks for your detailed response. I think the issue you are facing should be because the popup and menus will not be inside the Callback panel directly.

Could you please keep these controls inside another callback panel and then use our Callback Multiplexer to trigger the Callback? In the CallbackMultiplexer1_Callback event you can refresh controls inside various Callback panel.

Please have a look at our LoginInfo sample that ship with our Essential Studio install. you can see this sample under Tools.Web/CallbackControls/LoginInfo Category.

Let us know if this helps.


David A. Gonzales
Replied On October 12, 2006 06:48 PM UTC

Thanks. I will take a look at the sample.



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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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