hi,
I have created a UserControl to display the data using RadListView. I am loading this user Control dynamically in a webpage.
List is displayed properly and all the data is shown correctly. When user clicks on the edit link, it is able to go into edit mode. But when user clicks on the update button, it doesn't fire the Item Command event handler. It just closes the edit view and nothing is saved. When the control is loaded dynamically, should I have to register the event handlers again? In my case the Edit item template is a custom layout and button is inside the layout. Can you help to solve this issue?
<EditItemTemplate> <table cellspacing="0" cellpadding="0" style="width: 100%" border="0"> <tr> <td colspan="2" align="right"> <asp:LinkButton ID="UpdatePropertiesButton" runat="server" Text="Update" CommandName="Update" ></asp:LinkButton> <asp:LinkButton ID="BtnCancel" runat="server" Text="Cancel" CommandName="Cancel" CausesValidation="False"></asp:LinkButton> </td> </tr>
</table></EditItemTemplate>