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:135781
More Search Options
RSS Available
Matching Posts
SqlParameterCollection.AddRange (asp.net 2) Examples?
Hi, Does anyone know of any on-line resources/examples for the SqlParameterCollection.AddRange method (for asp.net 2)? I can't seem to find anything, and the current MSDN beta documentation does not provide much help, Thanks, John
Posted to
Data Presentation Controls
(Forum)
by
aspx_uk
on 10/18/2005
Re: Cannot directly open PDF document from asp.net web page
I found out that the problem was due to the local computer's Internet cache was full. As soon as it was deleted the script was able to run, John
Posted to
Web Forms
(Forum)
by
aspx_uk
on 10/12/2005
Re: Cannot directly open PDF document from asp.net web page
Hi NC, I have changed the code to Server.MapPath, but I still cannot open the file directly (although it saves ok), Thanks, John
Posted to
Web Forms
(Forum)
by
aspx_uk
on 10/12/2005
Re: Cannot directly open PDF document from asp.net web page
Hi Longhorn2005, Thanks for your reply. I tried again but had the problem is with the "byte[][0] binaryData = PDFSource; "; I modified the code, and the following works when saving the file: string fle = [filename]; string fnm = System.IO.Path.GetFileName(fle); FileStream objFileStream = new FileStream(fle,FileMode.Open,FileAccess.Read,FileShare.Read); int FilStoerelse = (int )objFileStream.Length; byte[] Buffer = new byte [FilStoerelse]; objFileStream.Read(Buffer,0,FilStoerelse); objFileStream.Close
Posted to
Web Forms
(Forum)
by
aspx_uk
on 10/12/2005
Re: Cannot directly open PDF document from asp.net web page
Hi, Thanks for your replies. I have tried adding Response.Clear(), but the problem persists. Longhorn2005, do you have the byte[][0] version in C#? I have tried converting this but VS.Net is not allowing that code, Thanks, John
Posted to
Web Forms
(Forum)
by
aspx_uk
on 10/11/2005
Cannot directly open PDF document from asp.net web page
Hi, I'm using the following code to open/download a PDF document: string fle = [filename]; s tring fnm = System.IO.Path.GetFileName(fle); Response.ContentType = "Application/pdf"; Response.AddHeader("Content-Disposition", "attachment; filename=" + fnm); Response.WriteFile(fle); Response.End(); The code works fine when saving the document, but when attempting to open the document directly from the web site (when prompted on whether I would like to open/save the document), I receive a message that
Posted to
Web Forms
(Forum)
by
aspx_uk
on 10/11/2005
Re: Using Javascript Alert with Datagrid Button
Hi Darmark, Thanks, that's worked great, Jon
Posted to
Data Presentation Controls
(Forum)
by
aspx_uk
on 10/11/2005
Using Javascript Alert with Datagrid Button
Hi, I have a Datagrid control which lists entries from a database, with a delete imagebutton for deleting a particular entry. Is there any way/examples where I can use javascript to display an alert to the user confirming whether they would like to proceed and, if confirmed, the script calls the server code in the same way as if there was no javascript in place? Thanks, John
Posted to
Data Presentation Controls
(Forum)
by
aspx_uk
on 10/10/2005
Submitting a asp.net form by pressing enter
Hi, Is there any way of allowing a user to press enter on their keyboard to submit a form (using asp.net if possible)? I'm aware of the accesskey attribute available for controls but as far as I know these can only be used for single characters, Thanks
Posted to
Web Forms
(Forum)
by
aspx_uk
on 6/29/2004
Re: Finding Parent Element Name with XmlNodeReader
Hi John, Thanks for your reply, I tried something based on your example and it works ok, Thanks again
Posted to
XML and XmlDataSource Control
(Forum)
by
aspx_uk
on 6/29/2004
Page 1 of 2 (20 items) 1
2
Next >
WindowsClient:
Windows Client Developer Roundup for 12/28/2009
WindowsClient:
Snoop with 64 bit support
ASP.NET:
jQuery Hide/Close Link
ASP.NET:
Merry Christmas
TechNet Edge:
FPE Customer Story
Silverlight:
Being a writer, and having an editor. A Short Rant.
Channel 9:
Channel 9 Live at PDC09: Dr Brian Brooks (3M)
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 13 of 13
Silverlight:
Information for Silverlight HVP Developers…
WindowsClient:
Custom Content Loaders in Silverlight 4.0
WindowsClient:
MVVM Links\Info
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Channel 9:
Channel 9 Live at PDC09: Loic Le Meur
Channel 10:
How to Delete Jump List Items
Channel 10:
Roll Back to Classic Network Indicator in Win7
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 2
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online