Click here to Skip to main content
13,090,730 members (45,275 online)
Click here to Skip to main content
Articles » Web Development » ASP.NET » Samples » Downloads


33 bookmarked
Posted 18 Apr 2008

Manage ASP.NET Server Controls, Event Handlers, and Server-Side Validation Using XML and XSLT

, 18 Apr 2008
An article on managing ASP.NET server controls, event handlers, and server-side validation using XML and XSLT.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

<html xmlns="">
<head runat="server">
    <title>Dynamic Controls Using Xslt</title>
    <form id="form1" runat="server">
    <div style="float: right; background-color: Yellow">
        <asp:Label ID="lblMessage" runat="server" Text="Label"></asp:Label>
        <asp:Label ID="Label1" runat="server" Text="Choose Employee"></asp:Label>
        <asp:DropDownList ID="ddlEmployee" runat="server" Width="128px">
            <asp:ListItem Value="1">Ehsan</asp:ListItem>
            <asp:ListItem Value="2">Ashraf</asp:ListItem>
        &nbsp;<asp:Button ID="btnLoadData" runat="server" BackColor="White" BorderColor="DeepSkyBlue"
            BorderStyle="Solid" BorderWidth="1px" Font-Names="Tahoma" Font-Size="10pt" Text="Load Data"
            OnClick="btnLoadData_Click" /><br />
        <br />
        <asp:PlaceHolder ID="phEmployeeAddress" runat="server"></asp:PlaceHolder>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Ehsanul Haque
Software Developer (Senior) Desme Inc
Bangladesh Bangladesh
Ehsanul Haque is a Software Engineer, who is dedicated to Microsoft .NET based development. He is involved with several US based software projects from his country. Already he has completed few projects, which are being used by several users of different countries, such as USA, Japan, and Bangladesh. While developing and managing a team, he maintains a set of well defined engineering practices developed by him and other online developer community. Beside software development, he has also written several technical articles.

When not engaged with technical stuffs, he likes to pass time with his friends, and family members, listens music, watching TV, travel or by reading books.

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.170813.1 | Last Updated 18 Apr 2008
Article Copyright 2008 by Ehsanul Haque
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid