Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > how can i implement abstract method of usercontrol?

Reply
Thread Tools

how can i implement abstract method of usercontrol?

 
 
ton
Guest
Posts: n/a
 
      04-10-2007
Public MustInherit Class uc_navigator
Inherits System.Web.UI.UserControl

Public MustOverride Sub DoSearch()
End Class

i need implemt DoSearch method in .aspx that i put usercontrol on it.

thank in advance
 
Reply With Quote
 
 
 
 
Phillip Williams
Guest
Posts: n/a
 
      04-10-2007
If you intend uc_navigator to become a user control you should not use the
keyword MustInherit. For a more detailed essay on abstract classes you might
refer to this article:
http://msdn2.microsoft.com/en-us/library/ms229047.aspx

--
HTH,
Phillip Williams
http://mcts-study-practices.com/
http://www.webswapp.com


"ton" wrote:

> Public MustInherit Class uc_navigator
> Inherits System.Web.UI.UserControl
>
> Public MustOverride Sub DoSearch()
> End Class
>
> i need implemt DoSearch method in .aspx that i put usercontrol on it.
>
> thank in advance

 
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
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Using "abstract" on a class with no abstract method Stefan Ram Java 27 08-17-2009 12:36 AM
Abstract method in non-abstract class Chris Zopers ASP .Net 2 08-08-2008 11:40 AM
how can i implement abstract method of usercontrol? =?Utf-8?B?dG9u?= ASP .Net 0 04-10-2007 02:10 AM
About abstract class and abstract method Sameer Java 4 08-31-2005 12:59 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57