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
close icon

Button click event doesn''t fire?

Hi all,

I have ASP Button in a ItemTemplate of GridColumnDescriptor. I can't find out why the button click event on the server side doesn't fire? I also have ASP CheckBox in the same ItemTemplate and with CheckBox everything works perfectly. Any ideas?

Thanks
Sergey


6 Replies

RS Rajarajeswari S Syncfusion Team December 19, 2008 10:46 AM UTC

Hi Sergy,

Thanks for using Syncfusion products.

I am afraid that I am not able to reproduce the issue that you have mentioned here. Please have a look at the video clip, which illustrates you the button click event works properly:

http://www.syncfusion.com/support/user/uploads/buttonclick_dd28efd4.zip


Please try the sample from the below link, and let me know if this helps you out:

http://www.syncfusion.com/support/user/uploads/Sample_a7cc24a7.zip

Regards,
Raji




SE Sergey December 19, 2008 12:24 PM UTC

I tried the sample, but it doesn't work when the ajax is enabled. Moreover the checkbox doesn't work properly.((



SE Sergey December 19, 2008 01:05 PM UTC

I want to precise: every button click reloades the page and when ajax is enabled the button click event fires only for the button in the first row.



RS Rajarajeswari S Syncfusion Team December 22, 2008 10:31 AM UTC

Hi Sergy,

I am afraid that I am not able to reproduce the issue that you have mentioned here. Please refer the following steps that I tried to reproduce it:


1. Created a simple sample with GGC.
2. Enabled Ajax by placing the Grid inside an UpdatePanel.
3. Having Button and CheckBox as ItemTemplate.
4. Triggered Button click event and Checkbox's CheckedChanged event.
5. Bot the getting triggered with out any issues.

Please refer the sample from the below link, which illustrates this:


http://www.syncfusion.com/support/user/uploads/Sample_239d9b3d.zip


Please try like above, If still the issue exists could you please try reproduce the issue with the above sample and send back to us? so that we could find out the real cause of the issue and provide you a better solution.

Regards,
Raji




HL Hanson Liao November 18, 2009 12:42 PM UTC

Hi~

I have the same problem.

When GGC is put inside updatepanel. Button click event does not

fire.

ps. sample link is missing! Can you offer again?


LN Lakshmi Narasimman G Syncfusion Team November 27, 2009 02:04 PM UTC

Hi Hanson,

Thanks for your interest in Syncfusion Products

We apologize for the inconvenience caused because of broken link.This happened due to technical issues.

Your issue : When GGC is put inside updatepanel.Button click event does not.

I am afraid that I am unable to reproduce the reported issue.I am able to trigger the button click event which is present inside GridGroupingControl.Please download the sample from below link

http://files.syncfusion.com/support/GGC.Web/7.4.0.20/78543/78543.zip

Could you please reproduce your issue in the above sample and it will help us to trace the issue and provide you an appropriate solution.Let me know if you have any concerns

Thanks
Lakshmi Narasimman G.

Loader.
Live Chat Icon For mobile
Up arrow icon