This is a migrated thread and some comments may be shown as answers.

Radgrid Add New Record And GridEditCommandColumn not fired when dropdown Bind

1 Answer 85 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Pritam
Top achievements
Rank 1
Pritam asked on 05 Mar 2021, 10:51 AM

i am using Radgrid edit form type=popup in my web application using asp.net c#. i want to bind dropdown list selected value on edit but whenever i bind it in web user control form then add new record and edit button command of my radgrid is not fired. here is my dropdownlist code :-

 <asp:DropDownList ID="ddlTranType" runat="server" Width="200" SelectedValue='<%# DataBinder.Eval(Container, "DataItem.TRAN_TYPE") %>'>
                                    <asp:ListItem Text="Sales" Value="ORD"></asp:ListItem>
                                    <asp:ListItem Text="Purchase" Value="PUR"></asp:ListItem>

</asp:DropDownList >

1 Answer, 1 is accepted

Sort by
0
Doncho
Telerik team
answered on 10 Mar 2021, 12:07 PM

Hi Pritam,

The code snippet seems fine.

To narrow down the issue:

In case this is not helping, we would need to see some more details of the current case in order to help with troubleshooting it. Could you please share the complete declaration of the RadGrid along with the related code-behind logic so we can have a better overview?

Looking forward to hearing from you.

Regards,
Doncho
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
General Discussions
Asked by
Pritam
Top achievements
Rank 1
Answers by
Doncho
Telerik team
Share this question
or