Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > ListBox Base Class won't let me implement a LoadPostData function

Reply
Thread Tools

ListBox Base Class won't let me implement a LoadPostData function

 
 
Ron Brown
Guest
Posts: n/a
 
      12-20-2006
When I paste in the function declaration code from the VS.NET 2003
IPostBackDataHandler Interface [Visual Basic] help page and then simply end
the function, I get the following compiler error:

'System.Web.UI.IPostBackDataHandler.LoadPostData' is already implemented by
base class 'System.Web.UI.WebControls.ListBox' and cannot be implemented
again.

Code:
Public Overridable Shadows Function LoadPostData( postDataKey As
String, postCollection As System.Collections.Specialized.NameValueCollection )
_
As Boolean Implements IPostBackDataHandler.LoadPostData

End Function

My custom component renders a textbox and a listbox, so how do I get the
data back from both of these components?
 
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
Base class method Need base class value Karan Rajput Ruby 2 12-22-2010 04:47 PM
base class public type (non template and template base class) Hicham Mouline C++ 1 04-20-2009 03:28 PM
Access of base class' private base class: qualification required, why Alf P. Steinbach C++ 6 09-03-2005 04:03 PM
Virtual function 'BasicMidReader::~BasicMidReader()' conflicts with base class 'base 'TMemoryStream' tomek C++ 2 12-01-2003 06:31 AM
Virtual function 'BasicMidReader::~BasicMidReader()' conflicts with base class 'base 'TMemoryStream' tomek C++ 3 11-30-2003 12:18 AM



Advertisments