How can I pass a Textboxes value to my Ajax.ActionLink?

后端 未结 4 757
感情败类
感情败类 2021-01-18 12:21

In my ASP.NET MVC application I want a user to add a value into a textbox and then press my Ajax.ActionLink. I want to do something like this:

Ajax.ActionLink(\"Go\

4条回答
  •  后悔当初
    2021-01-18 12:54

    Thanks a lot Alexander! Thank you for putting me on the right path. I did not try you latest code, but I was able to get your previous code working. Here is the working code. I'm sure this is all kludgy, but perhaps someone out there can show me a more elegant solution:

                
    
                Report Dupe
    
            

    not done

    My solution as you can see is just to hard code the LINK instead of trying to use the ASP.NET AJAX helper class.

提交回复
热议问题