Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Help creating controls

Thread Tools

Help creating controls

Posts: n/a
I need a little direction on a project I’m working on. The project is a .NET ASP web application. The application will present the end user with a survey. This survey is dynamic based on several rules. Since this survey is dynamic I have run into a problem. I’m trying to create Labels, TextBoxes, and RadioButtonList at runtime. The way that I understand to do this is to declare the control and use the Add method
Dim txt as New TextBo


But I keep getting errors with above code stating the new control must be placed inside a form tag with runat=server. I’m not sure where to go from here. If anyone has any advice it would be great. Thanks

Reply With Quote
Posts: n/a
=?Utf-8?B?RGVubmlz?= wrote on 12 apr 2004 in
> The project is a .NET ASP web application.

This is a classical ASP NG.

Please see a NG.

The Netherlands.
(Please change the x'es to dots in my emailaddress)
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Controls.Count, Controls.IsSynchronized, and Controls.SyncRoot Nathan Sokalski ASP .Net 4 09-05-2007 03:27 AM
creating dynamic controls out of static controls Tarscher ASP .Net 9 02-13-2007 02:33 PM
"Error Creating Control" when creating a custom control (Design Time). Can't see tooltip message. Ravi Ambros Wallau ASP .Net 0 06-01-2005 02:36 PM
HELP! Child controls of child controls not visible to web app ASP .Net Building Controls 0 05-05-2005 09:14 PM
Please Help - New in Creating WEB CONTROLS ASP .Net 0 04-27-2005 07:27 PM