Last post Nov 08, 2017 07:39 AM by Deepak Panchal
Nov 07, 2017 07:17 AM|bilal0040|LINK
protected void LoadRecords()
List<PO.viewSO_Result> viewpolist = objDb.viewSO().ToList();
CustomerRepeater.DataSource = viewpolist;
<asp:Repeater ID="CustomerRepeater" runat="server" >
<tr class="odd gradeX" >
<td><%# Eval("Supplier_order_id_pk") %></td>
<asp:DropDownList runat="server" ID="dropdown1">
<asp:ListItem Text='<%# Eval("Supplier_order_id_pk") %>' Value='<%# Eval("Supplier_order_id_pk") %>'>
my dropdown not working or fetch value please help me its urgent..
it gives this error
Databinding expressions are only supported on objects that have a DataBinding event. System.Web.UI.WebControls.ListItem does not have a DataBinding event
Nov 07, 2017 01:36 PM|pramodsul|LINK
Bind ddl on databound method
Nov 08, 2017 07:39 AM|Deepak Panchal|LINK
I can see that you had created a duplicate thread on a Stack Overflow forum.
C# - Dropdown in repeater not working
where you had mentioned that the solution provided by the community member worked for you and your issue is solved now.
I suggest you to post that code on this thread and mark it as an answer.
it will help other community members in future and it will help us to close this thread.
Thanks for your understanding.