I'm using the FormTemplate example of the PopUp editform demo here, and I have to internationalize the text.
It's all ok, except for the declaration of the Update/Insert button which is:
The problem is: how to localize the "Insert" and "Update" text? I was thinking of using an explicit expression like so:
But I don't see how to combine that with the "IIf (TypeOf ..." part.
Can anyone help plz?
Thanks, Steve
It's all ok, except for the declaration of the Update/Insert button which is:
<asp:Button ID="EditFormUpdateButton" runat="server" |
Text='<%# Iif (TypeOf Container is GridEditFormInsertItem, "Insert", "Update") %>' |
CommandName='<%# Iif (TypeOf Container is GridEditFormInsertItem, "PerformInsert", "Update") %>' |
meta:resourcekey="EditFormUpdateButtonResource1"> |
</asp:Button> |
The problem is: how to localize the "Insert" and "Update" text? I was thinking of using an explicit expression like so:
<%$ Resources:LabelResource1.Text %> |
But I don't see how to combine that with the "IIf (TypeOf ..." part.
Can anyone help plz?
Thanks, Steve