Last post Feb 22, 2008 09:03 AM by Charles Asbornsen
Feb 11, 2008 02:33 PM|Aaron Edwards|LINK
This article from msdn outlines what appears to be a simple way to exend the DropdownList control so that we can finally set its border
The trouble is it doesn't seem to work. I think we're supposed to create a separate assembly for the class. Can someone else please try it out and either confirm or deny my hunch? Thanks.
Oh, and if we do need to create an assembly, a link or instructions on how to do that would be appreciated. Thanks.
Feb 11, 2008 04:13 PM|Charles Asbornsen|LINK
I assume you have VS 2008 and .Net 3.5? It says that the border color and width inherit from System.Web.UI.WebControls, not dropdownlist.
Hmm, looks like you are right...
Feb 11, 2008 04:22 PM|Charles Asbornsen|LINK
Is this it?
Feb 11, 2008 07:05 PM|Aaron Edwards|LINK
Well according to the article's Version Information, it works in all versions of the .NET framework, 1.0 to 3.5.
That does look like it might do the trick. I'll give it a try and see if it works. Thanks.
Feb 11, 2008 11:03 PM|Charles Asbornsen|LINK
Yeah, well when I actually processed what I was reading I realized you were right. But that link I posted tells you how to create the control library. That sounds like something I'll be able to get around to doing after then next BAT, then the next PDR,
IPR, man it seems like now that I'm lead I'm more of a random acronym generator than a developer. [:D]
Feb 20, 2008 01:04 PM|Aaron Edwards|LINK
this is a slightly off topic question, but...
At the aforementioned link,
do you know how they achieve the left-panel with the topics, that the user can re-size? Thanks.
Feb 21, 2008 01:07 PM|Aaron Edwards|LINK
Thanks. That did in fact do the trick to allow me to compile the control. The control doesn't work, however, at least not with .NET 2.0. Changing the BorderColor property has no effect.
Feb 22, 2008 09:03 AM|Charles Asbornsen|LINK
Hmm. Regarding the resizable pane, I found this when I viewed the source:
</div><div class="splitter" title="Click and drag to resize. Double click or press 't' to toggle visibility." style="left:192px;" id="ctl00_rs1_raSplitter" onmousedown="ra_resizeStart(event,this,'ctl00_rs1_raLeft')" onmouseup="ra_resizeStop()" onmouseover="HighlightSplitterBar(this.id,0);"
onmouseout="HighlightSplitterBar(this.id,1);" ondblclick="ra_OpenCollapse('ctl00_rs1_raSplitter','ctl00_rs1_raLeft')"></div><div id="ctl00_rs1_raRight" class="rightSection" onkeyup=" ra_keyPress(window.event, "ctl00_rs1_raSplitter","ctl00_rs1_raLeft")">