I don't mean to sound rude, but I just don't think you are understanding what I need. The code you linked me to is not helpful to my situation. First, as I've stated several times, I need the code to work in an
UpdatePanel. Secondly, calling "Page.RegisterRequiresRaiseEvent is not useful and really shouldn't be used in most cases as it will always cause "eventArgument" in the "RaisePostBackEvent" method to be null. Which leads to number three, the
clicked child control will never actually call RaisePostBackEvent because it's being overshadowed by the "Page.RegisterRequiresRaiseEvent".
I do hope that you have other suggestions about how to get RaisePostBackEvent called when the control is in an
UpdatePanel, I really need a solution to this and am willing to look at any options.
(As a side note, the problem in the post you linked could have been much more easily solved by implementing INamingContainer in the original WebControl.)
ipshing
Member
51 Points
40 Posts
Re: RaisePostBackEvent not called when control is in an UpdatePanel
Sep 18, 2009 05:09 AM|LINK
I don't mean to sound rude, but I just don't think you are understanding what I need. The code you linked me to is not helpful to my situation. First, as I've stated several times, I need the code to work in an UpdatePanel. Secondly, calling "Page.RegisterRequiresRaiseEvent is not useful and really shouldn't be used in most cases as it will always cause "eventArgument" in the "RaisePostBackEvent" method to be null. Which leads to number three, the clicked child control will never actually call RaisePostBackEvent because it's being overshadowed by the "Page.RegisterRequiresRaiseEvent".
I do hope that you have other suggestions about how to get RaisePostBackEvent called when the control is in an UpdatePanel, I really need a solution to this and am willing to look at any options.
(As a side note, the problem in the post you linked could have been much more easily solved by implementing INamingContainer in the original WebControl.)