Last post Feb 07, 2006 12:53 PM by mlyday
Feb 07, 2006 12:53 PM|mlyday|LINK
I am creating a reporting module, and am running into a few issues. I have the main control which displays a list of the available reports in a datagrid. Once they select a report I load a selection screen which based on the report selected pulls up different
selection criteia. For example a couple of calendar controls for start and end date and a checklistbox filled with a list of the salespeople from the database. I also have a few linkbutton for "check all" and "clear all".
The problem is when I hit the check all, which loops through all the checkboxes and sets the selected property to true, it causes a postback. The postback in on the selected property being set not on the linkbutton click. We the post back happens, it tries
to go back to the main page and show an error of index out of range. How do I get it to repost to my selection screen.