RaisePostBackEvent not firing

Question :

RaisePostBackEvent not firing,

Answer :

I have a custom control that implements IPostBackEventHandler. Some client-side events invoke __doPostBack(controlID, eventArgs).

The control is implemented in two different user controls. In one control, RaisePostBackEvent is fired on the server-side when __doPostBack is invoked. In the other control, RaisePostBackEvent is never invoked. I checked the __EVENTTARGET parameter and it does match the ClientID of the control… where else might I look to troubleshoot this?

,

There’s a lot of ways this can fall apart. Are you adding the control to the page dynamically in code behind? If so alot of times your UniqueID can be off – even though the client id’s are equal. Do you have a code sample that might demonstrate what you’re doing?

Read More  .NET Remoting Speed and VPNs

That’s the answer RaisePostBackEvent not firing, Hope this helps those looking for an answer. Then we suggest to do a search for the next question and find the answer only on our site.

Disclaimer :

The answers provided above are only to be used to guide the learning process. The questions above are open-ended questions, meaning that many answers are not fixed as above. I hope this article can be useful, Thank you