Click here to Skip to main content
15,881,687 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionMicrosoft.AspNet.FriendlyUrls Pin
Member 110895115-Jul-17 22:37
Member 110895115-Jul-17 22:37 
AnswerRe: Microsoft.AspNet.FriendlyUrls Pin
Richard Deeming6-Jul-17 1:38
mveRichard Deeming6-Jul-17 1:38 
QuestionHow to associate a role with action from my custom UI Pin
Mou_kol4-Jul-17 4:04
Mou_kol4-Jul-17 4:04 
AnswerRe: How to associate a role with action from my custom UI Pin
F-ES Sitecore4-Jul-17 4:17
professionalF-ES Sitecore4-Jul-17 4:17 
QuestionLDAP Group List for Windows User Pin
Dirk Bahle3-Jul-17 9:56
Dirk Bahle3-Jul-17 9:56 
AnswerRe: LDAP Group List for Windows User Pin
F-ES Sitecore3-Jul-17 23:15
professionalF-ES Sitecore3-Jul-17 23:15 
QuestionGet the query string with parameteres ( parameter value can be change) Pin
Member 44632353-Jul-17 1:35
Member 44632353-Jul-17 1:35 
AnswerRe: Get the query string with parameteres ( parameter value can be change) Pin
Richard Deeming3-Jul-17 1:51
mveRichard Deeming3-Jul-17 1:51 
Use the @Url.Action[^] method.

Using a hyperlink:
HTML
<a href="@Url.Action("ProjectScorecardByFilter", "Reports", new { id = 3 })">Link</a>


Using a form:
HTML
<form method="get" action="@Url.Action("ProjectScorecardByFilter", "Reports")">
    <input type="hidden" name="id" value="3" />
    <button type="submit">Button...</button>
</form>


Using jQuery:
HTML
<button data-link="@Url.Action("ProjectScorecardByFilter", "Reports", new { id = 3 })">JS Button...</button>

<script>
$(function(){
    $(document).on("click", "button[data-link]", function(){
        var href = this.getAttribute("data-link");
        location.assign(href);
    });
});
</script>




"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


QuestionMVC Application RoleManager issue after being deployed in Azure Pin
Farhad Eft29-Jun-17 4:54
Farhad Eft29-Jun-17 4:54 
AnswerRe: MVC Application RoleManager issue after being deployed in Azure Pin
F-ES Sitecore29-Jun-17 23:41
professionalF-ES Sitecore29-Jun-17 23:41 
Suggestionproject definition Pin
Member 1327996126-Jun-17 17:59
Member 1327996126-Jun-17 17:59 
GeneralRe: project definition Pin
Richard MacCutchan26-Jun-17 20:56
mveRichard MacCutchan26-Jun-17 20:56 
AnswerRe: project definition Pin
ZurdoDev27-Jun-17 9:54
professionalZurdoDev27-Jun-17 9:54 
QuestionHow to navigate from one page to another in ASP.Net MVC and Web Api application Pin
indian14323-Jun-17 12:41
indian14323-Jun-17 12:41 
AnswerRe: How to navigate from one page to another in ASP.Net MVC and Web Api application Pin
F-ES Sitecore25-Jun-17 23:01
professionalF-ES Sitecore25-Jun-17 23:01 
GeneralRe: How to navigate from one page to another in ASP.Net MVC and Web Api application Pin
indian14326-Jun-17 8:28
indian14326-Jun-17 8:28 
GeneralRe: How to navigate from one page to another in ASP.Net MVC and Web Api application Pin
jkirkerx26-Jun-17 13:26
professionaljkirkerx26-Jun-17 13:26 
GeneralRe: How to navigate from one page to another in ASP.Net MVC and Web Api application Pin
F-ES Sitecore26-Jun-17 22:53
professionalF-ES Sitecore26-Jun-17 22:53 
GeneralRe: How to navigate from one page to another in ASP.Net MVC and Web Api application Pin
indian14327-Jun-17 7:17
indian14327-Jun-17 7:17 
GeneralRe: How to navigate from one page to another in ASP.Net MVC and Web Api application Pin
Richard Deeming27-Jun-17 9:31
mveRichard Deeming27-Jun-17 9:31 
GeneralRe: How to navigate from one page to another in ASP.Net MVC and Web Api application Pin
indian14327-Jun-17 11:55
indian14327-Jun-17 11:55 
GeneralRe: How to navigate from one page to another in ASP.Net MVC and Web Api application Pin
F-ES Sitecore27-Jun-17 22:31
professionalF-ES Sitecore27-Jun-17 22:31 
GeneralRe: How to navigate from one page to another in ASP.Net MVC and Web Api application Pin
indian14328-Jun-17 6:40
indian14328-Jun-17 6:40 
GeneralRe: How to navigate from one page to another in ASP.Net MVC and Web Api application Pin
F-ES Sitecore28-Jun-17 22:22
professionalF-ES Sitecore28-Jun-17 22:22 
GeneralRe: How to navigate from one page to another in ASP.Net MVC and Web Api application Pin
indian14328-Jun-17 6:44
indian14328-Jun-17 6:44 

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.