User Defined ListBox Control

This Server Behavior Builder Control places a blank listbox in the generated server behavior.  You can then edit the server behavior HTML file by hand to add your own options to the listbox.

Overview

The generated HTML file can generally be found in

$UDInstall/configuration/serverbehaviors/[ServerModelName]

And as always with things such as these, if you replace the html file with the SBB wizard, your options will be lost...

Requirements

Type: Utility
Product: UltraDev 4

Joel Martinez

Joel MartinezJoel Martinez is one of the founding partners of <a href="www.communitymx.com">Community MX</a>. He is comfortable working with ASP.NET, Coldfusion, Javascript, XML, SQL, and several other technologies. He authored "ASP.NET Development with Dreamweaver MX: Visual QuickPro Guide" for Peachpit press and has contributed to several other publications.

You can find him slacking on on his <a href="http://www.codecube.net">blog</a> when he's not at work in the IS department of Electronic Arts Tiburon.

See All Postings From Joel Martinez >>

Reviews

Starnge Problem

December 26, 2001 by greg reimche

I went into the newly created file in the extensions folder and added

<OPTION SELECTED>Right</OPTION>
    <OPTION>Left</OPTION>

to my userdefined listbox but when i try to use the server behaviour i get undefined written to the page when itinserts my code for that behaviour...

 

any ideas why ?

RE: Starnge Problem

December 26, 2001 by Joel Martinez

aha... its probably because you did not include the value parameter... it will probaly work then... so they should look like this:

<OPTION value="Right">SELECTED>Right</OPTION>
    <OPTION value="left">Left</OPTION>

I guess I can make it take the value of the text if the value is undefined... maybe for version 2 ;)

RE: RE: Starnge Problem

December 26, 2001 by greg reimche

Doh !!!!

now

Any examples of this

February 7, 2002 by kenny darcy
Any examples of this to be seen.
See all 5 Reviews

You must me logged in to write a review.