Click here to Skip to main content
11,926,472 members (54,930 online)


AnswerRe: Dynamic width DIV next to a static width DIV Pin
Richard Deeming7-Feb-13 2:51
memberRichard Deeming7-Feb-13 2:51 
QuestionRe: Dynamic width DIV next to a static width DIV Pin
jojoba201113-Feb-13 23:29
memberjojoba201113-Feb-13 23:29 
QuestionMaster page Elements Id Pin
mohammadkaab6-Feb-13 0:06
membermohammadkaab6-Feb-13 0:06 
AnswerRe: Master page Elements Id Pin
deflinek6-Feb-13 3:54
memberdeflinek6-Feb-13 3:54 
QuestionCrystal Report not showing Pin
Kashinath Patil5-Feb-13 23:14
memberKashinath Patil5-Feb-13 23:14 
AnswerRe: Crystal Report not showing Pin
karthickpradhaban11-Feb-13 5:50
memberkarthickpradhaban11-Feb-13 5:50 
Questionconvert from Div.innerhtml to image in Pin 2:45 2:45 
AnswerRe: convert from Div.innerhtml to image in Pin
Sandeep Mewara5-Feb-13 3:23
mvpSandeep Mewara5-Feb-13 3:23 
Start from here: Generating ASP.NET Images on the Fly Article[^]

Dim oBitmap As Bitmap = New Bitmap(468, 60)
Dim oGraphic As Graphics = Graphics.FromImage(oBitmap)
Dim oColor As System.Drawing.Color
Dim sColor As String = Request("BackgroundColor")
Dim sText As String = Request("Text")
Dim sFont As String = Request("Font")
Dim oBrush As New SolidBrush(oColor)
Dim oBrushWrite As New SolidBrush(Color.White)
oGraphic.FillRectangle(oBrush, 0, 0, 468, 60)
DrawString(String, Font, Brush, FPoint)
Dim oFont As New Font(sFont, 13)
Dim oPoint As New PointF(5F, 5F)
oGraphic.DrawString(sText, oFont, oBrushWrite, oPoint)
oBitmap.Save(Server.MapPath("generated_image.jpg"), ImageFormat.Jpeg)
//Response.Write("View the generated image <a target=""_blank"" href=""generated_image.jpg"">here</a>")
Response.ContentType = "image/jpeg"
oBitmap.Save (Response.OutputStream, ImageFormat.Jpeg)
Sandeep Mewara
Microsoft ASP.NET MVP 2012 & 2013

[My Latest Post(s)]:
My Blog
Server side Delimiters in ASP.NET
How to extend a WPF Textbox to Custom Picker

QuestionCrystal report Pin
Kashinath Patil4-Feb-13 21:04
memberKashinath Patil4-Feb-13 21:04 
AnswerRe: Crystal report Pin
Sandeep Mewara5-Feb-13 3:11
mvpSandeep Mewara5-Feb-13 3:11 
QuestionMobile Compatibility Pin
Murugavel Sadagopan4-Feb-13 20:36
memberMurugavel Sadagopan4-Feb-13 20:36 
AnswerRe: Mobile Compatibility Pin
Sandeep Mewara5-Feb-13 3:04
mvpSandeep Mewara5-Feb-13 3:04 
AnswerRe: Mobile Compatibility Pin
Anand Ranjan Pandey8-Feb-13 8:58
memberAnand Ranjan Pandey8-Feb-13 8:58 
QuestionConvert from HTML to PDF format Pin 19:32 19:32 
QuestionBack up of PST while open Outlook Pin
mayur darji4-Feb-13 19:24
membermayur darji4-Feb-13 19:24 
AnswerRe: Back up of PST while open Outlook Pin
Sandeep Mewara4-Feb-13 19:47
mvpSandeep Mewara4-Feb-13 19:47 
QuestionGridview Pin
Murugavel Sadagopan4-Feb-13 19:21
memberMurugavel Sadagopan4-Feb-13 19:21 
AnswerRe: Gridview Pin
Dineshshp4-Feb-13 19:43
memberDineshshp4-Feb-13 19:43 
AnswerRe: Gridview Pin
Sandeep Mewara4-Feb-13 19:44
mvpSandeep Mewara4-Feb-13 19:44 
QuestionAs used in ASP MORRIS.JS. Net? Help me! Pin
Garcia AlfredoS4-Feb-13 14:06
memberGarcia AlfredoS4-Feb-13 14:06 
AnswerRe: As used in ASP MORRIS.JS. Net? Help me! Pin
Sandeep Mewara4-Feb-13 16:56
mvpSandeep Mewara4-Feb-13 16:56 
GeneralRe: As used in ASP MORRIS.JS. Net? Help me! Pin
Garcia AlfredoS5-Feb-13 2:56
memberGarcia AlfredoS5-Feb-13 2:56 
QuestionHow to fetch all unique/distinct values in a GridView Pin
Andy Tek4-Feb-13 14:05
memberAndy Tek4-Feb-13 14:05 
AnswerRe: How to fetch all unique/distinct values in a GridView Pin
Sandeep Mewara4-Feb-13 16:46
mvpSandeep Mewara4-Feb-13 16:46 
QuestionHiding the physical path of a file in downloading Pin
Majid Shahabfar4-Feb-13 11:27
memberMajid Shahabfar4-Feb-13 11: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.

Advertise | Privacy | Mobile
Web01 | 2.8.151126.1 | Last Updated 26 Nov 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid