473,405 Members | 2,404 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,405 software developers and data experts.

Persist Other Properties On Property Value Change

In a custom web control, I have 2 properties that are affected when 1
changes.

When Property1 changes, I need Property2 to be updated as well. When
Property2 changes, Property1 does NOT need to be changed. So, all is well.
In the Property1 set, I update Property2. And it works, in the designer I
see that Property2 has been changed. But when I go into the HTML view, the
value for Property2 on the control is still the old value and not the
updated value.

How do I get Property2 to persist when I change Property1 which, in turn,
updates Property2? I know I've done this many many times before, but I
can't remember when or where :P
Thanks,
Mythran
Aug 22 '06 #1
0 800

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

Similar topics

2
by: Andrzej Kaczmarczyk | last post by:
Hi, I have following problem: (warning, quite long post with lots of code) I have an object of a known type like this. class MyClass { public int Property1; public string Property2; }
0
by: Jhon Smith | last post by:
Hi! I have one WebControl and 2 properties... but aspnet don't save my second property value when I change first property. Thank's!! This is my code: public class myControl:...
5
by: Mark Ingram | last post by:
Hi, ive written a custom control and i would like to display the "invalid property value" dialog box for certain properties on my form if the user enters a value outside the allowed range (in the...
1
by: zerbie45 | last post by:
I don't understand why but If I use vbscript the following code works fine: ....connection string..... dbConn.Open msgbox dbConn.Property but the corresponding code in asp: ...connection...
1
by: CodeRazor | last post by:
In Windows app development, how can you carry a property value from one form to another? In web development, you would use session. I have been trying to use properties. I have a class with a...
0
by: yp.yean | last post by:
Hi, I created a custom control, and encountered a dirty property value persistence problem. I created a property with a custom class type, call SQLSettings which holds the SQL connection...
4
by: shapper | last post by:
Hello, I am creating a class where I have various properties. How to I set a default property value in case the property is not defined by the user. For example, I have the property: '...
8
by: Dean Slindee | last post by:
I have a form whose Property value I need to get at from a class (contained in another project, same solution). Here is the form's property: Private booIsInsert As Boolean = False Public...
1
by: pigeonrandle | last post by:
Hi, I thought i should give a better explanation to my second 'bug' in my previous post (Bugs in VS2003 SP1) because it's taken me ages to figure out what was going on. Basically, one of my...
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: 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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
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...

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.