Click here to Skip to main content
Licence 
First Posted 17 Sep 2007
Views 9,946
Downloads 74
Bookmarked 11 times

Simple Message Control to use throughout the website

By | 17 Sep 2007 | Article
Simple Message Control to use throughout the website

Introduction

Download XVid codec to play the video

This is a simple message control you can use throughout the your site.

This is also a good exmple of how to use user control.

Message is displayed using asp BulletedList control.

Icons should be placed in: ~/Images/Icons

css file should be in: ~/css/

You can place MsgControl.ascx any where in your project.

Background

Uses CSS and images.

Using the code

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    Msg.AddNewMsg("My new success message", ASP.MsgControl.MSG_TYPE.Success)

    Msg.AddNewMsg("My new error messAGE", ASP.MsgControl.MSG_TYPE.Err)

    Msg.AddNewMsg("My new inofrmation message", ASP.MsgControl.MSG_TYPE.Information)

    Msg.AddNewMsg("My new warning message", ASP.MsgControl.MSG_TYPE.Warning)

End Sub

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Amit K Bhagat

Web Developer

India India

Member

Developer

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
Generallooks fine Pinmemberbinabic12:07 17 Sep '07  
GeneralRe: looks fine PinmemberAmit K Bhagat15:53 17 Sep '07  
AnswerRe: looks fine Pinmemberbinabic21:11 17 Sep '07  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web02 | 2.5.120517.1 | Last Updated 17 Sep 2007
Article Copyright 2007 by Amit K Bhagat
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid