Hi Lan,
Thank you for posting.
Regarding on the custom control developing issue, I think your assumption
of the issue is reasonable, since LinkButton is a well encapuslated control
(which has harded coded some fixed behavior for some certain events), it
will not be the proper type for our custom Template based control. IMO, I
suggest you consider just start your custom control from the "WebControl"
base type. And for the LinkButton , we can reuse it through aggregation
instead of inheritance, that means we can include it in our custom control
as a sub control in the control colleciton and put it in the proper
position in our custom control, also we can register event handler for it
in our custom control conveniently. How do you think of this?
Please feel free to post here if you have any other idea or questions.
Regards,
Steven Cheng
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Signature
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)