Click here to Skip to main content
15,889,216 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Custom Configuration section Pin
GenJerDan11-Jul-11 7:14
GenJerDan11-Jul-11 7:14 
AnswerRe: Custom Configuration section Pin
Shameel11-Jul-11 21:41
professionalShameel11-Jul-11 21:41 
Questionsms application Pin
shawn41411-Jul-11 0:17
shawn41411-Jul-11 0:17 
AnswerRe: sms application Pin
DaveAuld11-Jul-11 0:24
professionalDaveAuld11-Jul-11 0:24 
AnswerRe: sms application Pin
Shameel11-Jul-11 2:34
professionalShameel11-Jul-11 2:34 
Questionread file base64 and show on the image Pin
apadana_198910-Jul-11 20:14
apadana_198910-Jul-11 20:14 
AnswerRe: read file base64 and show on the image Pin
Joris Janssens11-Jul-11 7:59
professionalJoris Janssens11-Jul-11 7:59 
AnswerRe: read file base64 and show on the image Pin
Joris Janssens12-Jul-11 1:03
professionalJoris Janssens12-Jul-11 1:03 
As an alternative to using a generic handler you could also embed the base64-code directly into the src-attribute of the img element.

trivial example:
using System;
using System.IO;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class _Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e) {
        string data64 = File.ReadAllText(@"e:\flotspe\www\images\5base64.txt");
        this.form1.Controls.Add(new Image() { ImageUrl = string.Format("data:image/jpg;base64,{0}",data64) });
    }
}


for more information about data URI scheme's see http://en.wikipedia.org/wiki/Data:_URI_scheme[^]
Questiongridview can go last page index? Pin
buffering839-Jul-11 23:35
buffering839-Jul-11 23:35 
AnswerRe: gridview can go last page index? Pin
Viral Upadhyay10-Jul-11 17:56
Viral Upadhyay10-Jul-11 17:56 
Questioncreate html file on the server side Pin
apadana_19899-Jul-11 20:28
apadana_19899-Jul-11 20:28 
AnswerRe: create html file on the server side Pin
Shahriar Iqbal Chowdhury/Galib10-Jul-11 4:06
professionalShahriar Iqbal Chowdhury/Galib10-Jul-11 4:06 
AnswerRe: create html file on the server side Pin
Not Active10-Jul-11 5:42
mentorNot Active10-Jul-11 5:42 
QuestionASP.NET Base Pages Pin
Patrick Skelton8-Jul-11 23:09
Patrick Skelton8-Jul-11 23:09 
AnswerRe: ASP.NET Base Pages Pin
TweakBird8-Jul-11 23:21
TweakBird8-Jul-11 23:21 
GeneralRe: ASP.NET Base Pages Pin
Not Active9-Jul-11 3:28
mentorNot Active9-Jul-11 3:28 
GeneralRe: ASP.NET Base Pages Pin
TweakBird10-Jul-11 6:01
TweakBird10-Jul-11 6:01 
AnswerRe: ASP.NET Base Pages Pin
Not Active9-Jul-11 3:27
mentorNot Active9-Jul-11 3:27 
GeneralRe: ASP.NET Base Pages Pin
Patrick Skelton9-Jul-11 7:50
Patrick Skelton9-Jul-11 7:50 
GeneralRe: ASP.NET Base Pages Pin
Firo Atrum Ventus10-Jul-11 18:02
Firo Atrum Ventus10-Jul-11 18:02 
GeneralRe: ASP.NET Base Pages Pin
Patrick Skelton10-Jul-11 23:15
Patrick Skelton10-Jul-11 23:15 
QuestionFacebook connect Pin
benams8-Jul-11 15:50
benams8-Jul-11 15:50 
AnswerRe: Facebook connect Pin
Parwej Ahamad8-Jul-11 16:13
professionalParwej Ahamad8-Jul-11 16:13 
GeneralRe: Facebook connect Pin
benams8-Jul-11 16:23
benams8-Jul-11 16:23 
GeneralRe: Facebook connect Pin
Not Active9-Jul-11 3:25
mentorNot Active9-Jul-11 3:25 

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.