I'm in the process of upgrading some controls that use 2007 Q3 to prometheus. As far as I know they worked perfectly with the Q3 but I'm having some strange issues with prometheus.
objective: a combobox which allows you to find stuff on a web 2.0 way: typ something in it > items get requested. use the dropdown button > first x items get requested.
So I have this defined in code
_elocation is a servercontrol which contains a dropdownlist.
the events are mapped to a custom function.
Now the problem:
1. First load of the page:
- click on the button = dropdown opens but no items request, no trace of any event, no postback
- click on the v below = items get requested - postback
2. second load (after the previous postback)
- click on the button=postback, items get requested - works as expected
I think that a click on the button used to cause a "itemsrequested" event.
Is their a way to achieve this with prometheus - without javascript ? It's nice that this is optional so we can now use the combobox as an autosuggestion textbox :)
tx in advance
objective: a combobox which allows you to find stuff on a web 2.0 way: typ something in it > items get requested. use the dropdown button > first x items get requested.
So I have this defined in code
| _eLocation.MyDropDownList.MarkFirstMatch = True | |
| _eLocation.AutoPostBack = True | |
| _eLocation.MyDropDownList.AllowCustomText = True | |
| _eLocation.MyDropDownList.ShowMoreResultsBox = True | |
| _eLocation.MyDropDownList.ItemRequestTimeout = 500 | |
| _eLocation.MyDropDownList.EnableLoadOnDemand = True | |
| AddHandler _eLocation.SelectedIndexChanged, AddressOf NewLocationSelected | |
| AddHandler _eLocation.ItemsRequested, AddressOf ItemsRequested | |
| AddHandler _eLocation.TextChanged, AddressOf TextChanged |
_elocation is a servercontrol which contains a dropdownlist.
the events are mapped to a custom function.
Now the problem:
1. First load of the page:
- click on the button = dropdown opens but no items request, no trace of any event, no postback
- click on the v below = items get requested - postback
2. second load (after the previous postback)
- click on the button=postback, items get requested - works as expected
I think that a click on the button used to cause a "itemsrequested" event.
Is their a way to achieve this with prometheus - without javascript ? It's nice that this is optional so we can now use the combobox as an autosuggestion textbox :)
tx in advance