Is there a way to add asp.net server side control dynamically on the webpage without causing postback. Like can I add a calender control dynamically on a button click and handle calender events to do some other work….
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There’s no way to do that without posting back to the server. However, postbacks don’t have to be intrusive: for instance, you might use an UpdatePanel control to perform a partial postback that only updates the panel’s contents.
See also the DynamicPopulate extender provided by the AJAX Control Toolkit, a good implementation of what you want to achieve.