HI
I have this code in a button in an edit form template
and it doesnt appear to be working as the button doesn't have any text or a command property. Please can you tell me what i'm doing wrong
many thanks
I have this code in a button in an edit form template
<asp:Button ID="btnUpdate" Text='<%# Iif (TypeOf Container is GridEditFormInsertItem, "Insert", "Update") %>' |
runat="server" CommandName='<%# Iif(TypeOf Container is GridEditFormInsertItem, "PerformInsert" , "Update" ) %>'> |
</asp:Button> |
many thanks