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

R

Ron Brown

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,772
Messages
2,569,593
Members
45,111
Latest member
KetoBurn
Top