How To Set Up a Theme and Use Skins- Data Binding with ASP.NET AJAX
Video Transcript
We can take advantage of ASP.NET themes and skins with their AJAX server side controls. All we need to do is quickly setup a theme; we will be using this theme throughout our examples. To save time, we created this skin in CSS files in advance. Let us minimize Visual Studio to go to the desktop. Inside the projects files directory, you will see a directory called code snippets. You will see the skin file and the cascading style sheet that we will use. Select these and drag them over the visual studio.
Now that we have them, we will need to store them inside of a theme directory. Right click on the project and select add Visual Studio folder. These are special folders that ASP.NET uses for storing code and resources. In this case, we are going to create a theme so select the theme folder. This allows us to type in the name of a theme. We will type in the word soothing and press Enter. Let us take our skin file and our style sheet and drag it into the theme.
That is all we had to do to set up a theme. Keep in mind, inside of your skin file. You will need to register the AJAX control toolkit with the ACT or whatever prefix that you would prefer in order to use any controls that are inside the toolkit. You will see this skin in action when we get to the extender controls in the AJAX control toolkit.
We can take advantage of ASP.NET themes and skins with their AJAX server side controls. All we need to do is quickly setup a theme; we will be using this theme throughout our examples. To save time, we created this skin in CSS files in advance. Let us minimize Visual...
click to read more