Hello,
I have two FormViews that I am using. One is used just to show some data,
so it is always in ItemTemplate view. The second FormView is used as an
approval section for the first FormView. In the first FormView I am showing
the name wrapped in a html email tag coming from SQL Server. The problem
that I am having is that when I click the "update" or "cancel" link in the
second FormView, I get the "potentially dangerous" error statement. My
question is there a way to wrap the email link so that I don't get this
error and am able to use the email link?
--
Thanks in advance,
sck10
From SQL Server
-------------------
'<a href="mailto:' + Email + '">' + FirstName + ' ' + LastName + '</a>' +
' ' AS 'strNameTel'
<ItemTemplate>
<tr>
<asp:Label ID="lblNameEmailItem" Text='<%# Eval("strNameTel") %>'
runat="server" /></td>
</tr>
Error Statement
----------------
A potentially dangerous Request.Form value was detected from the client
(ctl00$cphMainContent$hdnSubmitter="<a href="mailto:sck10...").