More in this section
Forums / General Discussions / Redirection to another page from a custom widget

Redirection to another page from a custom widget

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
1 posts, 0 answered
  1. Vanessa
    Vanessa avatar
    0 posts
    Registered:
    21 Jun 2017
    18 Jul 2017
    Link to this post

    I have a custom widget that has an ajax post. This accesses a method in a controller which has the following code:

     

     [HttpPost]
            public void CompareTariffs(string selection)
            {
                Response.Redirect("~/Default.aspx");
            }

     

    However the page just refreshes and remains on the same page, it does not redirect to the other page. Would anyone know why this is happening?

1 posts, 0 answered