Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Extending Web form Controls for validation

Reply
Thread Tools

Extending Web form Controls for validation

 
 
seal
Guest
Posts: n/a
 
      09-29-2005
I have a drop down list in a user control (that is actually put on another
user control which is then put on a page) and I need to put a required field
validator on the drop down list. I found this article
(http://support.microsoft.com/default...b;en-us;310082) which seemed
to be the answer, however I get parser errors after I follow all the steps
layed out here (see below for errors). I thought if I could get this working
as a unit test I would then try a drop down list and have my answer.
So the question(s) are:
1. Do I have to (or better yet can I) extend the control in order to use the
required field validator
2. If so can you give me an example or at least point me in the right
direction of some documentation - if its not asking too much.

Errors:
Source File: c:\inetpub\wwwroot\ExtendValidation\WebForm1.aspx Line: 2

Assembly Load Trace: The following information can be helpful to determine
why the assembly 'Class1' could not be loaded.


=== Pre-bind state information ===
LOG: DisplayName = Class1
(Partial)
LOG: Appbase = file:///c:/inetpub/wwwroot/ExtendValidation
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: Class1
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/extendvalidation/a8ac6d44/a0bd20c7/Class1.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/extendvalidation/a8ac6d44/a0bd20c7/Class1/Class1.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/ExtendValidation/bin/Class1.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/ExtendValidation/bin/Class1/Class1.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/extendvalidation/a8ac6d44/a0bd20c7/Class1.EXE.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/extendvalidation/a8ac6d44/a0bd20c7/Class1/Class1.EXE.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/ExtendValidation/bin/Class1.EXE.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/ExtendValidation/bin/Class1/Class1.EXE.

Thanks for any input
Seal

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Javascript validation with web controls and form postbacks JP2006 ASP .Net 0 08-22-2006 05:08 PM
Extending Functionality of Web Controls dustbort ASP .Net 0 07-19-2006 06:54 PM
Form Validation Problem...Persisiting form fields on validation failure. bnp Javascript 4 05-12-2004 12:16 PM
ASP.NET Web Forms Validation Controls are Server-Side or Client-Side Validation? Matt ASP .Net 14 01-30-2004 09:15 AM
Web form validation vs object validation Colin Basterfield ASP .Net 1 11-29-2003 12:10 AM



Advertisments