We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

CreateValidation Question (GridWeb)

I have a question regarding the implementation of validation with the grid web. Basically I’d like to create a dropdown list which displays text, but be able to store an accessible ID as well. So the user sees ‘Location1’ and from that I can access ID01 – much like how the standard dropdown control works?<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Currently using this:

cell.CreateValidation(Aspose.Cells.GridWeb.ValidationType.DropDownList, true);

cell.Validation.ValueList.Add("Location1");

Any suggestions

<o:p></o:p>

Hi,


I am afraid, currently Aspose.Cells.GridWeb does not support creating controls (e.g DropDown List / ComboBox etc.). It does support Data Validation (“DropDownList”) that works similar way as per MS Excel’s List Data Validation which does not work like common Drop Down List or Combobox control.

Thank you.