textbox1.text="string" ; // doesnt work in managePost() procedure

May 20, 2009 at 6:29 PM

i use this code in my project but the following code doesnot work

plz help me

 protected void Page_Load(object sender, EventArgs e)

    {

        if (!this.Page.IsPostBack)

            if (FileUploaderAJAX1.IsPosting)

                this.managePost();

    }

    private void managePost()

    {

        string FileName="myfile.gif";

        FileUploaderAJAX1.SaveAs("~/UploadedFiles/", FileName);

        TextBox1.text = "this string doesnt send in my textbox";   //the string doesnot send to textbox

    }