JapyPayloarry
New Member
I'm trying to get this working but no success:\[code\]<asp:Repeater ID="Repeater1" runat="server" OnItemCommand="btnDeleteFamily_Click"> <HeaderTemplate> <table> <tr> <th width="90" valign="top"><%=getTag("name")%></th> </tr> </HeaderTemplate> <ItemTemplate> <tr> <td><%#Eval("chrname")%></td> <asp:LinkButton ID="btnDeleteFamily" CssClass="fRight ui-icon ui-icon-trash" runat="server" CommandName="delete" CommandArgument='<%#Eval("idmember")%>' OnClientClick='return confirm("<%= getTag("deletefamilymemberdialog") %>")' Text="" ValidationGroup="delete_family" /> </td> </tr> </ItemTemplate> <FooterTemplate> </table> </FooterTemplate></asp:Repeater>\[/code\]When clicking on the btnDeleteFamily OnClientClick the confirm dialog is not shown.getTag (method in the code behind) is used for localization to get the text depending on the language. My intention is to show that message in the JavaScript dialog, but I'm getting:\[code\]<a href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$rptFamily$ctl01$btnDeleteFamily','')" class="fRight ui-icon ui-icon-trash" id="ctl00_ContentPlaceHolder1_rptFamily_ctl01_btnDeleteFamily" onclick='return confirm("<%= getTag("deletefamilymemberdialog") %>");'/>\[/code\]So it's not processing getTag in the server side otherwise I would be getting \[code\]onclick='return confirm("Are you sure that you want to delete this entry?");'\[/code\]Thanks