CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Inconsistent .Selected values when using Ajax processing

by ScottWGast » 17 Dec 2015 00:19

I'm having problems with the TIWCGJQCheckBoxList component, specifically, the .Selected property does not always reflect the correct (True/False) value based on whether or not the item in the check box list is actually selected.

I have two (2) TIWCGJQCheckBoxList components on a form.
I programmatically set .Selected := True; for all of the items in the first checkbox list.
I programmatically set .Selected := True; for the first item in the second checkbox list.

I click on one of the items in the first checkboxlist component (to remove the check) and use the .OnClick event (with .Ajax = true), to iterate through the .Items in the second checkboxlist component. The .Selected property on each of the checkboxlistitems in the second checkboxlist component shows False, when, in fact, they are checked.

In any case, it is being very troublesome and I'm getting bruises from whacking my head against the wall.

I need help. Can we do a GotoMeeting sometime in the near future? Maybe tomorrow (Wednesday, Dec 17) ?

Thanks,
Scott Gast
ScottWGast
 
Posts: 875
Joined: 23 May 2012 11:02

by Alexander Bulei » 17 Dec 2015 11:31

Hi ScottWGast,

What version do you have?

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by ScottWGast » 17 Dec 2015 18:57

Sorry, I completely forgot to give you system information:

DXE2/Update 4
Windows 7 Pro 64-bit
IW 14.0.32
CG 2.5.0.46

sg
ScottWGast
 
Posts: 875
Joined: 23 May 2012 11:02

by assapan » 07 Feb 2016 16:39

Hi,
I do have same problem , in ajax event i add items with selected = true but then selectedcount = 0 , i have to call ajaxrender before checking selectedcount to have the correct value.
Want to visit Ardeche http://leclosdelarc.fr/index.php
The Pont d’Arc Cavern http://en.cavernedupontdarc.fr
Image
User avatar
assapan
 
Posts: 600
Joined: 16 Dec 2013 12:04
Location: France


Return to JQCheckBoxList

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.