A Simple Event Driven Confirmation Box / Messege Box Server Control description
ASP.NET 2.0 provides several Server Controls but it still lacks, Message Box, Confirmation Box etc. You can get excelent server control developed by Ning Liao, Liang Yang which you will get on Code Project, but I guess it's not sufficient, you need to programatically check everything in this model. So I developed this event driven server control which raises GetMessageBoxRespose event on button click of client side confirmation box. You can capture which button is pressed in this event. As user presses button page gets posted again and the state gets lost and whatever data we were processing sometime needs to get back again, hence I made a provision to pass data while confirming & can get it back in the raised event. It's cool isn't it. The basic mechanism of MessageBox server control is actually very simple, as it is totally event driven the convenience it brings is also tremendous. Use Confirm method for confirmation & catch GetMessageBoxResponse event and get which button is pressed by user & other data if passed with Confirm method. I appreciate the work of Ning Liao, Liang Yang these guys done a great job, but I guess this is an improvement over their work, Isn't it?
File List:
@PSC_ReadMe_4695_10.txt
2Kb
MessageBox.zip
9Kb
MessageBox_Demo.zip
5Kb
Similar code
Asp.net Barcode Generator
(Popularity: ) : Create Code128A, Code128B, Code128C, 2of5, Interleaved 2of5, Code39, Code93, Postnet, UPC-A, UPC-E, EAN-13 and EAN-8 barcodes on the fly without third party components. HiddenField WebControl Server-Side C# and VB.NET Projects
(Popularity: ) : I created this project to learn how to make a WebControl and because I needed a Server-Side Hidden Input (HTML Hidden Input running as server wasn't good enough for me). In the IDE is shows itself gray to indicate its ... DNS lookup with asp.net
(Popularity: ) : SOA, NS, MX and A records from asp.net without third party components Event Log Category Initializer
(Popularity: ) : Writing to the Event Log from an ASP.Net page looks pretty easy when you look at the object model. But, if you try to write to a custom Event Log from ASP.Net you will get this error: Security Exception Description: ... David's C# Web Site
(Popularity: ) : This is my old website "portal" that I made a long while ago, a couple of friends wanted to see the code for use with there websites, and since I'm not developing it anymore why not release it here and ... .NET Remoting and Remotable Objects
(Popularity: ) : This code shows how to create remote objects in VB.net. This includes Client-Activated objects, Server-Activated objects, remotable objects, serializable objects, and marshaling objects with the Marshal method. Comments are included in the source code to make it easy to understand. Online Code Editor
(Popularity: ) : With Online Code Editor, you can edit your code online. It allow to write well formated source code with line numeration, tab support, search & replace (with regexp) and live syntax highlighting (customizable). Online Code Editor is based on EditArea, ... My IP Address
(Popularity: ) : This is my first VB.NET posting. Actually, ‘Net meeting’ always annoyed me to get my IP address and pass to some body to get the call, and this code does the job, infect its very simple and program. Using this ... DOTNETMSGServer
(Popularity: ) : This is the serverside counterpart of the DOTNETMSG Sample Chat Application. It shows simple Usage of ADODB, Webservices and other neat .NET Stuff. All in all together with the client (see DOTNETMSG Client) is is a very simplistic messenger system. RewriteModule
(Popularity: ) : The class library RewriteModule is intended for URL rewriting in ASP.NET 1.1 and 2.0 with support for Regular Expressions. Full source code with samples and documentation is attached in a zip file.