Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, July 4, 2025 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Web Forums - SalesLogix Web Platform & Application Architect
Forum to discuss the use of the SalesLogix Web Platform, Client and Customer Portals, and the Application Architect (For version 7.2 and higher only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Web Platform & Application Architect | New ThreadView:  Search:  
 Author  Thread: Question about AJAX Extensions and SlxGridView (Dependent Grids in SLx Web)
Alec Denholm
Posts: 34
 
Question about AJAX Extensions and SlxGridView (Dependent Grids in SLx Web)Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 05 Oct 09 4:17 AM
Has anyone had any experience using AJAX update panels in custom smartparts, using Slx controls?

What I'm trying to achieve is when a user selects a row in a 'main grid', the contents of a 'sub grid' is updated, say for example you select a Company in the main grid, the 'sub grid' fills with Employees for that Company.

This doesn't sound difficult in itself but I'm trying to have the grids on the same form, which is bound to an Entity which we'll say is a Parent Company, and there's actually three grids. So the Parent Company detail view has three grids, the third being dependent on the second, and the second grid being dependent on the first grid (the first is 'static', relevant to the current entity).

At the moment I'm just getting this error message: An exception was raised by the target of an invocation (or something), nothing more useful than that unfortunately.

When I run it without update panels, it 'works' in the sense that a selection in the first grid populates the second grid , and a subsequent selection in the second grid populates the third grid ; but this subsequent selection also resets the second grid . What's happening at this point is that the second grid forgets its datasource (set from the first selection) on the postback which populates the third grid.

I tried putting a Session variable in the row select code, but apparently it doesn't understand the word 'Session' in the context of the row select snippet. This led me to trying update panels.

Anyway, sorry to ramble on, anyone have any ideas how I could achieve what I'm after (a nested grid dependency)? Is there a better way of doing this perhaps?

Many thanks,
Alec D
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 7/4/2025 10:41:51 AM