More in this section
Forums / Developing with Sitefinity / Response.Redirect Problem

Response.Redirect Problem

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.
4 posts, 0 answered
  1. vijay
    vijay avatar
    3 posts
    21 May 2008
    22 May 2008
    Link to this post


    I am facing a problem of using Response.Redirect in sitefinity. I want to redirect form one page to another on button click But It is not working..

    protected void Button2_Click(object sender, EventArgs e)




    Please help me

    Send email : .


    Vijay Sharma

  2. Pepi
    Pepi avatar
    981 posts
    31 Jan 2017
    22 May 2008
    Link to this post
    Hi vijay,

    Unfortunately, we cannot reproduce any problems with Response.Redirect method in Sitefinity. So, please check the following:
    1. If the URL for the target location is correct.
    2. If the button is registered for the event handler.

    Here is an example if the target page is in the main root of the Sitemap:

    <asp:Button ID="Button1" runat="server" Text="Click me!" OnClick="Button1_Click" /> 

    protected void Button1_Click(object sender, EventArgs e) 

    If this does not help, provide us with more detailed information for the steps to reproduce this issue. It will be very helpful if you send us the control that implements redirecting functionality to debug it locally.

    Do let us know how it goes.

    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Jeremy Summers
    Jeremy Summers avatar
    2 posts
    21 Sep 2009
    13 Mar 2010
    Link to this post
    I realize this is really old but if the author was trying to use the code listed, the code is using I realize this is really old but if the author was trying to use the code listed, the code is using Response.Write rather than Response.Redirect.

  4. Scott Rozman
    Scott Rozman avatar
    93 posts
    10 Oct 2012
    11 Nov 2011
    Link to this post
    Also, I just discovered that if you are doing this in VB.NET the button does not need to have OnClick in order to work.
    I used VB for the original MasterPage on my site, but now that is moving into Sitefinity, I decided to stick to C#.... could not figure out why my button was not working!
Register for webinar
4 posts, 0 answered