Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics 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 October 7th, 2005, 01:34 AM
Authorized User
 
Join Date: Aug 2003
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Default validationsummary prob

Hi,

My requirements are as follows:

1) User enters a ID in textbox and clicks "Search" button.

2) If The text box is empty then show pop up error.
  • Done using RequiredFieldValidator and validationsummary controls.
3) If the ID is not Found then show him a Pop-Up message.
  • Used customvalidator and validationsummary controls
  • Set the EnableClientScript=false and ShowMessageBox=true for validationsummary
  • Set args.IsValid to appropriate status.

[u]Problem:</u>
Point 3 Error Message is not displayed as pop up box but as a plain text.
  • Are pop up shown only in case of EnableClientScript=true ?
  • Any other way to do this ?


Regards,

Vinay



 
Old October 7th, 2005, 12:39 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

You can only show a pop up window with client script.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Chap. 9 - ValidationSummary Ciupaz BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 6 May 28th, 2008 09:58 PM
prob in retrieving abhit_kumar MySQL 1 December 24th, 2004 09:03 AM
updation prob.......... abhit_kumar MySQL 0 December 14th, 2004 08:06 AM
prob........ abhit_kumar Java Databases 3 December 4th, 2004 03:21 PM
ValidationSummary vmaila ASP.NET 1.0 and 1.1 Basics 0 September 14th, 2003 11:08 AM





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