Try GetPostBackEventReference or GetPostBackClientHyperlink. See "Generating
Client-Side Script for Postback" in the docs.
-----Original Message-----
From: Patrik Löwendahl [mailto:[EMAIL PROTECTED]]
Sent: Fri 5/3/2002 9:37 AM
To: [EMAIL PROTECTED]
Cc:
Subject: [DOTNET] RegisterPostBackScript
Have created asp.net server control. Want to register custom events (other
than click) for the content rendered. This nice little method
RegisterPostBackScript on the Page class, is supposed to to that. But what
do you know? They've marked it private ... *grumble*, wehn taking the
webcontrol textbox apart, I see that MS is calling on that exactly same
method in their onPreRender method ...
What am I missing?
// Patrik
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.
¢çž·švg¬±¨±úèšØ^äÍ6«r¯zéì¹»®&Þ~º&äÍ:+²æìr¸›zÚ(¶«
ëÞ–ŠLz{h®X¬¶Æ†Ûiÿ÷b±Ë¬±×¯zZ)r‰