.NETGURU
Composite Controls and adding a form tag programmatically...
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngreuse' list.


Bryan Andrews
I am trying to programmatically add the:

<form id=3D"Form1" runat=3D"server">

tag to a web form from a registered custom control. How should I do =
this? As a literalcontrol? Is this possible?

Thanks!

Reply to this message...
 
    
Bryan Andrews
If there was a way for me to find the form on the page, and hide it, =
then still add my control (that is normally inside the form tag), then =
that would be ok too.

I am just having problems because this is being called from a registered =
control and not the code behind, so how can I reference the form control =
on the page to hide it?

-----Original Message-----
From:     Kloberg Mac (LAM) [mailto:Click here to reveal e-mail address]=20
Sent:    Monday, August 05, 2002 3:21 AM
To:    aspngreuse
Subject:    [aspngreuse] RE: Composite Controls and adding a form tag =
program matically...

Why would you want to do this?=20

In the programming model of current Asp.Net, the form tag should be in =
the
hosting page of your control in the first place (at least in V1.0, =
multiple
forms may become possible in V2.0).

Just wondering...
--
Sincerely,
Mac Kloberg
LIEBHERR AMERICA INC.
http://www.liebherr-us.com

[Original message clipped]

| [aspngreuse] member Click here to reveal e-mail address =3D YOUR ID
| http://www.aspfriends.com/aspfriends/aspngreuse.asp =3D JOIN/QUIT

Reply to this message...
 
 




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification