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.

Child controls in QueryCellStyleInfo

Thread ID:

Created:

Updated:

Platform:

Replies:

50535 Oct 13,2006 07:59 AM Oct 15,2006 04:11 AM ASP.NET Web Forms (Classic) 1
loading
Tags: Grouping
Toan Nguyen
Asked On October 13, 2006 07:59 AM

I had a label and and a check box in my template column. I also found QueryCellStyleInfo event behaving like the ItemDataBound on MS Gridview control. But I''m unable to get a reference to the control, ie. something like Checkbox = (Checkbox)GridRow.Cells[i].Control[j]

Is it possible?

Thanks!
Toan Nguyen

Administrator [Syncfusion]
Replied On October 15, 2006 04:11 AM

Hi Toan,

You Can get these info inside 'CheckBox1_CheckedChanged' event. Let us know the scenario you are in need of so that we can send you some sample based on your scenario. I have attached a sample using Checkbox where, I have added an unbound template column with check box in it.

CheckedChanged event is handled to keep track of the checked status of the check box in the GridGroupingControl, you can view this in the information label by clicking the update info button.

TemplatedCheckBoxSample


Note: I have used Categories table from NWIND.MDB which is already pointing to the syncfusion virtual directory. so If you have syncfusion version installed on your machine and the sample is using the ''Default IIS'' you no need to change anything for this sample to run , else you will have to change the ''Datafile of the Access datasource control'' (this is the case for running the above sample in file system), Also you will have to change the version number in the register tag prefix for this sample to run in your system


Please let us know if you have any queries.

Thanks,
Siva

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.

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.

;