ispostback and loadcontrol() method issue
-
Hello everyone, I am using loadcontrol method to load custom controls. I have a single .aspx page and a left menu (.ascx control) which is loaded dynamically. When i click on the left menu's link, control is loaded accordingly. The problem is: Loadcontrol always loads control with ispostback=true. It happens bcoz i have used __doPostBack() onclick of the leftmenu's link. I want the ispostback = false in the control's load event. Any help is always welcome. Thanks, Malay Khandhediya.
-
Hello everyone, I am using loadcontrol method to load custom controls. I have a single .aspx page and a left menu (.ascx control) which is loaded dynamically. When i click on the left menu's link, control is loaded accordingly. The problem is: Loadcontrol always loads control with ispostback=true. It happens bcoz i have used __doPostBack() onclick of the leftmenu's link. I want the ispostback = false in the control's load event. Any help is always welcome. Thanks, Malay Khandhediya.
Double post
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.