Category: ASP.NET Articles

ASP.NET MVC Design

ASP.NET MVC Design  ASP.NET MVC Design  ASP.NET MVC Design pattern derives from MVC design pattern i.e. Model View Controller design pattern. It seperates the responsibilities.C in MVC is for Controller. Controller is component which acts as target to external stimulus. Controller then responds to stimulus by calling Model […]

Microsoft Web Platform Installer

Microsoft Web Platform Installer Microsoft Web Platform Installer (Web PI) is a free tool that makes getting the latest components of the Microsoft Web Platform, including Internet Information Services (IIS), SQL Server Express, .NET Framework and Visual Web Developer easy. The Web PI also makes it easy to […]

Setting Menu options Dynamically based on Role in ASP.NET using LINQ

Setting Menu options Dynamically based on Role in ASP.NET using LINQ Step 1. Add Menu control to aspx or master page. <asp:Menu ID=”menuRoleBased” runat=”server” Font-Names=”Verdana” ForeColor=”WhiteSmoke” Orientation=”Horizontal”                            BorderColor=”#FFCC99″ BorderWidth=”0px” Width=”20%” Font-Bold=”False” Font-Size=”Smaller”>                            <StaticMenuStyle BorderWidth=”1″ BackColor=”#FFCC99″ BorderColor=”White” BorderStyle=”Solid” />                            <StaticSelectedStyle Font-Names=”Verdana” BackColor=”#415779″ ForeColor=”white” Height=”25px” />                            <StaticMenuItemStyle CssClass=”menuHoverStyle” Font-Names=”Verdana” HorizontalPadding=”4px”                                […]

ASP.NET , C# – Configuring to use XML to display error and validation message

ASP.NET , C# – Configuring to use XML to display error and validation message Step 1 – Add XML file to store error and validation message.               Below is sample of ErrorMessage.xml :<?xml version=“1.0“ encoding=“utf-8“ ?><appSettings><add key=“NoMatchingRecord“ value=“No Matching Records Found“/><appSettings>                   Below is sample of ValidationMessage.xml :<?xml version=”1.0″ […]

AJAX Client Side Event Life Cycle

AJAX Client Side Event Life Cycle 1.      Page Request 2.      Init 3.      Load ·         initializeRequest ·         beignRequest ·         pageLoading ·         pageLoaded 4.         Load ·          endRequest 5.      unLoad  Interview Question links : AJAX Interview Questions – Part 1 C# Interview Questions – Part 1 C# Interview Questions – Part […]

What is ScriptManager ?

 ScriptManager ScriptManager control on a page  is used to enable the Microsoft Ajax features of ASP.NET: Client-script functionality of the Microsoft Ajax Library, Partial-page rendering, which enables portions of page to be independently refreshed without a postback.  UpdatePanel, UpdateProgress, and Timer controls require a ScriptManager control in order to […]

%d bloggers like this: