CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 dependent listbox in editable grid

Print topic Send  topic

Author Message
nliebke

Posts: 2
Posted: 09/17/2009, 12:01 AM

Hi,

I'm currently using CodeCharge 4.2 and am experiencing some problems trying to get the dependent listbox feature to work within an editable grid.

Has anybody had any luck getting this working? It looks to me like the dependent listbox works fine for the first row but subsequent rows don't appear to filter at all.

I read in another post (http://forums.codecharge.com/posts.php?post_id=94680&s_keyword=dependent+listbox+grid) that there were potential issues with Ajax components in editable grids but I'm not sure whether those issues have been resolved.

Any clues as how to get this to work would be greatly appreciated.

Thanks,

Nathan
View profile  Send private message
Oper


Posts: 1190
Posted: 09/19/2009, 7:45 AM

It Work this way:

http://forums.yessoftware.com/posts.php?post_id=106825&...pendent+listbox
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)

http://www.PremiumWebTemplate.com
Affiliation Web Site Templates

Please do backup first
View profile  Send private message
DJJWP


Posts: 77
Posted: 09/25/2009, 8:23 PM

I got it working this way in a record, should work in grid I would think.

First the db I used..."Products"

Key Company product
1 Comp1 Product1
2 Comp1 Product2
3 Comp1 Product3
4 Comp2 Product1
5 Comp2 Product2
6 Comp2 Product3

Create your list boxes, two in this case and use the company/company for Bound Column and Text Column and in the select, group by company so you do not see six but just two companies. Do the same for the product but do not group. For some reason the key field here in not a good choice.

Now start your Feature Builder, select dependent list boxes, next, your db connection, next.

Select your company list box as master, product as slave.
Data source should auto populate with the product table above
Bound Column should be product
Text Column should be product
Dependent Field is Company.

Try that.
_________________
Network Operations Rule
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by UltraApps.com  and YesSoftware, Inc.