UNABLE TO IMPLEMENT THE SERVER.TRANSFER

Rajesh Goswami

Total Post:29

Points:203
Posted by  Rajesh Goswami
 1469  View(s)
Ratings:
Rate this:
please give the example of this problem
thanks
  1. Amit Singh

    Post:103

    Points:721
    Re: Unable to implement the Server.Transfer

    Server.Transfer is used as response.redirect but it give the better and fast result as redirect.
    we use server.transfer in our application as
    step 1:
    we take one textbox and one button on home page and write the code on button click as
    Server.Transfer("Default.aspx");
    step 2;
    we get the value of textbox of home page by
    write this code on default.aspx
     Page page1 = this.PreviousPage;
            TextBox t = (TextBox)page1.FindControl("TextBox1");
            Response.Write(t.Text);

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!