Hi Syncfusion support
I have the issues regarding the dropdown. My problem is
a. when i'm using this belows code
<ej-drop-down-list id="GenderList" datasource="ViewBag.datasourceGender" value="10">
<e-drop-down-list-fields text="GenderName" value="GenderId" />
</ej-drop-down-list>
i able to set dropdown based on the value (image a)
but
when i'm using this code whisch viewbag.genderid has been set in controller, nothing happen (image b)
<ej-drop-down-list id="GenderList" datasource="ViewBag.datasourceGender" value="viewbag.genderid">
<e-drop-down-list-fields text="GenderName" value="GenderId" />
</ej-drop-down-list>
can you advice on this matters, thanks for the support
Attachment:
syncfusion_support_f67f774c.rar