If you have IPostBackDataHandler implemented and you wish
IPostBackEventHandler.RaisePostBackEvent called (means you have implemented
both interfaces), you'd need to use Page.RegisterRequiresRaiseEvent to get
RaisePostBackEvent called . Otherwise it is not called at postback
processing stage.
If this doesn't help, what kind of control it is in question? If it is a
composite one, you'd need to implement INamingContainer interface for
postback data to be routed correctly. Post some more code.
--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
http://blogs.aspadvice.com/joteke
"Karl Hungus" <nn*********@hotmail.com> wrote in message
news:LX********************@twister.nyc.rr.com...
how come RaisePostBackEvent doesn't work correctly if the
IPostBackDataHandler isnt implemented. It seems that I must at least have:
public bool LoadPostData(String postDataKey, NameValueCollection values) {
return false;
}
public void RaisePostDataChangedEvent() {
}
In order for the eventArgument string to come through properly in:
public void RaisePostBackEvent(String eventArgument) {
Anyone know why?
TIA
Karl