1

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

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.