It's perfectly acceptable to create any RapidSpell control in the Page_Load handler of a page, however care must be taken when adding the RapidSpell control to add it to the Form control and not the page directly. This is because scripts registered by the control will not be added to the page if the control is outside the form. Eg. Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim rs As New Keyoti.RapidSpell.RapidSpellWebLauncher rs.TextComponentName = "textBox1" rs.RapidSpellWebPage = "popup.aspx" FindControl("Form1").Controls.Add(rs) End Sub |