Click here to Skip to main content
15,887,083 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Data type mismatch in expression critria Pin
Richard MacCutchan30-Jul-13 20:54
mveRichard MacCutchan30-Jul-13 20:54 
GeneralRe: Data type mismatch in expression critria Pin
Bernhard Hiller30-Jul-13 22:41
Bernhard Hiller30-Jul-13 22:41 
GeneralRe: Data type mismatch in expression critria Pin
abdulkodir3-Sep-13 7:59
abdulkodir3-Sep-13 7:59 
GeneralRe: Data type mismatch in expression critria Pin
Bernhard Hiller3-Sep-13 21:27
Bernhard Hiller3-Sep-13 21:27 
GeneralRe: Data type mismatch in expression critria Pin
abdulkodir4-Sep-13 7:21
abdulkodir4-Sep-13 7:21 
QuestionRegarding the zipping of files in c# Pin
Member 1017526426-Jul-13 20:44
Member 1017526426-Jul-13 20:44 
AnswerRe: Regarding the zipping of files in c# Pin
Richard MacCutchan26-Jul-13 22:16
mveRichard MacCutchan26-Jul-13 22:16 
QuestionMVC ASP.NET AJAX ACTION LINK CREATE Pin
f1sher25-Jul-13 22:39
f1sher25-Jul-13 22:39 
Hello could anybody Help me about passing the value of a textbox from form using Ajax Actionlink. It's been whole day  figuring out still I'm getting value of null.

Im using pure Ajax Action link with out Any button.

here is the sample of delete ajax action link works perfect!
http://www.joe-stevens.com/2010/02/16/creating-a-delete-link-with-mvc-using-post-to-avoid-security-issues/

But using it in form collection the value always null. Any help Appreciated Thanks!

here is my code:



 CustomerVIEW

<% using (Html.BeginForm())
   { %>
   
    <%= Html.TextBoxFor(model => model.Fname, new {  id = "Fname" })%>
    <%= Html.TextBoxFor(model => model.Lname, new {    id = "Lname"})%>
	
	
	 <%= Ajax.ActionLink("Create", "Create", 
                        new { id = 1}, 
                        new AjaxOptions { 
                                HttpMethod="POST",
                                OnFailure = "function() { alert('fail'); }",
                                OnSuccess = "function() { alert('success'); }" 
                            })%> 
							
	}
------------------------------------------------------------------------	
 CustomerController
 
  [AcceptVerbs(HttpVerbs.Post)]
        public ActionResult Create(FormCollection formCollection)
        {

            clsCustomer objcustomer = new clsCustomer();
            clsSession objSession = new clsSession();


            objcustomer.Fname = formCollection["Fname"];  --> NULL 
            objcustomer.Lname = formCollection["Lname"]; --> NULL
			
			}

SuggestionRe: MVC ASP.NET AJAX ACTION LINK CREATE Pin
Richard MacCutchan26-Jul-13 6:40
mveRichard MacCutchan26-Jul-13 6:40 
QuestionCan i watch events like renaming in my Webdav drive(Virtual drive) in C#.net Pin
Anish K S24-Jul-13 20:37
Anish K S24-Jul-13 20:37 
AnswerRe: Can i watch events like renaming in my Webdav drive(Virtual drive) in C#.net Pin
Dave Kreskowiak25-Jul-13 1:21
mveDave Kreskowiak25-Jul-13 1:21 
QuestionAdd user credentials to access server drive path from winforms in app.config vb.net Pin
hueikar21-Jul-13 16:26
hueikar21-Jul-13 16:26 
AnswerRe: Add user credentials to access server drive path from winforms in app.config vb.net Pin
Dave Kreskowiak22-Jul-13 1:49
mveDave Kreskowiak22-Jul-13 1:49 
AnswerRe: Add user credentials to access server drive path from winforms in app.config vb.net Pin
Eddy Vluggen22-Jul-13 3:17
professionalEddy Vluggen22-Jul-13 3:17 
QuestionStandalone .NET framework exe Pin
LostTime7720-Jul-13 6:26
LostTime7720-Jul-13 6:26 
AnswerRe: Standalone .NET framework exe Pin
Dave Kreskowiak20-Jul-13 7:26
mveDave Kreskowiak20-Jul-13 7:26 
GeneralRe: Standalone .NET framework exe Pin
LostTime7620-Jul-13 8:01
LostTime7620-Jul-13 8:01 
GeneralRe: Standalone .NET framework exe Pin
LostTime7620-Jul-13 8:22
LostTime7620-Jul-13 8:22 
GeneralRe: Standalone .NET framework exe Pin
Dave Kreskowiak20-Jul-13 9:48
mveDave Kreskowiak20-Jul-13 9:48 
GeneralRe: Standalone .NET framework exe Pin
LostTime7620-Jul-13 10:26
LostTime7620-Jul-13 10:26 
GeneralRe: Standalone .NET framework exe Pin
Dave Kreskowiak20-Jul-13 10:36
mveDave Kreskowiak20-Jul-13 10:36 
GeneralRe: Standalone .NET framework exe Pin
LostTime7620-Jul-13 11:33
LostTime7620-Jul-13 11:33 
GeneralRe: Standalone .NET framework exe Pin
Dave Kreskowiak21-Jul-13 3:24
mveDave Kreskowiak21-Jul-13 3:24 
GeneralRe: Standalone .NET framework exe Pin
LostTime7621-Jul-13 5:33
LostTime7621-Jul-13 5:33 
GeneralRe: Standalone .NET framework exe Pin
Dave Kreskowiak21-Jul-13 6:03
mveDave Kreskowiak21-Jul-13 6:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.