473,657 Members | 2,436 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

A HtmlControl as Customcontrol Property

Hello Everyone,
Im trying to implement a control who has a property that receives a
HtmlInputHidden control of a page in design time, the property grid works
very well, detects the HtmlInputHidden in the page and resolves it name, but
when i try to run the web app the following error appears:
Unable to generate code for a value of type
'System.Web.UI. HtmlControls.Ht mlInputHidden'. This error occurred while
trying to generate the property value for CajaDeTexto.

Any ideas???
Tks in advance

KMILO
Nov 19 '05 #1
0 816

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1382
by: Hutch | last post by:
I am looking for some thoughts on this. I have successfully gotten the HTMLControl to work using C#, and it is displaying HTML and receiving messages nicely. Unfortunately, I am not able to receive notifications from the HTMLControl. In an attempt to support this, I added a private MessageWindow derived class to the control, instantiating it in the constructor (of the control).
5
4837
by: Tim Mulholland | last post by:
If i have an HtmlControl for a table row such as: <tr id="trMyRow" runat="server">...</tr> is there any way to set this to be invisible by default through the HTML code, without having to go through the codebehind? <tr id="trMyRow" runat="server" visible="false">...</tr> does not work. its kind of a pain to have to put a whole bunch of lines like
0
219
by: KMILO | last post by:
Hello Everyone, Im trying to implement a control who has a property that receives a HtmlInputHidden control of a page in design time, the property grid works very well, detects the HtmlInputHidden in the page and resolves it name, but when i try to run the web app the following error appears: Unable to generate code for a value of type 'System.Web.UI.HtmlControls.HtmlInputHidden'. This error occurred while trying to generate the...
2
1386
by: philipp | last post by:
Hi I want to write a customControl, which shows a login-component containing textboxes for the username and password and a login-button. As soon as a user logs in, the textboxes and the button disappear and a new button for a logout appears. But it didn't work. I have to press the button twice to change it from login to logout and vice verca. Can anybody help me? Thanks in advance.
4
2838
by: michael.schwarz | last post by:
Hello, is it possible to get a HtmlControl from a string including the HTML code in .NET 2.0? I was using the TemplateControl.ParseControl method in .NET 1.1, but this is not working in the new version. CIAO Michael
1
2580
by: CharlesA | last post by:
Hi folks I want to add a <ul> list with some <li> items in .net code behind on the fly I was under the impression that you could instantiate any HTML control by using the HTMLControl class with constructor parameters like so HTMLControl("ul") the purpose being that I could then program some of the attributes of the ul
3
1390
by: Andrea | last post by:
I'm trying to create a custom control, but I've some doubt. I do the following to setup the designer default value internal class MyControlDesigner : System.Web.UI.Design.ControlDesigner { public override void Initialize (IComponent component) { if (!base.ViewControlCreated) {
0
1057
by: Angrez Singh | last post by:
Hi, I am trying to use a "customcontrol" inside a "webusercontrol" but facing problem with the viewstate of the "customcontrol". When I use the "customcontrol" on a page either adding it statically or dynamically, it works fine. There is no problem with the ViewState. Also when I use this "customcontrol" inside another "customcontrol" there is no problem with the ViewState.
5
1583
by: zino | last post by:
my asp.net page need to display links (<a></a>) as tabs. I create a class that inherits from HtmlAnchor as: Public Class Tab Inherits System.Web.UI.HtmlControls.HtmlAnchor '(inheriting from HtmlControl is good or bad ????) Private _Id As String = "myId"
0
8395
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8732
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8503
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8605
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7330
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4155
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1955
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1615
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.