Nevermind, I figured the solution out. =) System.Web.Entity ain't required after all.. I was doing things incorrectly. Its either <asp:Button> or <input type="button">.. no such thing as <asp:HtmlInputButton>.. apply the same thing to hidden field here.
On 3 April 2011 15:17, Ishbir Singh <ish...@gmail.com> wrote: > Hey there, > > I'm new to Mono and am learning ASP.NET from the book "Beginning ASP.NET 4 > with C# 2010". I'm facing a major problem. Whenever I try to embed some > server control, such as <asp:HtmlInputHidden>, basically any control > starting from <asp:Html, I get an exception in the web app saying- > > *Could not load file or assembly 'System.Web.Entity, Version=4.0.0.0, > Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its > dependencies. The system cannot find the file specified.* > > Also, the MonoDevelop spits out this error- > > * Parser failed with error The tag type 'asp:HtmlInputHidden' has not been > registered. CodeBehind members for this file will not be added.* > > However, when I try other controls, like <asp:Button>, <asp:Calender> etc., > it works fine and displays the required output. What could be the reason > for this error? > -- > Ishbir Singh > -- -- Ishbir Singh
_______________________________________________ Mono-aspnet-list mailing list Mono-aspnet-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-aspnet-list