|
-
October 15th, 2009, 11:39 AM
#1
Bubble event doesn't work everytime
Hello, guys.
Have a problem.
Say, I have a handler from grid, that should bubble an event to the top conrols:
protected void grdCounterOffers_RemoveItemCommand(object sender, GridCommandEventArgs e)
{
base.RaiseBubbleEvent(sender, (EventArgs)e);
}
The GridCommandEventArgs is inherited from CommanEventArgs, and I need this class to have the ID of the item to be removed from grid.
Whenever I pass the e, which is not null, the handler on the top control is not called. If I pass null, it's called.
Can you please explain me why? And how can I correctly pass the desired parameter in the args to the top controls?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|