HighTechTalks DotNet Forums  

Re: Problem with Design Support in VS.NET 2002 (but not 2003?)

ASP.net Building Controls microsoft.public.dotnet.framework.aspnet.buildingcontrols


Discuss Re: Problem with Design Support in VS.NET 2002 (but not 2003?) in the ASP.net Building Controls forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Victor Garcia Aprea [MVP]
 
Posts: n/a

Default Re: Problem with Design Support in VS.NET 2002 (but not 2003?) - 07-06-2003 , 08:26 PM






Hi Paul,

Could you post some code?

--
Victor Garcia Aprea
Microsoft MVP | ASP.NET
Looking for insights on ASP.NET? Read my blog:
http://obies.com/vga/blog.aspx

To contact me remove 'NOSPAM'. Please post all questions to the newsgroup
and not by private mail.

"Paul Ingles" <paul@oobaloo-dot-co-dot-uk> wrote

Quote:
I've been trying to do this for ages with no luck.

I decided to start from scratch to check out VS.NET's design-time support.
I
created the most bare-bones validator control I could think of, an
assembly
that contains a class derived from BaseValidator that overrides just the
EvaluateIsValid method, returning true. Well, for some reason if I add it
to
the VS.NET control toolbox and then try dragging and dropping it onto the
form it doesn't work -- I just get a no-drop icon.

However, I've also had a friend try it with their installation of VS.NET
2003 and it works fine. Anyone have any ideas what could be causing the
problem?

Thanks,
Paul





Reply With Quote
  #2  
Old   
Paul Ingles
 
Posts: n/a

Default Re: Problem with Design Support in VS.NET 2002 (but not 2003?) - 07-07-2003 , 05:15 PM






Ok, here's the C# version of the code. As I mentioned, it is pretty
barebones to say the least

using System;
using System.Web.UI.WebControls;

namespace Ingles
{
public class MyValidator : BaseValidator
{
public MyValidator()
{
}
protected override bool EvaluateIsValid()
{
return true;
}
}
}

Again, the weirdest thing is that VS 2003 appears to not have a problem with
it, but VS 2002 does. Thanks for anything you can suggest though.

"Victor Garcia Aprea [MVP]" <vga (AT) NOobiesSPAM (DOT) com> wrote

Quote:
Hi Paul,

Could you post some code?

--
Victor Garcia Aprea
Microsoft MVP | ASP.NET
Looking for insights on ASP.NET? Read my blog:
http://obies.com/vga/blog.aspx

To contact me remove 'NOSPAM'. Please post all questions to the newsgroup
and not by private mail.

"Paul Ingles" <paul@oobaloo-dot-co-dot-uk> wrote in message
news:u5EHF%23oQDHA.1988 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
I've been trying to do this for ages with no luck.

I decided to start from scratch to check out VS.NET's design-time
support.
I
created the most bare-bones validator control I could think of, an
assembly
that contains a class derived from BaseValidator that overrides just the
EvaluateIsValid method, returning true. Well, for some reason if I add
it
to
the VS.NET control toolbox and then try dragging and dropping it onto
the
form it doesn't work -- I just get a no-drop icon.

However, I've also had a friend try it with their installation of VS.NET
2003 and it works fine. Anyone have any ideas what could be causing the
problem?

Thanks,
Paul







Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.