Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - BUG:Update ReportControl Problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

BUG:Update ReportControl Problem

 Post Reply Post Reply
Author
Message
Rat View Drop Down
Newbie
Newbie


Joined: 09 November 2011
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote Rat Quote  Post ReplyReply Direct Link To This Post Topic: BUG:Update ReportControl Problem
    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.

 

Back to Top
Rat View Drop Down
Newbie
Newbie


Joined: 09 November 2011
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote Rat Quote  Post ReplyReply Direct Link To This Post 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?
Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.