Showing posts with label Asp.Net Tutorial. Show all posts
Showing posts with label Asp.Net Tutorial. Show all posts

Monday, 22 April 2013

Themes in Asp.net


Written By:- Isha Malhotra(malhotra.isha3388@gmail.com)
If you find this article useful then leave your comment

Themes in Asp.net

Sometimes we need to change the layout of application for different-different user. For example if a single application is used by different-different client and every client has his own color schema, logo, font etc. requirements then we use themes
A theme is a collection of skin files, css, graphics, images etc.

Add Theme

To add theme we have to first create the theme folder using name App_Themes.



Figure 1

Sunday, 31 March 2013

create single event for multiple Button or LinkButton


For Asp.net Training  Click Here

Written By:-Isha Malhotra
Email:-malhotra.isha3388@gmail.com


How to create single event for multiple Button or LinkButton

In my last article I discussed how we create event for control which we generate at runtime. In this article I am discussing how to create a single event for multiple controls and how we access all control through single even.

Just remember the example for searching where a list is showing with alphabet and on which alphabet we click the list generated according to it.

I am taking the same example here.



Figure 1

Tuesday, 5 March 2013

Study Material for Ajax


For Asp.net Training  Click Here

Written By:-Isha Malhotra
Email:-malhotra.isha3388@gmail.com

Basic of AJAX

Ajax is a platform independent technology. AJAX stands for Asynchronous JAvascript and Xml. Asynchronous refers to the events that are happening in the background Independently from the main application flow.
With the help of Ajax we can create an area in our web form Which post back and update without refreshing the whole page. It is called Partial page updating which increases the performance.
Ajax Controls
1.       ScriptManager
2.       ScriptManagerProxy
3.       Update Panel
4.       Timer Control
5.       Update Progress

Script Manager
Script manager is used to control the processing of Ajax. The major responsibility of script manager is for downloading Microsoft Ajax Library down to the browser (client).
Script manager’s EnablePartialRendering property must be set True which is its default value which is necessary for the script manager to manage Partial updating.
Update Panel
Update panal control is just like a container for other control. It defines an area in your page which will be independently partially post back without refreshing the whole page. A single page can have multiple update panel.
Example
In the following example we add one script manager and update panel at our page. In update panel we take one dropdown list and filled it with some countries and there is a lable in update panel too. We create event dropdown SelectedIndexChanged. In this event we take the dropdown selected item and show it in the lable. Check the following code:-

Thursday, 5 January 2012

Asp.Net Introduction

For Asp.net Training  Click Here

Written By:-Isha Malhotra
Email:-malhotra.isha3388@gmail.com  
                                     Asp.Net Introduction


Ques:-1 What is Asp.Net?
Ans:-Asp.net is a technology which provides features to develop a web application, console application and a mobile application.

Ques:-2 Compilation of Asp.Net code
Or
Asp.Net code whether compiled or interpreted?