Wrox Programmer Forums
ASP.NET 3.5 Professionals If you are an experienced ASP.NET programmer, this is the forum for your 3.5 questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Professionals section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old June 16th, 2009, 06:42 AM
Authorized User
Join Date: Dec 2003
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Question alert from class file

I am using asp.net 3.5
i have a data access C# class file that is throwing a user generated exception as below
throw new Exception("Output message from procedure call")

how do i show the browser alert box with the message. Right now the above code just throws a generic alert asking to contact the system administrator

I was researching this and came across client side script injection using Client-side script blocks, but i am unable to add this in my class file as i cannot reference system.web.UI in my class file.

any pointers toward the right direction would be helpful

Similar Threads
Thread Thread Starter Forum Replies Last Post
Class name and file name Shimul Mahmud Java Basics 2 January 13th, 2009 01:18 AM
Class File Asp_Developer Visual Basic 2005 Basics 1 April 30th, 2008 10:56 PM
Class file SKhna Ajax 1 February 4th, 2008 11:30 AM
class file thas123 ASP.NET 2.0 Basics 0 December 13th, 2006 03:45 AM
Regarding Class Library (.dll) from class file manish.sharma04 BOOK: Wrox's ASP.NET 2.0 Visual Web Developer 2005 Express Edition Starter ISBN: 978-0-7645-8807-5 1 March 3rd, 2006 07:32 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.