Hi there,
How do I add an item when I'm already on Form.aspx.cs?
cboOriginalBrand.Items.Add("*"); doesn't work anymore.
Thanks for your help .it's very useful for me
Thanks for sharing!
ftp server for windows xp
Hello Andrea ,
I’m just following up to see if you’ve been able to resolve your issue. If you have any questions or concerns or if you need further assistance please let me know.
Best Regards,
Maya Kirova
Developer Support Engineer
Infragistics, Inc.
http://ko.infragistics.com/support
Hello Andrea,
I suggest you debug your code and see which element is null on this line:
string strProductType = cboProductType.CurrentValue.Replace("*", "%");
If cboProductType.CurrentValue returns null, then there’s no value entered for the WebDropDown and the CurrentValue returning null is expected.
In that case you can check if the value is null and it it’s null just set it to an empty string :
string strProductType = "";
if (cboProductType.CurrentValue !=null)
{
strProductType = cboProductType.CurrentValue.Replace("*", "%");
}
Developer Support Engineer II