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

.NET (Core and Framework)

 
AnswerRe: Using WebCAM via Browser in asp.net Pin
Musakkhir10-Aug-13 20:50
professionalMusakkhir10-Aug-13 20:50 
AnswerRe: Using WebCAM via Browser in asp.net Pin
SaqibRasheed25-Aug-13 11:44
SaqibRasheed25-Aug-13 11:44 
AnswerRe: Using WebCAM via Browser in asp.net Pin
Dusara Maulik31-Aug-13 23:19
Dusara Maulik31-Aug-13 23:19 
QuestionTraining Advice for EF 5 Pin
Brady Kelly2-Aug-13 22:36
Brady Kelly2-Aug-13 22:36 
AnswerRe: Training Advice for EF 5 Pin
Gerry Schmitz7-Aug-13 18:31
mveGerry Schmitz7-Aug-13 18:31 
QuestionSession State using database for ASP.NET and WCF Pin
Desmond Lim30-Jul-13 22:26
Desmond Lim30-Jul-13 22:26 
AnswerRe: Session State using database for ASP.NET and WCF Pin
Richard MacCutchan30-Jul-13 23:29
mveRichard MacCutchan30-Jul-13 23:29 
AnswerRe: Session State using database for ASP.NET and WCF Pin
keyur satyadev29-Aug-13 2:42
keyur satyadev29-Aug-13 2:42 
GeneralData type mismatch in expression critria Pin
abdulkodir29-Jul-13 20:16
abdulkodir29-Jul-13 20:16 
GeneralRe: Data type mismatch in expression critria Pin
Richard MacCutchan29-Jul-13 20:52
mveRichard MacCutchan29-Jul-13 20:52 
GeneralRe: Data type mismatch in expression critria Pin
abdulkodir30-Jul-13 18:03
abdulkodir30-Jul-13 18:03 
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 

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.