View Single Post
  #3 (permalink)  
Old August 24th, 2008, 10:06 PM
mii2029 mii2029 is offline
Authorized User
 
Join Date: Apr 2008
Location: , , .
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Imar,

Thanks for the response. I initially tried setting up the control the same as the others (without the '(i)'), but I got the same results. The version I posted was the second attempt at resolving this problem.

I have figured out when the img button is clicked the loop is performed the same number of times as there are open requests in the database. I guess that is what would be expected.

I looked at the view source to see if the buttons are being given unique identities and they are, but I just can't seem to capture the identity of the particular img button being pressed. I need that identity to retrieve the correct open request from the database for the fields in the window that is opened on the 'onclientclick' event.

If I move the onclientclick event outside of the loop I lose access to the control altogether. I'm guessing that is because it is not statically declared and is being created as the page loads? I've also tried to use session values to no avail.

I'm sure the solution is simple; it just escapes me.

Chris