I am working on asp.net 3.5 in C#. In my application I have to Create folder and upload file in that folder, which works fine on my machine. I want help for create folder and upload file in that folder on other machine which is connected in LAN. code for create folder and Upload file on my machine
I have an iframe in one of my aspx files which is located in folder1.
I have a line of code in my page iframe1.Attributes.Add("src","filename.aspx");
The filename.aspx file is in folder2, so the above line throws an error..... The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.Requested URL: /folder1/filename.aspxso, its basically looking for the filename.aspx only in folder1, how can I make it point to the other folder. I tried iframe1.Attributes.Add("src","folder2/filename.aspx"), but its of no use.
i have a menu which is collapses as a default. This is done by following query.
[Code]....
Now, the problem is, whenever i click on any menu item by expanding the menu, the item page opens but the menu collapses again. I want to let the menu remain as expanded although a menu item is clicked. i.e. menu shouldn't refresh when a menu item is clicked.
Every time I create a new aspx page and add some new photos and text, after I finish, I have to update page title, Web.sitemap, Sitemap.xml to feed search engines, static sitemap.aspx page, add photos to proper folders, update database to display feeds etc, and I have to remember to upload all new files including links to any new pdfs....This routine eats my time and drives me crazy.
I was wondering if there is such interface, where you need to create only 1 aspx page, for example "Articles" which can populate Texts, photos etc into pre-defined sections, but at the same time it displays with different URL's, so there is a permanent link to it. After you finish it creates a title automatically, based on article title, populates Web.sitemap - does all the dirty work. Similar to how blog engines, Joomla and Drupal work.
I have hosted a site on server. Problem is, content of a particular .aspx file (index.aspx/content.aspx) is periodically replaced by clinet side HTML code(the source we see in browser by right click>view source). What can be reason behind this?
i have a few doubts about the below file directory concept, for creating file directory. How can i create folder using file directory the code i have done but am getting the error, I want to create folder like below,
mchpopagesTermsclientname --->clientname folder which is come from my class file
I want to use authntication which apparently only work on folders. Thus, I wanted to move the Default.asp file into a new folder that I created. When I tried doing this by cut and paste I ran into problems. I changed the reference in the first line of the aspx file "Page" but the code behind VB file no longer sees the aspx page. In other words, the reference to contorls like Listbox1 show up being undeclared.
Is there a way to move the Default file and the related code behind file to a folder so everything works?
I have requirement to copy or move file from webserver app folder to local file system folder (user selected). How is it possible in ASP.Net.
On my page i have textbox and browse button and user clicks browse button to select folder and there is Copy/Move button and when clicked the files under webserver folder should be move to the user selected folder. The webserver folder path is available to application.
I have a subdomain mobile.JassimRahma.com and that's referring of course to a folder on my root called mobile.I just created a simple, very simple Default.aspx file and placed in the mobile folder but I am getting thie error:
However, it fails on this Server.Transfer line after inserting runat="server"
in the DataMatch.aspx file to the Table element like so:
<table width="50%" id="tMain" runat="server">
But after making this a server control, I rebuilt it and now when I run this app it gives me exception:
Error executing child request for DataMatch.aspx
But I need this table to be a server control so I can make it invisible programmatically if a certain condition occurs. How else can I programmatically make this table invisible?
I want to create two partial classes for the single aspx file. I am using vs2005 dotnet 2.0. i could not able to access method from one partial class in another partial classes.
Partial class 1 : my main aspx page public partial class _Default : System.Web.UI.Page {[code]...
i could not able to access meth method in partial class 2
I have created a web application. I have a page "Default.aspx" and some other page say"test.aspx". In test.aspx, I am setting some values in a collection object and then setting this object in session. I am not getting but somehow during execution of test.aspx, the default.aspx gets called where the session containing object gets reset. Its very important for me to know whey this default.aspx gets called even I am not making any call to it. I have other pages also like a.aspx,b.aspx, c.aspx, d.aspx and many more. All other pages work fine.
I have one big panel called Panel1. Withine Panel1 I have Panel2 and Panel3. WHen I drag the panels into Panel1, Panel2 is on top of Panel3. How can I get them side by side?..
another is how can i create a windows form in .aspx file... with using ajax control or coollet..
I would like ask you for some ideas how can I write mechanism that will be automatically read files from folder. I don't know how to schedule the write task. I want to check for new file everyday and if the new file is in the folder read it.
Users turn on their computers and XP boots up.I have an ASP.Net website.Is there a way such as a login script that runs that will run the default.aspx inmy ASP.Net website so that the first thing that the user sees after XP boots up is the default.aspx web page in my ASP.Net website?
is it possible to automatically populate a file upload control's file for automated testing and server stress. I have one upload control (that simply brings up the browse and selects the file) and a button that uploads the selected fileupload control's file. Is it possible to give the file upload control a file pather "C:myImage.jpg" and submit the file by pressing the upload butto:
I have written a PageAdapter that handles viewstate persistence in a SQL server. This page adapter was created in it's own project so that i can reuse the DLL on other projects.
I have another project that is acting as my test web application. I added an entry the configuration file for the new database connection string. I also had to create a browser file in the app_browser folder. I will tell you upfront that I am not familiar with the app_browser and browser files at all. So this is probably a setup issue.
I have this solution working properly on development. I then tried to deploy my project using a web deployment project to compile the application, and then manually move the output to the test server. On the test server, it acts like it is not reading the app_browser folder. My code never gets executed. I started up a remote debugging session and my code never fired. All of the necessary files are there.
The server is windows server 2003 standard edition with SP 2. It is 32-bit. It is running IIS 6.0. We have all of the .Net frameworks installed. IIS is currently configured to run framework 4.0. My code is using 2.0.
I am not finding a whole lot of information online about it, but I know I can't be the first to have this issue. Please someone help me out here.
I want to create and write file in "C:windowssystem32" this path.some computer give the error access denied.i want some code in C# who give the permission to folder.
I just started learning WCSF,but I encounterd a problem on the menu which the application automatically generated. But I don't know how to reorder the menu.