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. Image for the cookie policy date

Multiplexer and Grid Template Column

Hi,

I am using GridView control with a template column with Hyperlink column. I have two CallBackPanels with two Grid controls. When the user clicks on the hyperlink, the two grid controls should get updated with the respective data from the database.

To do this I added the CallBackMultiplexer to update both the Panels at the same time.

In the Template Column, for hyperlink I have it like this:






The java script:


In the callback event, I added the following code:

protected void CallbackMultiplexer1_Callback(object sender, Syncfusion.Web.UI.WebControls.Tools.CallbackEventArgs e)
{
//Here we decide to update both AlertsDetails Panel and Solutions Panel
this.CallbackMultiplexer1.ControlsToRefresh.Add(this.CallbackPanel2);
this.CallbackMultiplexer1.ControlsToRefresh.Add(this.SolutionsPanel);

}

When I run the code, the code executes the CallbackMultiplexer1_Callback event but the CallBackPanel2 event or SolutionsPanel is not raised.

Any help would be great!!

Please attach an example if possible.

Thanks!!

1 Reply

GB Gokul B Syncfusion Team March 2, 2007 01:26 AM UTC

Hi Rekha,

We couldn't able to reproduce the issue as you mentioned.We created one sample in which the two GridView control is placed inside the callbackpanel. And we tried to click the hyperlink column in the gridview to refresh the 2 gridview control. But unlike you mentioned it doesn't reproduce the issue. To ensure this we have attached our sample for your references. However could you please provide us the sample which causes this issue. It will help us for further investigation.

CallbackForm_57284.zip

In our sample, clicking the hyperlink will invoke the callback panel refresh event to change the GridViews width.

Thanks for using Syncfusion products.

Regards,
Gokulkumar.B

Loader.
Live Chat Icon For mobile
Up arrow icon