Click here to Skip to main content
15,891,136 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionProblem with calling Javascript when using UpdatePanel AJAX Pin
Faisal Khatri3-Dec-09 9:25
Faisal Khatri3-Dec-09 9:25 
AnswerRe: Problem with calling Javascript when using UpdatePanel AJAX Pin
Petr Pechovic3-Dec-09 11:14
professionalPetr Pechovic3-Dec-09 11:14 
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 
Yes.. I got your point.

First of all, XSLT is processed in browser. You just do the logic how the html will be generated and pass the XML. There is no option to generate an image in the browser in XSLT.

If you are going to use embedded image in xml, you need to either transform them in server side to produce image and replace the image path in xml and generate html from that xml... or embed the base64 directly in img src as I mentioned.

I think the first option is good, you need to store the embedded data with image source in the xml before you add xml transformation.

If I was in your situation, I would have used Repeater directly, rather than depend so much in browser using XSLT. Repeater is always better to handle your html as you are sure what you are generating from the server side. You can use OnItemDataBound event to store the image (or directly put in response) and add it to src.

Anyways, you should better choose what suits you. But somehow you have to change the embedded base64 stream to proper image data.Rose | [Rose]

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

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 
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 

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.