Groups | Blog | Home
all groups > asp.net building controls > june 2006 >

asp.net building controls : custom control in repeater


dave
6/29/2006 9:19:01 AM
I have a custom control which consists of dropdownlist and textbox called
ct1. The problem is that when i set a property of the dropdown list in the
itemdatabound event of the repeater it uses that property value for all ct1
controls in the repeater.

How can i have each control store/maintain it's own properties?

dave
6/29/2006 10:12:01 AM
I believe i solved the problem. I was storing the value of the property in
viewstate without a unique name for that control so all other controls were
using the same value.

thx


[quoted text, click to view]
Teemu Keiski
6/29/2006 7:32:30 PM
Hi,

how is the control implemented? Post some relevant code (also about the
usage).

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke




[quoted text, click to view]

AddThis Social Bookmark Button