Print Page | Close Window

REPORT CONTROL AUTOMATIC ROW SELECTION IN C#

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=13939
Printed Date: 14 November 2024 at 11:27pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: REPORT CONTROL AUTOMATIC ROW SELECTION IN C#
Posted By: sonix
Subject: REPORT CONTROL AUTOMATIC ROW SELECTION IN C#
Date Posted: 07 April 2009 at 4:31am

Hi Sir,

 Good day.
May I know on how to select the the report control row[0] (like the click event behavior) automatically while selecting different node on treeview?
I'm using c# code... the used the code below but still no respond. thanks in advance.

rptMainMessages.Rows[0].Selected = true;




Replies:
Posted By: Aaron
Date Posted: 08 April 2009 at 11:29am
Hi,
 
You can select row as you did already but it seems that row is selected (grayed) but not selected like you click with mouse.
If you would resize column or use scrollbar the RC will be redrawn and row will be really selected (blue).
 
After selecting a row:
 
wndReportControl.Rows[1].Selected = True
Call wndReportControl.SetFocus (this will have same effect)
 
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....



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