
November 18th, 2003, 02:57 PM
|
|
Junior Member
|
|
Join Date: Nov 2003
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Parent and Child Custom Controls on ASP.NET page
Hi, everybody!
I have two custom web controls. One (ListForm) has datagrid and (DetailForm) custom control, second all fields of one row of that grid (DetailForm itself).
Initially, after row has been selected, DetailForm is shown; but when button on that control (DetailForm is child, ListForm is parent) is pressed I need to execute something on parent.
I tried to accomplish that using events, but run into problem that raising event on child and handler on parent - two different instances, so raising doesn't see associated handler + I don't need handler on child and raising on parent.
Thought, events work fine on the same page, without having raise in one and handler in other control.
I confused even myself  .
Looking forward to see any ideas!
Thanks ...
|