我支持旧的Web表单aspx应用程序。应用程序应在客户端触发包含模板的电子邮件弹出窗口,以便用户可以添加/编辑信息。我在这里遇到问题,当模板包含超过270个字符时,电子邮件弹出窗口不会出现在IE浏览器中并且它在Chrome中很好。我已经在各种论坛中查看了IE的邮件到正文字符限制,没有我可以看到它限制为270个字符。我在下面粘贴一些代码。任何帮助将不胜感激。
<asp:TemplateField ShowHeader="False">
<ItemTemplate>
<div <%= authUserGroup? "":"style=\"display:none\"" %> <%# string.IsNullOrEmpty(((Petition)Container.DataItem).Session) ? "style=\"background: red;\"" : "" %>>
<a href="PetitionEdit.aspx?PetitionId=<%# Eval("PetitionId") %>&Filter=<%= Filter %>">Edit</a>
<a href="Output.aspx?Type=Petition&PetitionId=<%# Eval("PetitionId") %>&Format=Word">Print</a>
<a href="<%# EmailPetition(CropString(Eval("Member").ToString(),55), "P" + Eval("PetitionId", "{0:000000}"), Eval("Presented", "{0:d}"), CropString(Eval("ShortTitle").ToString(),55)) %>" onclick="return btntest_onclick(<%# Eval("PetitionId").ToString() %>)">Email</a>
<asp:LinkButton ID="LinkButtonDelete" runat="server" CausesValidation="False" CommandName="Delete"
OnClientClick='return confirm("Are you sure you want to delete this entry?");'
Text="Delete" />
</div>
<div <%= authUserGroup? "style=\"display:none\"":null %>>
<a href="PetitionView.aspx?PetitionId=<%# Eval("PetitionId").ToString() %>">View Details</a>
</div>
</ItemTemplate>
</asp:TemplateField>