Images should move automatically from a folder using c# ......that means only one image will be there while seeing after every 2 sec the image should change how to do i tried but not getting.............plz help
View Complete Post
I am Unable to load current sub site's images from Sitecollectionimages folder
I have used the same master page all through the site for testing, I have used
I have resources Site, it works fine, Now I create a HR site under resources and Benefits sites under HR Site, I apply the same master page, my banner and footer images is not rendering, can someone please provide me a hint on how to point to the sitecollectionimages
folder, is ../../ rightway to point to the folder or can i register a root and use that the pointing to the right folder.
I have a publishing site, It is on an vm, I am the admin for the site
I need to copy a folder from a file share to my local C: drive. Is there an easy way to do this in SSIS, or do I have to write a DOS batch file and execute it from SSIS.
Any help would be appreciated
I am using grid view and on grid delete image click i remove product but i also want to remove image phisically from the folder.
i have deleted logically but i need code to delete from folder ?
Hi, I want to upload
images in to a folder in my project and save the URL in the database.
When you add a record
into my database you provide title, date added and some other details
and there it a file upload control which you browser to a image and
it saves the image to a folder in my project, it all works, the
record is added and the image is uploaded into the folder, but the
problem I have is that there is no link from the record to the image,
there is no URL path saved in the record. How do I save the image in
the folder and save the URL of the image to the record?
I'm using details
view to insert the records and using grid view to view the records.
I am new to xml , i doing that images are save in a folder on upload , the path of the image file is save in xml file .
how i can add path in xml file dynamically. When uploading image dynamically created a folder to it and images are save in that folder.
Please guide me , give an idea .
I would like to create a content organizer rule to route documents from the drop off library to their final location in the document library.
I also want to create a subdirectory based off a metadata field, so that a folder gets created for each year.
There is a metadata field called "Document Classification Year".
I check the chebox to "Automatically create a folder for each unique value of a property" and choose "Document Classification Year" as the field.
For "Specify the format for the folder name:" %2
I was hoping this would create a folder called "2010" if the meta data field "Document Classification Year" was entered as "2010".
But it creates TWO folders. The first folder it calls "Document Classification Year", the SECOND folder it calls "2010".
I don't need a folder called "Document Classification Year"! Just the folder "2010".
Can this be achieved without the content organizer??
Hi every one ... How are you ??
OK ... I want to make album ... I try to make it using buttons( next & pre ) using imageButton control and variable (i)
So ... each next (++i) & pre ( --i) to show allimages in directory ("photo")
Here my code in C# ::
public partial class photos : System.Web.UI.Page
// LinkedList<string> names = admin.getNames();
static int i = -1;
static int l = 0;
protected void Page_Load(object sender, EventArgs e)
dir = new DirectoryInfo(MapPath("photo"));
files = dir.GetFiles();
//l = (int)names.LongCount();
l = files.Length;
if (l == 0)
Label2.Text = "No Photo to Display !!";
Image2.ImageUrl = "images/ith.png";
I've set in the web.config:
<!-- User Authentication -->
<forms loginUrl="~/Page/View/Content/Login.aspx" timeout="2880" requireSSL="true" />
This works fine. If there is no ssl connection, the login form doesn't continue. But I would like to check if ssl is active (in codebehind) and, if it's possible, to automatically the user to the https page if he's currently on http. (I could do this job by manually redirect with page.response("https://url.../login.aspx"); but this is not really generic. For example if the webapp is moved to another domain it doesn't work anymore... I'm looking for something like: FormsAuthentication.RedirectWithSSL(); or so... :D)