Click to See Complete Forum and Search --> : [ASP.NET][VB.NET]Can I put this control in userControl to load it later ?


Chrisisis
07-05-2004, 08:29 AM
Hi,

I develop in VB.Net and ASP.Net with Visual Studio.

I create control dynamically, textBox, Label, etc and FreeTextBox

I put control in userControl with webCustomControl ToolBar, that I have develop, to load it later.

I put control FreeTextBox in UserControl in htmlTable, his name is uc_FreeTextBox

In page webform.aspx I put one userControl uc_form which read xml document and load userControl associated, also userControl uc_FreeTextBox

To load userControl, I call

LoadControl("uc_FreeTextBox.sacx"), and I have error javascript

When I put this userControl uc_FreeTextBox on page webform.aspx, no problem.

When I try to create one instance of freeTextBox with new method, always on page webform.aspx, I can't type text, FreeTextBox is not editable

And when I try to create one instance of freeTextBox with new method on userControl uc_FreeTextBox, and I put this userControl on page webForm.aspx, I have error javascript

Sorry for my tra try to create one instance of freeTextBox with new method, duction in english

Can you help me ?

Is it possible t create instance of control freeTextBox ?

What is property to have editable text ?

Can I put this control in userControl to load it later ?



Thanks

Christèle