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

Free Support Forum - aspose.com

Dropdownlist values are gone in Grid.Web

Hi,

I am trying to create several dropdownlists dynamically in Grid.Web component. It worked well when I used default control without modifying web.config with:





Now I can see dropdownlist in a cell but values are gone (list is empty).

Here is

element of the dropdownlist:

<td id=“AttributesGridWeb_3#7” class=“AttributesGridWeb_19” align=“right” vtype=“dlist” listmenu=“menu0”></td>

And here is html definition of the dropdownlist:

<XML id=“AttributesGridWeb_XML3”><LISTMENUS><MENU ID=‘menu0’ VALUE=’&lt;MENU&gt;&lt;ITEM TEXT="" /&gt;&lt;ITEM TEXT=“Sayı limiti” /&gt;&lt;ITEM TEXT=“Vaka Başına” /&gt;&lt;ITEM TEXT=“Yıllık” /&gt;&lt;/MENU&gt;’></MENU></LISTMENUS></XML>

Any ideas why it doesn’t work? I didn’t change any of the scripts in the acw_client folder.

Thanks

Hi,

Do you use/add DropDownList validation to GridWeb cells. How do you add elements to DropDownList (validation), you should add elements in the source .cs/vb file on server side using Aspose.Cells.GridWeb APIs.

Please see the featured demos for your reference:

If you still find the issue, could you create a sample project, zip it and post it here to show the issue on our end. We will check it soon.

Thank you.