----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: PSingh Message 1 in Discussion Hi, I have an ASP.NET page where the page_load is being executed twice. I have set of buttons, dropdowns, textboxes and a datagrid on this page. I have enabled the Autopostback for the dropdowns as i need some logic to be performed on the server. Now, when ever i click any button or when the dropdown value is changed, the page is getting posted twice. When it goes for the first time, the IsPostBack is true and it performs all the events properly. After that the control is coming to the page_Load again. And the strange thing is when it comes for the second time, the IsPostBack is returning false. Can anyone tell me in what case the page might be getting posted. Regards, Pradeep. ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/BDOTNET/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
