Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:651526
More Search Options
RSS Available
Matching Posts
Re: Downloading files problem
The folder is outside the webserver. Thanks for your answer, but I unfortunately I do not understand why your example is better.
Posted to
Security
(Forum)
by
sixtus
on 7/23/2009
Download documents from webserver
Hi - I need some help. I have upgrated my server, webserver, ... to windows 2008, IIS 7.0 and ASP.NET 3.5. That gives me some problems. I have a page where people can upload and download documents. Upload works fine but download doesn't work. The documents is downloaded by using a hyperlink with link download.aspx?file=test.txt where test.txt is the document, that is placed in a folder on the web-server. The importent code in download.aspx is: Dim filename As String = Path.GetFileName(filepath
Posted to
Getting Started
(Forum)
by
sixtus
on 7/23/2009
Downloading files problem
I have just switched to ASP.NET 3.5, IIS 7.0 and Windows 2008. On my website users can upload files and then later download these files. This worked fine before upgrading. But now the download of files doesn't work. To download files I activate a link like download.aspx?file=test.txt, where test.txt is the file to be downloaded. This file is placed in a folder on the webserver. The (importent part af the) code in download.aspx is: Dim filepath As String = Server.MapPath(Request("file"
Posted to
Security
(Forum)
by
sixtus
on 7/19/2009
Problem with extra empty lines
Hi I have an asp.net page using updatepanels. The structure is like this: X <asp:UpdatePanel ID="Upd1" runat="server" UpdateMode=conditional><ContentTemplate> <asp:PlaceHolder ID="Plc1" runat="server" Visible=false>Here is some text</asp:PlaceHolder> </ContentTemplate> </asp:UpdatePanel> X <asp:UpdatePanel ID="Upd2" runat="server" UpdateMode=conditional><ContentTemplate> <asp:PlaceHolder
Posted to
ASP.NET AJAX UI
(Forum)
by
sixtus
on 2/7/2009
Re: errormassage without EnableEventValidation
Thanks - that is probably the best way to solve the problem.
Posted to
Web Forms
(Forum)
by
sixtus
on 7/28/2008
Re: Scrollbar on a panel
Thanks - now the page works as I want it to.
Posted to
Data Presentation Controls
(Forum)
by
sixtus
on 7/28/2008
Re: Scrollbar on a panel
I am now a little closer to a solution. I changed the script to: < script type ="text/javascript"> function Scrolldown() { var panel1 = $get( '<%= Panel1.ClientID %>' ); if (panel1 !== null ) panel1.scrollTop = panel1.scrollHeight; } </ script > And the button-code to: < asp : Button ID ="btnsave" runat ="server" Text ="Send" OnClientClick ="Scrolldown();" /> when I click the button, the scrollbar jumps to the button
Posted to
Data Presentation Controls
(Forum)
by
sixtus
on 7/27/2008
Re: Scrollbar on a panel
1) That I don't understand 2) I am sure, that if you update the code you wrote earlier, then I would be able to include it in my asp-page. The page I have i rather complex with a lot of other things. 3) The header of my first question was "Scrollbar on a panel". As I think my additional questions is connected to that header I haven't marked this question as answered. And because I thought that people didn't want to read an answered question. Maybe I have misunderstood that.
Posted to
Data Presentation Controls
(Forum)
by
sixtus
on 7/27/2008
Re: errormassage without EnableEventValidation
I know, but then I accept html-code. I want to write an errormessage if the user writes html-tags in the textbox. Can't I catch the error in a try ... catch ...section ?
Posted to
Web Forms
(Forum)
by
sixtus
on 7/27/2008
Re: Scrollbar on a panel
I have one additional questions: Now the scrollbar jumps to the end every time the page is (re)loaded. Is it possible that the scrollbar just jumps to the bottom when button1 is clicked and NOT when button2 i clicked ? thanks
Posted to
Data Presentation Controls
(Forum)
by
sixtus
on 7/26/2008
Page 1 of 19 (190 items) 1
2
3
4
5
Next >
...
Last »
ASP.NET:
Tip#100: Did you know… How to view ASP.NET trace information?
ASP.NET:
Passing anonymous objects to MVC views and accessing them using dynamic
Channel 9:
Channel 9 Live at PDC09: Coding 4 Fun
Channel 9:
Channel 9 Live at PDC09: Stephen Toub
WindowsClient:
Mouse Gestures for Internet Explorer
Channel 9:
Controlling concurrency in Rx
Channel 9:
Dev Tools Ecosystem Summit Videos Available
WindowsClient:
Using Cerebrata's Cloud Storage Studio To Download IIS logs from Multiple Instances of Windows Azure
TechNet Edge:
TechNet Radio: Office 2007 Setup and Configuration (Part 1)
Channel 10:
How-To: Listen to Your Zune Pass Music on Your WinMo Phone
Channel 10:
Share Your Screen with SharedView
Channel 10:
Get Microsoft Tinker Game For Free
Channel 10:
LG eXpo WinMo 6.5 Unboxing Video
Channel 9:
ADFS 2.0 RC is Here!
Channel 10:
Bing Reference Updated with New Sidebar Features
Channel 10:
Look Behind SurfaceScapes
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part I
TechNet Edge:
Windows Server 2008 R2 Quick Look- Installing the Migration Tools
WindowsClient:
My latest videos – WPF, Silverlight, Sensors, and PDC09
WindowsClient:
Developing an installer for your Surface application
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online