O
owen79
Hi,
I have a repeater on a asp.net (c#) page that holds the details of
daily bed occupancy for a hostpital ward for any given date. For each
hostpital there are a number of wards. So a hostiptal with 5 wards has
5 elements each containing a textbox for occupied and another for
remaining available.
As the user cycles through the txtboxs I want to catch the textchanged
and add all the occupied values together and the same with the
available. I tried plain old postback but it interferes with the data
input for the user. I need to do it client side but I can't work out
how I cycle through each textbox and work out if it is a occupied or
available box. All txtboxs on in the repeater need evaluating at the
same time incase any of them are changed again following error.
Any susggests or direction to a more appropriate group would be
gratefully recieved.
Thanks
Owen
I have a repeater on a asp.net (c#) page that holds the details of
daily bed occupancy for a hostpital ward for any given date. For each
hostpital there are a number of wards. So a hostiptal with 5 wards has
5 elements each containing a textbox for occupied and another for
remaining available.
As the user cycles through the txtboxs I want to catch the textchanged
and add all the occupied values together and the same with the
available. I tried plain old postback but it interferes with the data
input for the user. I need to do it client side but I can't work out
how I cycle through each textbox and work out if it is a occupied or
available box. All txtboxs on in the repeater need evaluating at the
same time incase any of them are changed again following error.
Any susggests or direction to a more appropriate group would be
gratefully recieved.
Thanks
Owen