User control event - send value to parent
Tech-Archive recommends: Fix windows errors by optimizing your registry
Hi, i have a user control that is a pop-up search tool. The user
enters the criteria and are presented wiht a datagrid. They can select
the right one. I raise this event. The parent page catches the event
(sender, e). But what is the right way to send to the parent a value
from the datagrid? Can I put that value in the event I raise? Its
just an integer.
When the parent catches the error, I want to have that integer in hand.
Thanks!
.
Relevant Pages
- RE: Events With Feedback
... > Cancel property of an CancelEventArgs or the Handled property on the KeyDown ... > What I have is a user control that I want to raise an event that allows the ... > conditional code if the parent responds to the event. ... (microsoft.public.dotnet.languages.csharp) - Events With Feedback
... Cancel property of an CancelEventArgs or the Handled property on the KeyDown ... What I have is a user control that I want to raise an event that allows the ... conditional code if the parent responds to the event. ... (microsoft.public.dotnet.languages.csharp) - Thread was being aborted error message
... I have a user control which raises an event to the parent page when ... In the event handler inside the parent page I construct a url to redirect to ... containing information sent from the datagrid. ... (microsoft.public.dotnet.framework.aspnet) - Re: How to refresh a parent grid?
... Here's a snippet of code from what I'm doing, this is from the User Control. ... To access the parent grid you can create a new ... dataGrid and set it equal to the parent datagrid. ... > the parentgrid's bind_parentgridsub. ... (microsoft.public.dotnet.framework.aspnet.datagridcontrol) - Search box in usercontrol how to update parent datagrid
... I have a search box in a user control when submitted it should update ... the datagrid on the parent page that the control is placed on. ... Prev by Date: ... (microsoft.public.dotnet.framework.aspnet) |
|