Hi there,
How do I add an item when I'm already on Form.aspx.cs?
cboOriginalBrand.Items.Add("*"); doesn't work anymore.
Hello Andrea ,
Thank you for posting in our forum.
Do you mean when the page is already loaded in the browser?
If so you can add it on the client side using java script:
http://ko.infragistics.com/community/forums/p/78574/398781.aspx#398781
Let me know if you perhaps meant something different.
Best Regards,
Maya Kirova
Developer Support Engineer II
Infragistics, Inc.
http://ko.infragistics.com/support
Thank you or the clarification.
The WebDropDown’s Items Add() method accepts objects of type DropDownItem. So you would need to create a new DropDownItem with some text and add it to the Items collection. For example:
WebDropDown1.Items.Add(new DropDownItem() { Text = "Some Text" });
Let me know if you have any questions.
Thanks for your help .it's very useful for me