Problem for getting post back event in custom control.

R

Reshma Prabhu

Hi,

I have created a custom control derived from CompositeControl class. It implements the IPostBackEventHandler interface. It consists of multiple child controls which are hyperlinks which post back data whenever clicked.

I want to get a post back event in RaisePostBackEvent method of IPostBackEventHandler interface. But the control is never coming in the RaisePostBackEvent method.

I also tried is using Page.RegisterRequiresRaiseEvent(this) method. This works fine as i get control is RaisePostBackEvent. But due this other links on the page stop working.

Does any one know solution for this?


Regards,
Reshma
 

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,764
Messages
2,569,564
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top