A
arun
Hi I am making a booking for a tour. The tours are allowed on some
days only( one on monday, other on tuesday like that).
For the booking object saving, I am using a wizrd control. In the
second step( next_button click of the wizard control ) I will decide
wether the date selected is valid or not and save it in a class level
boolean variable for use in the finish_button click of the wizard
control. if the boolean variable is true I will insert the booking
else leave it by displaying the error. If inserted I will goto a
gridview showing all bookings from where I can do individual editing of
bookings( for this i am passing the booking id as querystring and will
go to the booking creation page itself).
The problem is even if i get true, in next button click event of
wizard, in finish _button click of wizard it is showing false. So
the allowed bookings are also not getting inserted . Any idea how to
handle this situation?
days only( one on monday, other on tuesday like that).
For the booking object saving, I am using a wizrd control. In the
second step( next_button click of the wizard control ) I will decide
wether the date selected is valid or not and save it in a class level
boolean variable for use in the finish_button click of the wizard
control. if the boolean variable is true I will insert the booking
else leave it by displaying the error. If inserted I will goto a
gridview showing all bookings from where I can do individual editing of
bookings( for this i am passing the booking id as querystring and will
go to the booking creation page itself).
The problem is even if i get true, in next button click event of
wizard, in finish _button click of wizard it is showing false. So
the allowed bookings are also not getting inserted . Any idea how to
handle this situation?