H
Henk
Hey All,
I have a question about the IPostbackEventHandler interface. This
interface's RaisePostBackEvent method has an eventArgument paramter. When my
control has two buttons, I can use eventArgument to see what button was
clicked, since I set their onclick attribute with the
Page.ClientScript.GetPostBackEventReference(...) method.
When I then implement the IPostBackDataHandler interface, and call the
Page.RegisterRequireRaiseEvent, the RaisePostBackEvent still gets called
but the eventArgument parameter is always null? Why is this?
I know I can use the postCollection parameter in
IPostBackDataHandler::LoadPostData to check which button was clicked, but is
wonder why the IPostbackEventHandler::RaisePostBackEvent is not usable for
it anymore?
regards,
Henk
I have a question about the IPostbackEventHandler interface. This
interface's RaisePostBackEvent method has an eventArgument paramter. When my
control has two buttons, I can use eventArgument to see what button was
clicked, since I set their onclick attribute with the
Page.ClientScript.GetPostBackEventReference(...) method.
When I then implement the IPostBackDataHandler interface, and call the
Page.RegisterRequireRaiseEvent, the RaisePostBackEvent still gets called
but the eventArgument parameter is always null? Why is this?
I know I can use the postCollection parameter in
IPostBackDataHandler::LoadPostData to check which button was clicked, but is
wonder why the IPostbackEventHandler::RaisePostBackEvent is not usable for
it anymore?
regards,
Henk