Last post Nov 01, 2006 05:08 AM by Joannes Vermorel
Oct 30, 2006 05:14 AM|Joannes Vermorel|LINK
I am using the ELMAH framework for error logging, and this framework comes with a custom HttpHandler. I am referring to this HttpHandler with an <asp:Hyperlink/> and since there is no "real" corresponding ASPX page, I do get a warning from VS2005 (basically
wrong NavigateUrl value).
Does anyone knows how can I get rid of this warning?
Thanks in advance,
Oct 30, 2006 09:48 AM|joeaudette|LINK
I think one way to fix it is to just leave it blank in markup and set it in code behind.
Nov 01, 2006 05:08 AM|Joannes Vermorel|LINK
I think such solution is even worse because it makes the ASPX much harder to proof-reader and quite conter-intuitive given the separation content/context (i.e ASPX vs code-behind).
I have posted a suggestion on MSDN Feedback on this issue.