Tuesday, January 29, 2008

Tip: Embed an Autocomplete Ajax Control into a Web Control

In order to embed an Autocomplete Ajax control in a custom web control, there is a rule that one needs to follow:


1. Place the Ajax control instance after the base.OnPreRender() function. The reason
is that Ajax control needs to get an instance of the Target Control when it's
created.

No comments: