Ask a Question related to ASP.NET Building Controls, Design and Development.
-
Johno #1
Readonly listbox
I'm developing a set of WebControls that can be toggled between Readwrite and
Readonly modes. They are each inherited from their standard webcontrol but
implement an IReadOnly interface and override the Render method to render the
control as readonly. So for exemple, I'm rendering checkboxes as themselves
in read/write mode and as an <IMG src="checkbox.gif"/> in read-only mode. All
works fine but I'm stuck on the ListBox control. My approach to this has been
to render the readonly ListBox as a fixed-height and width <UL> containing
<LI>s with the selected list items displayed with the highlight color. But
here's the issue: how do I determine the height and width of the <UL> for
rendering? I could rely on the control user to explicitly set the height and
width properties of the Readwrite/ReadOnly ListBox descendent but that
solution is far from satisfactory.
Any ideas on how I can get around this problem?
TIA
Johno
Johno Guest
-
Collection Readonly
I have a Web service with a serializable collection class. My test app can read the collection without any problems. The problem I'm having is... -
listbox to populate a listbox
I am trying to use a listbox that I have setup using flash remoting call to a db. What I want to happen is when you click on a item in first the... -
click listbox and refresh another listbox
Can someone guide me to a resource on building set of drill-down listboxes? Basically I want to have 4 listboxes. The first starts out with... -
Item label displays as "," when moving from listbox to listbox
I have 2 listboxes: "lb_unselected" and "lb_selected". The first thing in the actions is loop through an array populating these two listboxes. ... -
now desparate! - 1st listbox contents disappears when 2nd listbox appears?
On 23 Jun 2003 12:57:45 -0700, KathyBurke40@attbi.com (KathyB) wrote: Its been a while since you posted but I will answer anyway. The problem...



Reply With Quote

