Hi
Like a "good" infragistics user I am trying to uset he new controlset since Infraqistics is abandoning us loyal users who have invested a tremendous amount of money in the "classic" control set that works.
I am jusst trying to add or remove items on the client side (we use a javascript wcf service to get data)
this works fine in the "classic" controls. How do I do this in the new improved webdropdown?
Gary
Hello GaryPlease check our sample browser where there are lots of samples with our controls describing different situations. For your question I would recommend you to view the following sample (code and design are free to customers):http://samples.infragistics.com/aspnet/Samples/WebDropDown/EditingAndSelection/ClientEvents/Default.aspx?cn=drop-down&sid=4a840952-2e28-4251-91a7-ea31cb23256bPlease also have a look at this forum post where s similar question is asked:http://forums.infragistics.com/forums/p/27710/172611.aspx#172611
Please let me know if you have more questions about this issue.
Ok. I created a small test program using the webdropdown and an html button.
using the 2 methods below. The result is the 4 items get added - somewhat- I cannot select items B or C. Onlhy A and B are highlighted as i move the mouse over. So I would say that no YOUR WEBDROPDOWN just like your WEBDATAGRID are not yet ready to replace yoru classic controls.
Unless there is something I am missing please respond!
Button1_onclick() {
addItem(
"AAA", "1");
addItem("BBB", "2");
"CCC", "3");
"DDD", "4");
}
addItem(sText, sValue) {
item.set_text(sText);
item.set_value(sValue);
combo.get_items().add(item);
Sorry I do not see how to just add rows that I get from a wcf as I can do now in the flawed "classic" controls. Please show me a simple javascript call to add a row multiple times on the client side without posting back. It's a very simple request and something the the "classic" controls do very well. Am I asking too much? Since your help does not show this?