RaisePostBackEvent fires for only one instance

J

Jason Barnett

I've created a web server control that should raise a ValueChanged event when
the user changes the control's value and clicks submit (AutoPostBack is not
desired). The control works well, until I drop another control of its class
on the form. Then the RaisePostBackEvent fires only once (always for the
last control on my form). I've searched other forums and found others that
have had the same problem, but I've yet to find a solution.

Does anyone know how I might get RaisePostBackEvent to fire for the
appropriate control(s)?
 
J

Jason Barnett

I must be showing my lack of experience with ASP.NET web controls, because I
just discovered that I should have implemented the IPostBackDataHandler
interface to achieve my goal, not the IPostBackEventHandler. I'm no longer
having a problem.
 

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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top