Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Building Controls > Custom controls and UpdatePanel

Thread Tools

Custom controls and UpdatePanel

Fabien Henriet
Posts: n/a

I try to create a custom control using an updatepanel. Everything is
working perfectly except a little thing.
I override the onInit method and create my updatepanel and add all the
composant within. In the contenttemplatecontainer, I have a textbox and 3
linkbuttons. On each linkbutton, I add an event for the click.

At runtime, when I click on one linkbutton, my control is perfectly
refreshed (partial refresh of the page is working fine), but my event is
never fired although I created my linkbutton in the onInit method.

Can anyone help me?

Thank you in advance,

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Triggering an UpdatePanel with a trigger located outside of the UpdatePanel Nathan Sokalski ASP .Net 1 06-15-2009 06:23 PM
databound custom controls vs composite databound custom controls rodchar ASP .Net 0 11-26-2007 03:51 PM
refresh an updatePanel in an other updatePanel ASP .Net 3 08-08-2007 06:30 AM
Custom UpdatePanel - ASP.NET 2.0 and Client Callback ThunderMusic ASP .Net Web Controls 3 11-29-2006 06:10 PM
Custom UpdatePanel - ASP.NET 2.0 and Client Callback ThunderMusic ASP .Net 3 11-29-2006 06:10 PM