Groups | Blog | Home
all groups > asp.net > december 2005 >

asp.net : Trigger event into several webcontrols from main page ?


jesper_lofgren NO[at]SPAM yahoo.se
12/19/2005 11:50:59 PM
Hi,

I have a main page that contians some webcontrols.

On the main page i have a asp:button id="Save".
The thing is that i want to trigger a save event in all webcontrols
when i cklick on the asp:button on the main page.

Anyone have a idea how i can do this ?

Thanks
// Jeppe
jesper_lofgren NO[at]SPAM yahoo.se
12/21/2005 2:23:37 AM
Anyone have a clue here ?
James Doughty
12/28/2005 12:44:57 PM
I would simply have a public method in each of the webcontrols that does
the save. Then when the button is pushed just call of the controls save
method.

jesper_lofgren@yahoo.se wrote in news:1135065058.994184.109290
@o13g2000cwo.googlegroups.com:

[quoted text, click to view]
AddThis Social Bookmark Button