Custom control properties resetting after refresh

Get help on web editors (Frontpage, Dreamweaver) and web languages (HTML, ASP, PHP).
Post Reply
endev8003
Registered User
Posts: 382
Joined: 02 May 2005, 02:00
Location: Bryanston
Contact:

Custom control properties resetting after refresh

Post by endev8003 »

I have a custom control (.ascx) imbedded in a webpage. The control has 3 dropdown. The third dropdown is populated according to the selected values of the first two.

Each dropdown sets a public property on the control when the value changes.

When I select the first control, it sets the linked property. Then I select the second dropdown. The second property is set correctly, but the first property resets to the default value. The selected item in the dropdowns doesn't change when the page refreshes.

I'm also getting default values when reading the controls properties from the webpage.

Does anyone know what is happening and how to prevent it?
Three Sheets Dutong: That stuff tastes like vomit baked in a glaze of goat hair and garnished with a sprinkling of horse dung.
Post Reply