Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 18, 2012 08:41 PM by ignatandrei
0 Points
28 Posts
Jan 09, 2008 07:59 AM|LINK
Hi all,
I have just downloaded the latest version of both System.Web.Extensions and the MVCToolKit.
I was trying to create a form using the construct below:
<%
<!---- HTML -->
<%}%>
But I the most of infamous of errors
Object Reference not set to an instance of an object.
I am creating the following Submit button like this:
And that is fine.
Can anyone see what the problem is?
Cheers
Paul
All-Star
134511 Points
21576 Posts
Moderator
MVP
Nov 18, 2012 08:41 PM|LINK
dagda2 But I the most of infamous of errors Object Reference not set to an instance of an object.
Which line?
dagda2
0 Points
28 Posts
Html.Form problems
Jan 09, 2008 07:59 AM|LINK
Hi all,
I have just downloaded the latest version of both System.Web.Extensions and the MVCToolKit.
I was trying to create a form using the construct below:
<%
using (Html.Form<LogInController>(action => action.LogIn())){ %><!---- HTML -->
<%}%>
But I the most of infamous of errors
Object Reference not set to an instance of an object.
I am creating the following Submit button like this:
<%
= Html.SubmitButton("logInButton", "LOGIN", new { _class = "button btn_med" })%>And that is fine.
Can anyone see what the problem is?
Cheers
Paul
ignatandrei
All-Star
134511 Points
21576 Posts
Moderator
MVP
Re: Html.Form problems
Nov 18, 2012 08:41 PM|LINK
Which line?