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:
.ascx
| <asp:Button ID="Button1" runat="server" Text="Click me!" OnClick="Button1_Click" /> |
.ascx.cs
| protected void Button1_Click(object sender, EventArgs e) |
| { |
| Response.Redirect("~/test1.aspx"); |
| } |
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.
Regards,
Pepi
the Telerik team