This blog is about the dotnet.all types of codes,news about dotnet including asp.net,vb.net,c# and know about new dotnet technology.programing in asp.net,vb.net,c#, ajax, AJAX tech support for .net and discuss the new technology in dotnet.ncluding asp.net,vb.net,c# and know about new dotnet technology.programing in asp.net,vb.net,c#, ajax, AJAX tech support for .net and discuss the new technology in dotnet.asp.net programming,dot net programming,dotnet programs,dotnet source code,source code.

Free Hosting

Free Hosting

Sunday, January 4, 2009

ASP.NET code for Custom Image Button Control with Mouse-Over Effect

Version: VB 2005
Compatibility: VB 2005
Category: ASP.NET


This article describes an easy approach to the construction of a custom ASP.NET 2.0 image button control that contains both a mouse-over effect and calls a JavaScript function when clicked. Whilst the article is pretty simple and the code fairly trivial, the concepts illustrated by means of this example are relatively important and are key to integrating client side functionality into an ASP.NET 2.0 project.

The two important items to pull from this article are: 1) That you can add attributes to a custom control, and 2) that you can embed and evoke JavaScript functions from a custom control.

One possible use for this control may be to drop several of them into a panel and use the panel and collection as a toolbar. Naturally the control would work just fine as a standalone control as well.


CLICKHERE TO DOWNLOAD SOURCE CODE AND ARTICLE

0 comments:

dotnet(.Net) Project Source code Downloads and Tutorials

Email Subscrption



Enter your email address:

Delivered by FeedBurner

Feedburner Count

Blog Archive

Unique Visitor

Design by araba-cı | MoneyGenerator Blogger Template by GosuBlogger