title: Changing .cs file code but it is not really changing
body: <p>I am changing code in a .cs file, but in the frontend it is not changing, this .net project is built with the help of Telerik Framework, this is the source code side script, that i am trying to change, but its not changing for me in the frontend.</p>
  
  <p>Contact.aspx</p>
  
  <pre><code>&lt;%@ Page language="c#" Codebehind="Contact.aspx.cs" AutoEventWireup="True"  MasterPageFile="~/DP.Master" Inherits="divorce.Contact" %&gt; &lt;asp:Content ID="Content1" ContentPlaceHolderID="ContentLeft" runat="server"&gt; &lt;h3&gt;Contact Us&lt;/h3&gt;
          &lt;table cellSpacing="8" cellPadding="0" width="730" border="0"&gt;
              &lt;tr&gt;
                  &lt;td vAlign="top" align="left"&gt;
                      &lt;blockquote&gt;
                          &lt;div class="body"&gt;Feel 
                                  free to browse around this site. If you have comments or questions about our 
                                  services, or simply need more information and want to contact us, click on the 
                                  contact button on any page within this site.&lt;br&gt;
                                  &lt;br&gt;
                                  We promptly respond to all inquiries.&lt;/div&gt;
                              &lt;DIV id="lblError" style="DISPLAY: inline; WIDTH: 363px; COLOR: red; FONT-STYLE: italic; FONT-FAMILY: Arial; HEIGHT: 17px"
                                  ms_positioning="FlowLayout" runat="server"&gt;Label&lt;/DIV&gt;
                              &lt;p&gt;&lt;/p&gt;
                                  &lt;table cellSpacing="0" cellPadding="5" width="79%" border="0"&gt;
                                      &lt;tr&gt;
                                          &lt;td vAlign="top" width="25%"&gt;
                                              &lt;div align="right"&gt;&lt;font face="Verdana, Arial, Helvetica, sans-serif" size="1"&gt;Your 
                                                      Name:&lt;/font&gt;&lt;/div&gt;
                                          &lt;/td&gt;
                                          &lt;td width="64%"&gt;
                                              &lt;div align="left"&gt;&lt;input id="contactName" type="text" size="50" name="ContactName" runat="server"&gt;&lt;/div&gt;
                                          &lt;/td&gt;
                                      &lt;/tr&gt;
                                      &lt;tr&gt;
                                          &lt;td vAlign="top" width="25%"&gt;
                                              &lt;div class="style8" align="right"&gt;&lt;font face="Verdana, Arial, Helvetica, sans-serif" size="1"&gt;Your 
                                                      Email Address:&lt;/font&gt;&lt;/div&gt;
                                          &lt;/td&gt;
                                          &lt;td width="64%"&gt;
                                              &lt;div align="left"&gt;&lt;input id="email" type="text" size="50" name="Email" runat="server"&gt;&lt;/div&gt;
                                          &lt;/td&gt;
                                      &lt;/tr&gt;
                                      &lt;tr&gt;
                                          &lt;td vAlign="top" width="25%"&gt;
                                              &lt;div class="style8" align="right"&gt;&lt;font face="Verdana, Arial, Helvetica, sans-serif" size="1"&gt;Comments:&lt;/font&gt;&lt;/div&gt;
                                              &lt;p class="style8" align="left" valign="texttop"&gt;&amp;nbsp;&lt;/p&gt;
                                              &lt;p&gt;&amp;nbsp;&lt;/p&gt;
                                          &lt;/td&gt;
                                          &lt;td width="64%"&gt;
                                              &lt;div align="left"&gt;&lt;textarea id="comments" name="Comments" rows="15" cols="38" runat="server"&gt;&lt;/textarea&gt;&lt;/div&gt;
                                          &lt;/td&gt;
                                      &lt;/tr&gt;
                                      &lt;tr&gt;
                                          &lt;td vAlign="top" colSpan="2"&gt;
                                              &lt;div align="center"&gt;&lt;input id="contactSubmit" type="submit" value="Submit" name="contactSubmit"&gt;&lt;/div&gt;
                                          &lt;/td&gt;
                                      &lt;/tr&gt;
                                  &lt;/table&gt;
                      &lt;/blockquote&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
          &lt;/table&gt; &lt;/asp:Content&gt;
  </code></pre>
  
  <p>Contact.aspx.cs</p>
  
  <pre><code>using Pobk.OpenMail.Message; 
  using System; 
  using System.Collections;
  using System.ComponentModel; 
  using System.Data; 
  using System.Drawing;
  using System.Web; 
  using System.Web.Mail; 
  using System.Web.SessionState; 
  using System.Web.UI; 
  using System.Web.UI.WebControls; 
  using System.Web.UI.HtmlControls;
  
  namespace divorce 
  {
      public partial class Contact : System.Web.UI.Page
      {
  
          protected void Page_Load(object sender, System.EventArgs e)
          {
              this.lblError.Visible = false;
  
              if (this.IsPostBack == true)
              {
  
                  if (this.contactName.Value.Trim().Length == 0 ||
                      this.email.Value.Trim().Length == 0 ||
                      this.comments.Value.Trim().Length == 0)
                  {
                      lblError.InnerText = "Please fill out all three fields - your name, email address, and message.";
                      lblError.Visible = true;
                  }
                  else if (IsValidEmail(this.email.Value) == false)
                  {
                      lblError.InnerText = "Please enter a valid email address.  Example: MyName@MyServiceProvider.com.";
                      lblError.Visible = true;
                  }
                  else
                  {
                      MailMessage msg = new MailMessage();
                      msg.From = "andrew@divorcepacket.com";
                      msg.To = "andrew@divorcepacket.com";
                      msg.Subject = "DivorcePacket Contract Form";
                      msg.Body = this.email.Value + " " + this.comments.Value;
                      msg.BodyFormat = MailFormat.Text;
  
                      try
                      {
                          SmtpMail.SmtpServer = @"relay-hosting.secureserver.net";
                          SmtpMail.Send(msg);
                          this.Response.Redirect("messagesent.aspx?s=y", false);
                      }
                      catch (Exception ex)
                      {
                          this.Response.Redirect("messagesent.aspx?s=n", false);
                      }
  
                  }
  
              }
  
          }
  
          private bool IsValidEmail(string strEmail)
          {
  
              try
              {
                  return (new EmailAddress(strEmail)).IsValid;
              }
              catch (Exception ex)
              {
                  return true;
              }
  
          }
  
          #region Web Form Designer generated code
          override protected void OnInit(EventArgs e)
          {
              //
              // CODEGEN: This call is required by the ASP.NET Web Form Designer.
              //
              InitializeComponent();
              base.OnInit(e);
          }
  
          /// &lt;summary&gt;
          /// Required method for Designer support - do not modify
          /// the contents of this method with the code editor.
          /// &lt;/summary&gt;
          private void InitializeComponent()
          {
  
          }
          #endregion
      }
  
  }
  </code></pre>
  
  <p>Can anyone help me on this?</p>
  
  <p>What the problem coming is, when i am trying to change the .cs file, it is not changing things on my aspx file, for example if i m trying to change the the code this.Response.Redirect("messagesent.aspx?s=n", false); to this.Response.Redirect("messagesent234343.aspx?s=n", false); it is not changing after form submission the form is going to the same old place i.e. messagesent.aspx?s=n and not to messagesent234343.aspx?s=n in short: i am doing the changes, but its not changing in the aspx file –</p>