AJAX: User Controls - Course ASP.NET 4 and Visual Studio 2010 - Lesson 34 | .net courses
Duration: 19 minutes
Summary: In this video, we are going to talk about user controls with AJAX
page without doing a postback. We will cover a lot about AJAX in the rest of
this course. But here, we will take a small example and see how we can use AJAX
in the user control. When the page loads, we will read the current time. But
then, we will add a timer that triggers an update to the page every second. The
content will have a label with the current date. Every time the update happens,
the label will display the latest date. That way, we can have a running clock
on the page. In the second part, we will see how we can load controls
dynamically. We will use the LoadControl method of the Page to load the control
and add it to a place holder..
of the development of example: Good coding standard
and simplified design to illustrate the key points.
Used: ASP.NET and Visual Studio 2010
4, Visual Studio 2010, Control, LoadControl, AJAX, ScriptManager, Timer,
UpdatePanel, Triggers, ContentTemplate.
Add your comment
no comments have been posted - be the first!
Este post é fechado - você precisa ter acesso ao post para incluir um comentário.
Help us to improve! Give us your feedback: