Click here to Skip to main content
12,555,488 members (54,834 online)
Click here to Skip to main content


34 bookmarked

Notes: An MSDN Websites Style Custom Notes Control in ASP.NET and C#

, 25 Jan 2008 CPOL
A Microsoft website style notes control using a web usercontrol in ASP.NET and C#.
<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register Src="Notes.ascx" TagName="Notes" TagPrefix="uc1" %>

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

<html xmlns="" >
<head runat="server">
    <title>Custom Notes Control:By Abhijit</title>
    <form id="form1" runat="server">
        <asp:Label ID="Label1" runat="server" Font-Bold="True" Style="z-index: 100; left: 0px;
            position: absolute; top: 0px" Text="This is Sample 1 :" ForeColor="#C00000"></asp:Label>
        <asp:Label ID="Label2" runat="server" Font-Bold="True" Style="z-index: 101; left: 0px;
            position: absolute; top: 152px" Text="This is Sample 2 :" ForeColor="#004000"></asp:Label>
        <asp:Label ID="Label3" runat="server" Font-Bold="True" ForeColor="Navy" Style="z-index: 102;
            left: 0px; position: absolute; top: 216px" Text="This is Sample 3 :"></asp:Label>
        <asp:Label ID="Label4" runat="server" Font-Bold="True" ForeColor="#400040" Style="z-index: 108;
            left: 368px; position: absolute; top: 208px" Text="This is Sample 4 :" Width="120px"></asp:Label>
        <asp:Panel ID="Panel1" runat="server" Height="50px" Style="z-index: 104; left: 16px;
            position: absolute; top: 40px" Width="125px">
            &nbsp;<uc1:Notes ID="Notes1" runat="server" />
        <asp:Panel ID="Panel2" runat="server" Height="50px" Style="z-index: 105; left: 16px;
            position: absolute; top: 176px" Width="125px">
            <uc1:Notes ID="Notes2" runat="server" />
        <asp:Panel ID="Panel3" runat="server" Height="50px" Style="z-index: 106; left: 16px;
            position: absolute; top: 240px" Width="125px">
            <uc1:Notes ID="Notes3" runat="server" />
        <asp:Panel ID="Panel4" runat="server" Height="50px" Style="z-index: 107; left: 368px;
            position: absolute; top: 240px" Width="125px">
            <uc1:Notes ID="Notes4" runat="server" />

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

Abhijit Jana
Technical Lead
India India
.NET Consultant | Former Microsoft MVP - ASP.NET | CodeProject MVP, Mentor, Insiders| Technology Evangelist | Author | Speaker | Geek | Blogger | Husband

Blog :
Web Site :
Twitter : @AbhijitJana
My Kinect Book : Kinect for Windows SDK Programming Guide

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.161021.1 | Last Updated 26 Jan 2008
Article Copyright 2007 by Abhijit Jana
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid