Web Forms :: Multiple Image File Uploader Based On Dropdown Selection
Sep 13, 2012
i have an asp.net application, i want to incorporate init the functionality of having the user select from a dropdown list a name, select multiple files (images), upload those images to a physical path on a server, save the image paths to a database on the said server.
If the user fails to select a name from the dropdown list then the user would receive an alert message stating that a name must be selected.
In addition once the files have been successfully saved to the server's physical location, then and only then should the path be uploaded to a table in the database.
View 1 Replies
Similar Messages:
Sep 16, 2010
I am a complete newcomer to ASP.NET. However in the few weeks I have been playing with it I have got pretty far and have mastered things like stored procedures, gridviews, formviews and templates.I have a dropdown box which is populated from SQLDataSource1
I have a second dropdown box which is populated from SQLDataSource2, but i need the query feeding this to be dependent on what was selected in the first dropdown box. I assumed it would simply be a case of modifying the select statement on SQLDataSource2 using the SelectedIndexChanged event on the first DropDownList to update the second SQL source, but I cannot work out for the life of me how to do it. Pretty much all of the code I have is ASP.
can i do this purely in ASP rather than using VB behind the scenes or do I need to use VB? I am pretty comfortable with vb.net but one of the other issues I have is referencing an ASP object from VB... so for instance if I had a text box in ASP, how can I read or change the properties of this object from VB?
FYI I am using Visual Studio 2010 and SQL/Server
View 3 Replies
Dec 23, 2010
I need a multiple file uploader dialog,that means I can able to select multiple files at a time in file upload window.How can I achieve this task? I gone through Google and I came to know that we can achieve this using silverlight and flash plugins,but these are not recomandable in my application. Is there any open source(i.e free) ActiveX controls for Multi file Uploader? Is it possible to create own ActiveX control to achieve this task.
View 4 Replies
Nov 24, 2010
I am using Aurigma image uploader for uploading multiple images in asp.net
i am facing a problem in aurigma image uploader when i upload images it will show error
"Thumbnails of size more than 3 MPixels are not supported in standard version of image uploader."
But this is working fine in Mozilla or other browsers. this problem is occured only with (IE6/7/8).
View 1 Replies
Jan 9, 2011
I am new to MVC, I have a form in which selection of one dropdown should reload another dropdown. On selection of the dropdown, I use a jquery post to get the data and my viewstate is reloaded with new data, but I am not sure how to set the newly loaded viewdata to load the dropdown again.
View 5 Replies
Jan 13, 2014
I am trying to display results based on both dropdown list selection.If a user selects Jan from 1st ddl and 2013 from 2ns ddl then results of Jan 2013 will be displayed to the user,everything works fine,I wanted to confirm the query that I have used is correct or not.
Store Procedure
Create proc usp_monthwisedata
@month int,
@year int
[Code].....
My concerns are:
1.Is the way of writing the Sp is correct to achieve the result.
2.Is it correct to set the onselectedindexchanged of both the ddls to 1 method i.e onselectedindexchanged="DropDownList1_SelectedIndexChanged"
3.Over all Performance wise is it correct.
View 1 Replies
Feb 8, 2011
is there any tool that upload multiple files currently i am using jquery i don't want to use jquery because files were going when page reloads.
View 2 Replies
Jan 4, 2011
I have drop down selection box as follow...
1 - Car
2 - Plane
3 - Train.
Now, based on user selection say, 'Car', I want to display Help text associated with selection on page. Help text description - 1000 characters. Now, how do I fetch Help Text Description from? should I store in Session scope or Application Scope or fetch from Database based on drop down selection.
View 2 Replies
Feb 21, 2010
I'm having trouble figuring out how to display a gridview based on the selection of a drop down list. I manually entered the drop down list items, but in the configure/choose data source I don't understand how you make a relationship between each list item and the corresponding database table you want to show.
View 7 Replies
Aug 20, 2010
I have a web page which has a DropDownList & image with links... The issue is when SelectedIndex of DropDownList is changed the image should change according to some condition and also href & link text should change accordingly.. some thing like
say :
I have 3 items in DropDownList : 1> Google 2>Yahoo 3> Orkut
Image1(Google Logo) Visit Google(Text link)
when user selects Yahoo : The Image1 should change( to Yahoo Logo) and Text should change( to Visit Yahoo)
View 5 Replies
Jan 3, 2011
i want to see the sales in the grid view based on the month selected from drop down list. Ex: when I select June 2010 from the ddl box, the sales for that month are correctly displayed in the grid view. I go to page 4 to look at some sales there and then switch the month to August 2010 to see sales for that month instead. Here is the problem. When I switch the month, it show August 2010 sales, but stays in page 4 instead of going back/resetting back to page 1 of August 2010 sales.
How do I reset the grid view page back to the first page of August 2010 sales?
I am fairly new to ASP. If I have missed an imp. detail in this post, let me know and I will get that info. out there.
View 4 Replies
Dec 16, 2011
I recently came across this post:
[URL]
I've been using this setup for a while and it works great, however I'd like to integrate a drag and drop system into this so the user can just drag files into the browser window and have them upload that way.
View 1 Replies
Mar 16, 2011
I am using the cascading dropdownlist controls from the Ajax toolkit. I have everything working perfectly and all of my select changes work. I have 3 related select boxes that all work great for single item select. What I need is for my last dropdownlist to allow for the selection of multiple items. I have tried adding the 'multiple' attribute to the final dropdown list and it allows the selection of multiple items but I cannot get the items when I post back, just a single item.
View 7 Replies
Feb 20, 2011
I am using the following code to bind BusinessID as the DataValueField of the ddlIndustry dropdown. What I want to do is save the selected ID to a different table (Company). I am doing this with ddlIndustry.SelectedValue. For some reason, the first value is always saved (1), and not the selected value.
[code]....
View 1 Replies
May 7, 2015
dropdown list second value not save in sql but images save successfully.
<ajax:ToolkitScriptManager ID="toolkit1" runat="server"></ajax:ToolkitScriptManager>
<asp:DropDownList ID="dalbum" runat="server" ></asp:DropDownList>
<ajax:AjaxFileUpload ID="AjaxFileUpload1" runat="server" AllowedFileTypes="jpg,jpeg,png,gif,bmp,doc,docx" OnUploadComplete="AjaxFileUpload1_UploadComplete1"/>
using System;
using System.Collections.Generic;
using System.Web;
[code]....
View 1 Replies
Jul 27, 2010
i have error in CANCEL button in file uploader.The CANCEL button does't work if i tried to remove(cancel) ADD MORE FILE button.
here is the javascript code:
[code]...
View 1 Replies
Dec 7, 2010
the bestway to handle multiple file uploads without activex,applet or flash. User should have the ability to select multiple files in one browse click.
View 3 Replies
Jan 27, 2011
I want to make a file upload where i can select multiple documents
at a time....is it possible with ASP.net....
that means i want only and only onr file upload control and with this
i can select multiple fils at a time...the present asp.net file upload conrol alloes us to select only single file....How can i use it for multiple selection of file with on file upload control...
View 3 Replies
Oct 14, 2010
I have two dropdown linked with sqldatasources.When I select item in ddl1 then on the basis of selection ddl2 is being loaded.Is there any possiblity that if I select ddl2 then ddl1 will also load on the basis of selection?
View 3 Replies
Mar 29, 2010
I have a View that renders something like this:
"Item 1" and "Item 2" are <tr> elements from a table.
After the user change "Value 1" or "Value 2" I would like to call a Controller and put the result (some HTML snippet) in the div marked as "Result of...".
I have some vague notions of JQuery. I know how to bind to the onchange event of the Select element, and call the $.ajax() function, for example.
But I wonder if this can be achieved in a more efficient way in ASP.NET MVC2.
View 1 Replies
Jun 10, 2010
i am using a file uploader to upload files. Now when i am using this on a mobile emulator with default browser IE it is uploading only those files whose name is less than 6 character. the files with name more than 6 character is not uploading through mobile emulator or mobile phone (PDA). I need this solution very soon.
View 1 Replies
Jan 10, 2010
Is there a way to add a file upload progress bar to the existing .net file uploader? I have an uploader on my site that has all kinds of things tied to it that I can't change to use an AJAX uploader. Or as far as I know I can't. So I was wondering if anyone knew how to add the progress bar to the asp.net uploader.
View 4 Replies
Aug 10, 2010
I'm using a file uploader in my web page to get the path of a .DAT file that the user wishes to upload to a database.Eg: C:\Project1JanWeek1MondayMorning123.DAT There is a text box( which collects the day of the week) adjacent to the file uploader.I need to automatically fill in the text box with the third folder name by parsing it out from the full extention. ( that is the text value in the text box should be Monday)
This needs to be done as soon as the user browsers the file uploader and selects the file. ( There are several more fields the user needs to add before he can submit a button click on this page)
View 3 Replies
May 1, 2010
I m using CuteWebUI.AjaxUploader.dll and i want to upload multiple files in Filesystem like c:foldername at single click.how can i do this.
View 1 Replies
Jan 27, 2010
I h one problem, i need to upload many photo at a time using file uploader control in asp.net, only one photo I m able to upload, but problem is like after selecting course all records are coming, i need to attach one one file uploader (photo) option with all records so that after clicking[after selecting photo] on save button all the records [photos] h to be save in database, can U people plz. tell me what to do , how , for that do I need to make user control.
View 6 Replies