Print Page | Close Window

How do I handle the dbl click event

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=5055
Printed Date: 19 September 2024 at 12:59pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How do I handle the dbl click event
Posted By: robertdufur
Subject: How do I handle the dbl click event
Date Posted: 14 September 2006 at 9:07pm
I am using the report control for the first time. Can someone show me in C# how to handle the event args? I want to be able to look at the values in the row that was clicked and extract a key item (even if the column was moved). Also is there a way to tag the row with a value?
 
Thanks in advance,
Robert


-------------
Robert



Replies:
Posted By: sserge
Date Posted: 18 September 2006 at 3:55pm
Hi Robert,

Handling event arguments depends on the event itself. Please take a look at our ReportSample C# application for some examples like wndReportControl_RowDblClick.

Also, you can add Tags, but note that concepts of a Row and a Record are different. You can add Tags only to Record. The difference could be briafly described as "a Row is a view (or visualized) Record" object. There is only 1 collection of Records associated with the Report control, which changes only by you; and there is a collection of Rows which changes frequently -- when changing grouping or sorting order, and any time when Populate is called. Also there are some Rows (like a Group row) which do not have an associated Record.

See also more information on this in the documentation on the control, and on the web site inside specific articles.

--
WBR,
Serge



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net