Print Page | Close Window

BUG:Update ReportControl Problem

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=19209
Printed Date: 16 September 2024 at 4:06pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: BUG:Update ReportControl Problem
Posted By: Rat
Subject: BUG:Update ReportControl Problem
Date Posted: 22 November 2011 at 2:47am
Now I'm working on drag and drop with CXTPReportControl.
I have two report controls A and B. I drag one item of A and drop it on B.
Then in OnReportDragDropCompleted(NMHDR* pNotifyStruct, LRESULT*) method, I rebind the the data of control A (Because the data in control A is tree list, I have to rebind it so that the data of parent node is latest).
I found the first row of the control A dose not show in control A. When I refresh it, it shows again. I debug my code, and I don't find any delete operation in my code. So I guess it's a bug of this control.
I use Codejock Software's Xtreme Toolkit Pro version 11.2.2.
Is there anyone can help me? Thanks very much.

 




Replies:
Posted By: Rat
Date Posted: 23 November 2011 at 3:51am
I checked the code, and found out the problem is in
CXTPReportControl::Populate()
It seems that when I drag one item from control A and drop it to an another control, this item doesn't exist in control A anymore. In order to make the data in control A is the latest, I have to rebind the data of control A. And at last I have to call method Populate(). 
the processing of selectedIndex in method Populate() has something wrong.
Do you plan to fix this bug?


Posted By: ABuenger
Date Posted: 23 November 2011 at 11:48pm
Hi,

please update to the latest report control / toolkit version (15.1.3.0908). If you're still having the same problem please create a small sample and open a support ticket and attach it there.

Thanks Andre



-------------
Codejock support



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