title: Asp.net after logged in load the same page with partial changes
body: <p>I have my login form on my Layout(master page), after the user login, do I have to redirect the user to the new page ? or I can only make some partial changes on my Layout as html css changes,I want to replace the login form with user profile after the user logged in. I know some about partial views but couldn't be sure, Thanks for help.</p>
  
  <p>"If anything is mess I am sorry."</p>
  
  <p>HTML:
          </p>
  
  <pre><code>&lt;div class="sign-in"&gt;
                      &lt;form autocomplete="off"&gt;
                          &lt;fieldset&gt;
                              &lt;input id="username" type="email" name="Email" placeholder="Email Address" required&gt;
                              &lt;hr&gt;
                              &lt;input id="password" type="password" name="Password" placeholder="Password" required&gt;
                              &lt;button type="submit"&gt;Login&lt;/button&gt;
                          &lt;/fieldset&gt;
                      &lt;/form&gt;
                  &lt;/div&gt;
      &lt;div id="container"&gt;
                  &lt;p&gt;
                  &amp;nbsp;&amp;nbsp;&amp;nbsp;Some Data 
                  &lt;/p&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>CSS:</p>
  
  <pre><code>.sign-in{
    float:left;
    width:20%;
    height:auto;
  }
  .sign-in button {
                      width: 100%;
                      height: 3.6vw;
                      box-shadow: 0 2px 2px rgba(0,0,0,0.2);
                      border: 0.3vw solid #dedede;
                      background-color: #262d37;
                      margin-top:2vw;
  
                  }
  #container{
    width:60%;
    height:100px;
    background-color:gray;
    float:right;
    padding:6px;
  }
  #holder{
    width:100%;
    height:auto;
  }
  </code></pre>
  
  <p><a href="https://jsfiddle.net/fcx9g52d/" rel="nofollow">JSFiddle</a></p>