Home                         Purchase                         Download                         Demos                         Support                         FAQ                         Contact                         Consulting


Frequently Asked Questions


  Having a problem? Wish there was a feature for what you want to do? Check here first.


What are the system requirements to run EasyListBox?

I don't have my registered download link anymore, but I want the new version! What do I do?

When I populate ELB with AddItem and then post back, I get a Javascript error about "childNodes[0].Rows". What's that?

When I put EasyListBox in a page and click on it, I just get a Javascript error. What's wrong?

What if I don't want to keep the ELB script files in my website root?

Can I use EasyListBox in a WinForms application?

How do I get the selected value of an EasyListBox instance if I'm not using ViewState?

I'm using EasyListBox for swapper lists; why can't I find the Items collection on postback?

I have some related lists in a User Control/Master Page/other naming container, and they're throwing errors. What's going on?





What are the system requirements to run EasyListBox?

You must have a web server with ASP.NET installed. If you do not have ASP.NET, you can download it here.


Back to top


I don't have my registered download link anymore, but I want the new version! What do I do?

You can request your download link with this form and it will be mailed to you right away.


Back to top


When I populate ELB with AddItem and then post back, I get a Javascript error about "childNodes[0].Rows". What's that?

chances are it's because you're doing your AddItem statements inside an "If Not IsPostBack..." check.
When using AddItem, the items are not stored in ViewState because it doesn't offer any performance gain, so you'll need to remove the IsPostBack check and add the items each time.

The nice part about this is that you can disable ViewState completely and you won't lose your list items OR your selections.


Back to top


When I put EasyListBox in a page and click on it, I just get a Javascript error. What's wrong?

Did you forget to put EasyListBox between a <form runat="server"> and </form> tag? ASP.NET server controls must be contained within a server-side form like this in order to operate.

Another possibility is that the ELBScript.js file is not where ELB expects it to be. Check the script tag in View Source to see if the src attribute is pointing where you expect.


Back to top


What if I don't want to keep the ELB script files in my website root?

Versions 2.4 and up allow you to set a key called "ELBScriptPath" in the web.config file. The path you specify here is relative to the website root (i.e. "/scripts/EasyListBox") so all sub-applications can use the same script path.


Back to top


Can I use EasyListBox in a WinForms application?

Unfortunately, no. EasyListBox is an ASP.NET server control, which means it is executed on the web server and rendered to the browser as HTML.


Back to top


How do I get the (server-side) selected value of an EasyListBox instance if I'm not using ViewState?

As you might expect, it's easy. Just like any other form control, you can call Request.Form("myListBox") and you'll have the selected value, just as you would for an old-style listbox.

However, assuming you haven't set the MaintainState property to False, you can also call myListBox.SelectedValue -- even without ViewState!


Back to top


I'm using EasyListBox for swapper lists; why can't I find the Items collection on postback?

Swapper lists are very different from other kinds of listboxes. When working with these lists, the entire set of values -- as well as their order -- usually needs to be retrieved. With this in mind, EasyListBox provides the AllValues() method, which returns an array of all values present in the list (in the user-defined order) on postback.


Back to top


I have some related lists in a User Control/Master Page/other naming container, and they're throwing errors. What's going on?

If you've specified the ChildList or ParentList with hard-coded value, chances are it's not the right one. When rendering control IDs in the browser, ASP.NET appends the ID of any significant parent controls... so instead of "myDropDown", the ID is rendered as "myUserControl_myDropDown", and so on; this can be mitigated by using the list's ClientID property, like this:

myParentList.ChildList = myChildList.ClientID
myChildList.ParentList = myParentList.ClientID



Back to top


© 2004-2006, EasyListBox.com         Licensing Terms -- text / HTML   Listbox help