HI,
i want to call fileupload browse window as i check on checkbox how should i do that please help me ...
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Dipankar BiswasPosted Feb 18, 2015, 8:34 AM
Try it...
cs..
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
CheckBox1.Attributes.Add("onclick", "document.getElementById('" + FileUpload1.ClientID + "').click();");
if (FileUpload1.HasFile)
TextBox1.Text = FileUpload1.FileName;
}
}
aspx...
Result..
.................................................................
Thanks & Regards ,Dipankar Biswas
anusha reddyPosted Feb 24, 2015, 3:57 AM
thanks a ton its working
Dipankar BiswasPosted Feb 19, 2015, 4:40 AM
i don't knw,why u r using 10 ckbox..??
please ck my video or atth file.. for Upload multiple files....
https://www.youtube.com/channel/UCVmP2ZiGYCJT1cuFSiF8dNQ
Thanks & Regards ,Dipankar Biswas
anusha reddyPosted Feb 18, 2015, 11:49 PM
As iam using 10 checkbox with each fileupload as i check on one check box the fileupload is being done by the code which you give but the problem is if i check the second check box the path in the first fileupload is being cleared please help me out in this issue
anusha reddyPosted Feb 18, 2015, 11:25 PM
Thanks alot its working.....
Regards
Anusha Reddy
anusha reddyPosted Feb 18, 2015, 1:23 AM
I already tried it its not working
Dipankar BiswasPosted Feb 18, 2015, 12:45 AM
you can try it...
Thanks & Regards ,Dipankar Biswas