Update Panels & Controls

Please support our ASP.NET advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
Reply

Join Date: Jul 2009
Posts: 5
Reputation: adamdk is an unknown quantity at this point 
Solved Threads: 1
adamdk adamdk is offline Offline
Newbie Poster

Update Panels & Controls

 
0
  #1
Jul 6th, 2009
Hello,

I am writing a Form that is to be in three parts.

1. Date Selection
2. Report Selection
3. Report Display

The way this should work is as follows.

1. User selects a date from section one
2. Section two updates to show a list of reports made on that day, each with its own checkbox. There is also a button
3. When the button is pressed, the third panel updates to show those reports that were selected. (can be upto 3)

I want to implement AJAX UpdatePanels for this, and sofar my idea is to have the calender event programmatically add a list of reports from my db to the selection area with associated checkboxes etc. This area obviously has a trigger to fire a partial postback.

However, this is where I am stuck, I can make it so that the button on the second panel causes an update on the third panel, but I need to know the "true"/"false" values of the controls on the second panel in order to decide which reports to display

I cannot think of a good way of doing this, so any help appreciated.
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 2,427
Reputation: adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of 
Solved Threads: 434
adatapost's Avatar
adatapost adatapost is offline Offline
Nearly a Posting Maven

Re: Update Panels & Controls

 
0
  #2
Jul 7th, 2009
adamdk,

Post relevant code about your problem.
Failure is not fatal, but failure to change might be. - John Wooden
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC