Knowledgebase Home Page  >  RapidSpell Web ASP.NET  >  Misc
Search the Knowledge Base
How do I dynamically create RapidSpellWebLauncher, RapidSpellWeb, RapidSpellWInline, or RapidSpellWInlineTextBox controls?
https://keyoti.com/kb/Default.aspx?ToDo=view&questId=136&catId=60

Options

Print this page
Email this to a friend
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

 


Related Questions:

Attachments:

No attachments were found.