fileupload ctrl
-
hi... im trying to get data from database.. using sessions retrieved data to text box and dropdownlist in following way... how can i get path of fileupload control into textbox of file upload ctrl. help me...
DropDownList1.SelectedValue = Session["website"].ToString();
TextBox8.Text = Session["link"].ToString(); -
hi... im trying to get data from database.. using sessions retrieved data to text box and dropdownlist in following way... how can i get path of fileupload control into textbox of file upload ctrl. help me...
DropDownList1.SelectedValue = Session["website"].ToString();
TextBox8.Text = Session["link"].ToString();madhukk wrote:
how can i get path of fileupload control into textbox of file upload ctrl.
It's not possible. All of this looks very dodgy to me ( do your controls really have such pathetic names ? ), but either way, you can't set the text of a file upload control on the server, nor can you set it in javascript. This is for obvious reasons, if you could, you could hide one, send it with a web page, put the name of a windows config file, for example, in there, and it would upload without the user ever knowing.
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
-
madhukk wrote:
how can i get path of fileupload control into textbox of file upload ctrl.
It's not possible. All of this looks very dodgy to me ( do your controls really have such pathetic names ? ), but either way, you can't set the text of a file upload control on the server, nor can you set it in javascript. This is for obvious reasons, if you could, you could hide one, send it with a web page, put the name of a windows config file, for example, in there, and it would upload without the user ever knowing.
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
This is not possible, because so security reasons of web servers
-
This is not possible, because so security reasons of web servers
Why did you answer to MY answer, and just restate what I had said ?
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.