21 Aug 2010
30 Aug 2010
Link to this post
I have a usercontrol. In that, I have 4 divs. When page load, I am displaying the first div and on the click of the Next button in the first div, I am making first div display=none and displaying the second div. Like that, when i click on the next button inside div3, i make div4 visible and all other divs dispaly=none.
In div4, I have upload button and submit button(both are asp:imagebutton). When i click on the upload button, selected files should save into a folder. after that on click on the submit button,i need to save all the values in the controls (previous div also) to be save in the database.
But my problem is when i click on the upload button, nothing is happening, only page postback and displaying the first div (like first pageload). I need to do all upload functionalities on the click event and show the same div(div4) otherwise I cannot click on the submit button.
Please help me to do this.
Thanks & Regards