Handling Ispostback in webparts
Posted on 2006-06-17
I have two custom control one base list and the other normal webpart control with 2 text boxs and an add button. Both the controls are connection using connectionprovider and connectionconsumer. When I click on the productId of the first control I get the relavant data in second control, this second control handles the method for update on click of the button.
Once I click the button it is posting back the even to first control and the previous values are lost. How could this situation be handled. I assume it is related to postback event.
Could anyone suggest, Thanks in advance.