Forms Data Controls :: How To Upload Pictures In Main Website Directory
Feb 3, 2011
i will upload my pictures in image folder located in admin folder ,but because admin folder will be visible only to site administrator ,so web site visitors cant see these pictures in each page that are inserted.
i do save pictures in a editor :my code is:
[Code]....
how can i upload my pictures in any folder in main directory not in admin folder?
how can i get path of a folder in main website directory for save image in it?
View 4 Replies
Similar Messages:
Jun 10, 2010
Can anybody give me a technique on how I can develop the system:
If the user is the ADMIN, he/she can upload pictures.
if the user is USER only, viewing is only allowed.
Note: What specific control can I use for viewing images wherein there is also page index
View 2 Replies
May 8, 2013
i have a file upload control to upload picture.i want the user can only upload picture not any other file . when i used file upload control ,user can insert word file also,this should not be done. user can only insert pictures,otherwise message should be appear
View 1 Replies
Dec 13, 2010
Ok, so here was my first question: How do I allow visitors on my site to share my photos on their facebook news feed?
After implementing it I realized what I really want is to upload the image as a photo to their photo album.
How would I got about getting an image on my site, to upload to their photo album, when they click on a facebook icon next to the image?
View 2 Replies
Oct 27, 2010
I have a gridview which is pulling data from sql server2005. Now i have five pdf or jpg files in a folder in my website directory. There urls are stored in sql table like this
myfileuploads/Picture5.jpg
Now i have an itemtemplate in templatefield in gridview
I want that the above url should be displayed in itemtemplate and whenevr user click on this link, related file should be open
View 2 Replies
Jan 7, 2011
I want to put my website project and admin website under same project as I want to use session and authentication of the main site. Also I want to show the admin, the page, where he has made changes. But the problem is whenever I will change anything in admin pages, I've to build the entire website. I don't want to do that. Can I build that separately?
I don't want to choose the option of building all pages separately as well.
Is there any alternatives of doing that. Separate projects for admin and website will come up with many other challenges. So I would like to avoid that.
View 2 Replies
Jul 22, 2010
I am trying to implement a "send newsletter" process that works like this: -
1. The author develops a newsletter using Word.
2. When they are ready to distribute it, they save it as HTML, and upload this to the web site. It is then viewable with the appropriate URL.
3. They then distribute it with a web process that uses SendMail.
I have two problems: -
1. When you "Save as web page (*.htm, *.html)" from Word, the document is saved as .htm, and if there are any graphics within the document they are saved in a separate "*_files" folder. How do I upload this folder to the web site?
During testing I'm fudging this by uploading the folder with FTP, but of course this is not a viable solution for users.
2. I can send the email using alternate views, but the htmlview lacks the graphics. My logic reads the uploaded .htm document into a string variable called "HtmlBody", and then
code]....
This all works perfectly except that the email arrives just a graphic symbol and blank space where the graphic should be. How do I either send the graphics with the email, or (better) send it with references to the graphics back on the web page. The html
that I am sending out contains references to the graphics like <v:imagedata src="./FamNet%201%20July%202010_files/image001.jpg" o:title="NZSGFamNet"/>, which is looking in a subfolder from the folder containing the html. I suppose that if I could solve the first problem I could replace the "./" in the image reference to [URL]. This would not be too difficult, as I could recognize "FamNet%201%20July%202010" as the newsletter name and so look for the string"./" & NewsletterName & "_files". However somebody might be able to suggest a more elegant solution, provided that I can solve the first problem.
View 5 Replies
Feb 3, 2012
I'm trying to embed pictures, videos etc on my website. I've seen jquery oembed but it seems i need a key to get it to work. How I can implement it.
View 4 Replies
Apr 9, 2010
I recently made an application which displays pictures into a gridview in a very easy and quick way.I have now a problem. I would like to bind the pictures the user sees to the membership schema so that each authenticated user can see his/her own pictures only.I will post some code that can be helpful to somebody who is trying to display pics in a gridview and that,Database:
Trip_Id= int
TripLocation = nvarchar(50)
ImageData = varbinary(Max)
[code]...
View 7 Replies
May 7, 2015
I want to display images from outside the domain url. How to achieve this.For Example my domain is www.test.co.in
My folder structure is
--Documents/Images (that has images)
---test(root folder that has project files)
View 1 Replies
Nov 23, 2010
I've been using an asp 3.0 widget for this purpose , but it been broken for a while and rather than get it back up, I'd love o get a native asp.net solution, can any one point me in the right direction pleaseI once wrote some asp.net code to do this, but the permissions on the server, which I found to be common every where prevented asp.net native picture upload, perhaps i got it wrong, well now I wanna fix itI need the code to work in a shared hosting IIS 7 environment. I use vb.net, but can usually convert c# to vb.net
View 1 Replies
Apr 21, 2010
I currently have a dedicated server running a number of sites, one of these sites I would like to add a subfolder to which runs a seperate index.html file, so effectively it looks like a different site.
I am struggling to acheive this, can anybody give me the steps involved to make this happen?
To clarify, i have a web address for example www.mydomain.com and would like users to browse to www.mydomain.com/subfolder and open up a sub folder.
View 1 Replies
Jan 26, 2011
I have a .net website that I've built but here's the catch - when it's deployed I don't know whether it will be deployed to the root of the site or to a sub folder of a larger site (and it needs to be able to move around between places)
And - here's the important bit - we will have zero access to IIS on the live server so this just has to run straight away.
So far I've managed to find work arounds for things like paths to resources but I now need to use a 3rd party component (.dll).
Normally this would go in the bin folder and, if I run my site in the root of the website it works fine but, as soon as we move the site to a sub folder, the reference to the 3rd party component wont work.
Now - I know normally you'd suggest creating a virtual directory under IIS but remember - I HAVE NO ACCESS TO IIS.
So - is there a way to still use 3rd party components in my project and have my project all run in a sub folder of a website?
And no - I can't move just the bin folder to the root of the site - it all has to sit within its own folder.
View 2 Replies
Aug 23, 2010
I have 2 buttons on a page. 1 does some calculations once data is entered the other, which is at the top clears the page and opens a new one to enter an estimate number and once that is done it opens the calculation page where the 2 buttons are. What is now happening is once the user enters a percent value to do the calculation they just press enter, instead of tab, and it activates the new estimate number button instead of calcualte button. All works in the correct tab order but the default button seems to be the New Estimate button instead of the Calcualte button. any way to change that?
View 1 Replies
Feb 13, 2010
As virutal directory points to physical path of the application, so if the IIS root directory is C:inetpubwwwroot and the application is stored at D:websites, than we need to create a virtual directory but if the application content is placed at C:inetpubwwwroot, then why still need to create virtual directory.
View 3 Replies
Dec 3, 2010
I have a simple online store where there are products that can be put into a cart and purchased. There is a admin page that can be logged into so that new products can be added or existing products can be removed or edited. To get to the admin area I need to put a /admin/index after the main page loads up. If I want to give my friends (from any location) the ability to add new products should I create a link to the admin area on the main page (like at the bottom) of the main page or should I just tell them to type in /admin/index after they go to the webpage?
View 3 Replies
Sep 27, 2010
I am using asp.net Menu control with sitemap datasource. There is one Web.sitemap in the folder where links are saved in such a manner
<siteMapNode url="~/MainMenu.aspx" title="Software Development Solutions" description="Software Development Solutions" >
<siteMapNode url="~/submenu.aspx" title="CRM Software Application Development" description="CRM Software Application Development" />
<siteMapNode url="~/submenu.aspx" title="CRM Software Application Development" description="CRM Software Application Development" />
<siteMapNode url="~/submenu.aspx" title="CRM Software Application Development" description="CRM Software Application Development" />
<siteMapNode/>
View 2 Replies
May 9, 2010
well i have a main page in which i have a grid with templete (textbox "maintxt"and a button)and a pop up in which i have a textbox"popuptxt" i want when ever i click the button of every row i can see the maintxt text in popuptxt i can edit it in popup and then by closing popup the text of maintxt update
View 1 Replies
Nov 30, 2010
i have made website on my local computer by Sql data source, so if i will upload that website then it will b work or not?
View 1 Replies
Jan 20, 2011
I have a asp.net website in the IIS which is available on internet as www.xyz.com now I have been asked to prepare another website which will be accessed via www.xyz.com/abc.
For this, do I need to create a virtual directory under the website folder XYZ in IIS? or is there any other way to achieve this.
View 2 Replies
Jan 2, 2010
"A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance nameis correct and that SQL Server
is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) "This error display in myI do all type of changes in my sql server, which i find in google, but now my site can't display proper.
View 3 Replies
Oct 6, 2010
upload files to my website, but I won't to save it to the same folder where my website is on any given server. I also want to read these files with code.How do I get the directory of the local folder in which my website files are?
View 1 Replies
Dec 16, 2010
I'm running IIS 6 with ASP.NET 2.0.I enabled windows authentication for a folder in a website and gave permissions to a user. When I navigate to the page, the passowrd prompt pops up as expected and when entered correctly, the page loads. The page contains a file upload control. When I try to upload a file, the password prompt keeps popping up. ultimately it ends up as a 401 error. The user account does have write permissions to the floder, so I'm not understanding why I can get to the page with the credentials, but can't upload anything to that folder.
View 3 Replies
Mar 11, 2011
I have a web server with a web application and a website both on it (2 seperate entities within IIS7.0). The web application needs to be able to upload files to a virtual directory created within the same web server and the website needs to be able to view that virtual directory to be able to allow for downloading of those files.
This sounds really easy, but I cannot figure out how to do the upload and the download.
Example:
Virtual directory = own folder file structure (does not fall within either website/webapp structure)
Website - standard user for outside users.
Webapp - authentication requierd and only used by inside users.
Webapp users upload files to virtual directory Website users download files from virtual directory (i.e. open files)
View 1 Replies
May 18, 2010
I have done a small active directory application and it is working fine in my testing environment. However, When I put it on the production server, it is throwing following erroMain Error: Logon failure: unknown user name or bad password.Stack Trace :[DirectoryServicesCOMException (0x8007052e): Logon failure: unknown user name or bad password.
]
System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) +636
System.DirectoryServices.DirectoryEntry.Bind() +36
System.DirectoryServices.DirectoryEntry.get_AdsObject() +31
[code]...
View 1 Replies