Click here to Skip to main content
15,905,915 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Problem with calling Javascript when using UpdatePanel AJAX Pin
Faisal Khatri4-Dec-09 5:10
Faisal Khatri4-Dec-09 5:10 
QuestionJavascript in HTML interacting with PDF Javascript Pin
Ennis Ray Lynch, Jr.3-Dec-09 8:10
Ennis Ray Lynch, Jr.3-Dec-09 8:10 
QuestionCreating HTML Page with XSLT and XML Pin
FJJCENTU3-Dec-09 7:02
FJJCENTU3-Dec-09 7:02 
AnswerRe: Creating HTML Page with XSLT and XML Pin
Abhishek Sur3-Dec-09 11:26
professionalAbhishek Sur3-Dec-09 11:26 
GeneralRe: Creating HTML Page with XSLT and XML Pin
FJJCENTU3-Dec-09 13:04
FJJCENTU3-Dec-09 13:04 
GeneralRe: Creating HTML Page with XSLT and XML Pin
Abhishek Sur3-Dec-09 23:38
professionalAbhishek Sur3-Dec-09 23:38 
GeneralRe: Creating HTML Page with XSLT and XML Pin
FJJCENTU4-Dec-09 5:17
FJJCENTU4-Dec-09 5:17 
GeneralRe: Creating HTML Page with XSLT and XML Pin
Abhishek Sur6-Dec-09 20:52
professionalAbhishek Sur6-Dec-09 20:52 
Yes...
Another thing that I need to address, images are actually called as a new Request. So for every image request, IIS will spawn a new thread from its ThreadPool and create a Response.

If you can, you can just put the image data into the database or some storage and pass the id to the xml. Create one HttpHandler which will request the image with the id. Say your httphandler is ImageResource.axd.

you write using xslt as :
<img src="ImageResource.axd?id=59" /><br />

Now within the ProcessRequest, write the image data directly in the response stream.

This might be one useful way.

Also it is impossible to store image directly to client hard disk because of security issue in browser. What you can do, is place some Cache headers to the response, and the browser will automatically cache the image to its local storage and will not call the server again if the same resource is called for again.

Cheers.
Thumbs Up | :thumbsup:

Abhishek Sur
Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->

Simplify Code Using NDepend
Basics of Bing Search API using .NET
Microsoft Bing MAP using Javascript

Questiondoesn't exist in the current context. Pin
FEMDEV3-Dec-09 6:29
FEMDEV3-Dec-09 6:29 
AnswerRe: doesn't exist in the current context. Pin
Gamzun3-Dec-09 8:20
Gamzun3-Dec-09 8:20 
AnswerRe: doesn't exist in the current context. Pin
Abhishek Sur3-Dec-09 11:16
professionalAbhishek Sur3-Dec-09 11:16 
GeneralRe: doesn't exist in the current context. Pin
FEMDEV3-Dec-09 22:37
FEMDEV3-Dec-09 22:37 
QuestionGet the first and last row for each child row Pin
AsianRogueOne3-Dec-09 6:12
AsianRogueOne3-Dec-09 6:12 
AnswerRe: Get the first and last row for each child row Pin
Abhishek Sur3-Dec-09 11:05
professionalAbhishek Sur3-Dec-09 11:05 
GeneralRe: Get the first and last row for each child row Pin
AsianRogueOne4-Dec-09 4:46
AsianRogueOne4-Dec-09 4:46 
GeneralRe: Get the first and last row for each child row Pin
AsianRogueOne4-Dec-09 5:07
AsianRogueOne4-Dec-09 5:07 
GeneralRe: Get the first and last row for each child row Pin
Abhishek Sur6-Dec-09 21:06
professionalAbhishek Sur6-Dec-09 21:06 
AnswerRe: Get the first and last row for each child row Pin
AsianRogueOne10-Dec-09 6:56
AsianRogueOne10-Dec-09 6:56 
QuestionHow to Trace variables ? [modified] Pin
alaminfad3-Dec-09 5:14
alaminfad3-Dec-09 5:14 
AnswerRe: How to Trace variables ? Pin
Gamzun3-Dec-09 8:14
Gamzun3-Dec-09 8:14 
QuestionHiding AJAX extender icon Pin
dptalt3-Dec-09 2:14
dptalt3-Dec-09 2:14 
AnswerRe: Hiding AJAX extender icon Pin
Abhishek Sur3-Dec-09 2:29
professionalAbhishek Sur3-Dec-09 2:29 
Questionusing javascript to check validation in aspx page Pin
Member 47041433-Dec-09 0:07
Member 47041433-Dec-09 0:07 
AnswerRe: using javascript to check validation in aspx page Pin
Abhijit Jana3-Dec-09 0:21
professionalAbhijit Jana3-Dec-09 0:21 
GeneralRe: using javascript to check validation in aspx page Pin
Anurag Gandhi3-Dec-09 0:27
professionalAnurag Gandhi3-Dec-09 0:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.