Click here to Skip to main content
15,881,248 members
Articles / Web Development / ASP.NET

SharePoint - .Asp.net user control as a Webpart

Rate me:
Please Sign up or sign in to vote.
4.85/5 (12 votes)
11 Nov 2009CPOL4 min read 72K   714   24  
SharePoint - .Asp.net user control as a Webpart
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UsercontrolWebPart.ascx.cs" Inherits="UserControl_WebPart.UsercontrolWebPart" %>
<asp:Login ID="Login1" runat="server" BackColor="#F7F6F3" BorderColor="#E6E2D8" 
    BorderPadding="4" BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" 
    Font-Size="0.8em" ForeColor="#333333">
    <TextBoxStyle Font-Size="0.8em" />
    <LoginButtonStyle BackColor="#FFFBFF" BorderColor="#CCCCCC" BorderStyle="Solid" 
        BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284775" />
    <InstructionTextStyle Font-Italic="True" ForeColor="Black" />
    <TitleTextStyle BackColor="#5D7B9D" Font-Bold="True" Font-Size="0.9em" 
        ForeColor="White" />
</asp:Login>

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.

License

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


Written By
Technical Lead
India India
Gaurav Mehta is from Delhi, India. He has to his credit, a Bachelor’s Degree in commerce and a Master's in Computer and Software Applications. He started his career with C and C++ and then moved on to Microsoft Technologies. He has been in this industry for more than 6.5 years. Gaurav is primarily involved in requirement analysis; designing and developing web and win apps.


http://www.GauravMehta.com

http://www.GauravMehtasBlog.com




Comments and Discussions