Integrate third Party Control in User Control

Ravindrababu

New member
Joined
Sep 8, 2006
Messages
1
Programming Experience
1-3
I have Vb.net and ASP.net Application and i have to integrate a third party control in other user control.

I have done following things and inserted the code where controls are dynamically loaded

1. Third party control is a dll for spell checking in text boxes
2. I have add reference of dll in project
3. Dim CtlSpell As New Company.product.spellctl
4. Me.Controls.Add(CtlSpell)
5. CtlSpell.Attributes.Add("onclick", "var retval=window.showModalDialog('form1.aspx', null, 'status:no;dialogWidth:650px;dialogHeight:650px;');if (retval) this.value=retval; else return false;")

Expected result.

1. Load thirdparty control in User control ie ( <filename.ascx)
2. when it click it should display another page and which has controls to check spelling

Actual result
I am able to see thirdparty control in user control but with script error and button when click not redirected to another page

regards
Ravi
 
Back
Top