Click here to Skip to main content
15,888,169 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: MS SqlDbType to C# type converter Pin
Richard MacCutchan21-May-15 5:39
mveRichard MacCutchan21-May-15 5:39 
AnswerRe: MS SqlDbType to C# type converter Pin
jkirkerx21-May-15 13:29
professionaljkirkerx21-May-15 13:29 
GeneralRe: MS SqlDbType to C# type converter Pin
Stephen Holdorf27-May-15 8:56
Stephen Holdorf27-May-15 8:56 
GeneralRe: MS SqlDbType to C# type converter Pin
jkirkerx27-May-15 9:20
professionaljkirkerx27-May-15 9:20 
Questionhow to develop price comparison website in asp.net? Pin
only4ram20-May-15 0:03
only4ram20-May-15 0:03 
GeneralRe: how to develop price comparison website in asp.net? Pin
Richard MacCutchan20-May-15 0:11
mveRichard MacCutchan20-May-15 0:11 
QuestionSelf Hosted SignalR Issues Pin
bennettdan18-May-15 17:17
bennettdan18-May-15 17:17 
QuestionBase64 Image is corrupted or truncated Pin
JeganMaria18-May-15 2:25
JeganMaria18-May-15 2:25 
My requirement is to display thumbnail images on to my MVC view. What I am doing here is to convert image to byte array and convert them to base64 string and send this string back to JavaScript.

In JavaScript, I am assigning this base64 string to src attribute of image tag as below

$(img).attr("src", "data:image/png;base64," + data);

This process happened continuously 10 times in a for loop as I need to display 10 images in a page.

When I run this, I am getting half image in IE and showing nothing in Firefox. When I went into fire-fox console I am getting "Image is corrupted or truncated" exception and not sure what it is.

Could anyone throw some light on this issue?

If source code need for any of the said one, please let me know
AnswerREPOST Pin
Afzaal Ahmad Zeeshan18-May-15 3:46
professionalAfzaal Ahmad Zeeshan18-May-15 3:46 
QuestionHow to get source files from GoDaddy to local machine Pin
indian14316-May-15 8:41
indian14316-May-15 8:41 
AnswerRe: How to get source files from GoDaddy to local machine Pin
F-ES Sitecore16-May-15 10:05
professionalF-ES Sitecore16-May-15 10:05 
GeneralRe: How to get source files from GoDaddy to local machine Pin
indian14316-May-15 18:56
indian14316-May-15 18:56 
QuestionMessage Closed Pin
15-May-15 4:15
Mohammad Sadegh Zohari15-May-15 4:15 
QuestionHelp with a static class Pin
Stephen Holdorf15-May-15 2:10
Stephen Holdorf15-May-15 2:10 
QuestionRe: Help with a static class Pin
Richard MacCutchan15-May-15 3:02
mveRichard MacCutchan15-May-15 3:02 
SuggestionRe: Help with a static class Pin
Richard Deeming15-May-15 3:56
mveRichard Deeming15-May-15 3:56 
GeneralRe: Help with a static class Pin
Stephen Holdorf15-May-15 4:09
Stephen Holdorf15-May-15 4:09 
GeneralRe: Help with a static class Pin
Richard Deeming15-May-15 4:11
mveRichard Deeming15-May-15 4:11 
GeneralRe: Help with a static class Pin
Stephen Holdorf15-May-15 6:52
Stephen Holdorf15-May-15 6:52 
GeneralRe: Help with a static class Pin
Richard Deeming15-May-15 7:04
mveRichard Deeming15-May-15 7:04 
GeneralRe: Help with a static class Pin
Sascha Lefèvre15-May-15 8:23
professionalSascha Lefèvre15-May-15 8:23 
GeneralRe: Help with a static class Pin
Stephen Holdorf18-May-15 1:47
Stephen Holdorf18-May-15 1:47 
GeneralRe: Help with a static class [modified] Pin
Sascha Lefèvre18-May-15 2:07
professionalSascha Lefèvre18-May-15 2:07 
GeneralRe: Help with a static class Pin
Sascha Lefèvre18-May-15 2:10
professionalSascha Lefèvre18-May-15 2:10 
GeneralRe: Help with a static class Pin
Richard Deeming18-May-15 2:36
mveRichard Deeming18-May-15 2:36 

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.