473,387 Members | 1,834 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

HtmlGenericControl State Managament

I have a HTMLGeneric control

In my Aspx page inside my Form tag
------------------------------
<xml id="myControl" name="myControl" runat="server"></xml>

In code behind
--------------
Protected myControl As HtmlControls.HtmlGenericControl

On Load
myControl.InnerHtml = myXml.DocumentElement.OuterXml

In Client Script
----------------
On name change event on a text box
myControl.documentElement.setAttribute("name",strV alue);

myControl.xml has the updated value

but when I click save, the save_clcik even is raised on
the code behind. When I check the value for
myControl.InnerHtml it doesnt show the new value. I tried
even setting the "EnableViewState="True"" in the Server
control still it didnt work.
Any suggessions?


Nov 18 '05 #1
0 885

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

Similar topics

0
by: Coder Coder | last post by:
Hi. I have an aspx page which has a datagrid sitting inside of DIV tags. The users can now scroll down to look at the all the items in the datagrid. The only problem is that when a selection...
3
by: Josema | last post by:
Hi, I have in a database models of cars, CarID int CarName varchar CarFeatures varchar CarImage binary I have a class Car that have the properties:
0
by: VB Programmer | last post by:
I have 2 webforms. When I print out the page.Controls(1).tostring variable one says "HtmlForm", the other "HtmlGenericControl". How can I change the first one to "HtmlForm"? ?...
2
by: Ralph Krausse | last post by:
I am updating a span tag with the title of my expanded node (a 3rd party control).text that I wish to get later in my codebehind file. my tag in my html <span class="hint" runat="server"...
4
by: qualitynice | last post by:
HELP :-)... I'm creating an embedded activex object in an asp.net page using the HtmlGenericControl class. I'm doing this because when I tried to embed it directly in the aspx page, it stopped...
8
by: Randall Parker | last post by:
I want to generate an HTML tag that will look like: <a href="EquipmentServiceCreate.aspx?serial=X01">Create New Service For X01</a> or on a different instance where the user would be viewing...
2
by: Rik Brooks | last post by:
I have a web page that has a placeholder on it called PlaceHolderText. I read some html out of the database. The value for my test is: this is <strong>a test </strongof the html stuff I read...
0
by: papillonhn | last post by:
Please help me. In my HtmlGenericControl object has: an image and a string. Is there anyway to determine or calculate the width of HtmlGenericControl. I need to display this HtmlGenericControl...
2
by: swathi amireddy | last post by:
Hi Experts, //BodyID Defined as in other page where method ControlWebPage(HtmlGenericControl BodyID) in OnInit method protected System.Web.UI.HtmlControls.HtmlGenericControl BodyID; ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...

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.