Click here to Skip to main content
15,887,676 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionWhy is default hyperlink font colors trumping my fonts in GridView sortable columns and menu items? Pin
darren241-Mar-07 10:50
darren241-Mar-07 10:50 
AnswerRe: Why is default hyperlink font colors trumping my fonts in GridView sortable columns and menu items? Pin
Omkar Ghaisas1-Mar-07 23:22
Omkar Ghaisas1-Mar-07 23:22 
GeneralRe: Why is default hyperlink font colors trumping my fonts in GridView sortable columns and menu items? Pin
darren245-Mar-07 3:07
darren245-Mar-07 3:07 
Questionuntrusted web server Pin
TheEagle1-Mar-07 10:19
TheEagle1-Mar-07 10:19 
Questionmail to admin wen a post on the website Pin
Prashanth KP1-Mar-07 8:14
Prashanth KP1-Mar-07 8:14 
AnswerRe: mail to admin wen a post on the website Pin
haggenx1-Mar-07 9:13
haggenx1-Mar-07 9:13 
QuestionCreate Images from Web Page Pin
oskardiazdeleon1-Mar-07 7:54
oskardiazdeleon1-Mar-07 7:54 
AnswerRe: Create Images from Web Page Pin
oskardiazdeleon1-Mar-07 11:41
oskardiazdeleon1-Mar-07 11:41 
Bitmap bmp = new Bitmap(Server.MapPath("web.jpg"));
Graphics g = Graphics.FromImage(bmp);
g.SmoothingMode = SmoothingMode.AntiAlias;
//set Name
g.DrawString(this.txtName.Text,
new Font("Arial", 14), SystemBrushes.WindowText, 110, 10);
//set Title
g.DrawString(this.txtTitle.Text,
new Font("Arial", 8), SystemBrushes.WindowText, 115, 30);
//set Address
g.DrawString(this.txtAddress.Text,
new Font("Arial", 8), SystemBrushes.WindowText, 115, 55);
//set web URl
g.DrawString(this.txtWebURL.Text,
new Font("Arial", 8), SystemBrushes.WindowText, Convert.ToInt16(this.TextBox1.Text), Convert.ToInt16(this.TextBox2.Text));

Response.ContentType = "image/gif";
bmp.Save(Response.OutputStream, ImageFormat.Jpeg);

I figured out how to make this file. How do I make this applicaion download this file instead of displaying it on the screen? Right now it renders the image but when I try to download it windows OS doesnt recognise it as an image.
QuestionHow to clear GridViewSortEventArgs.SortExpression? Pin
darren241-Mar-07 4:53
darren241-Mar-07 4:53 
AnswerRe: How to clear GridViewSortEventArgs.SortExpression? Pin
kubben1-Mar-07 5:55
kubben1-Mar-07 5:55 
QuestionDynamically creating multiple imagebutton control and getting correspoindind event to fire.. Pin
krishna_mag1-Mar-07 4:33
krishna_mag1-Mar-07 4:33 
AnswerRe: Dynamically creating multiple imagebutton control and getting correspoindind event to fire.. Pin
thomas_joyee1-Mar-07 4:52
thomas_joyee1-Mar-07 4:52 
QuestionHelp on simple problem with Container.DataItem Pin
Sean Gorman1-Mar-07 4:31
Sean Gorman1-Mar-07 4:31 
AnswerRe: Help on simple problem with Container.DataItem Pin
thomas_joyee1-Mar-07 5:02
thomas_joyee1-Mar-07 5:02 
GeneralRe: Help on simple problem with Container.DataItem Pin
Sean Gorman1-Mar-07 5:17
Sean Gorman1-Mar-07 5:17 
GeneralRe: Help on simple problem with Container.DataItem Pin
thomas_joyee1-Mar-07 5:42
thomas_joyee1-Mar-07 5:42 
QuestionGridViewAdapter + AJAX Pin
stolin1-Mar-07 4:29
stolin1-Mar-07 4:29 
QuestionPrevent web server reply. Pin
RobertGMiller1-Mar-07 3:55
RobertGMiller1-Mar-07 3:55 
AnswerRe: Prevent web server reply. Pin
Guffa1-Mar-07 5:04
Guffa1-Mar-07 5:04 
Questionhai Pin
Ishwarya M1-Mar-07 3:47
Ishwarya M1-Mar-07 3:47 
AnswerRe: hai Pin
thomas_joyee1-Mar-07 5:09
thomas_joyee1-Mar-07 5:09 
AnswerRe: hai Pin
Vasudevan Deepak Kumar4-Mar-07 2:18
Vasudevan Deepak Kumar4-Mar-07 2:18 
QuestionHow to avoid refresh when postback to ASPX Pin
RobertGMiller1-Mar-07 3:47
RobertGMiller1-Mar-07 3:47 
AnswerRe: How to avoid refresh when postback to ASPX Pin
Guffa1-Mar-07 5:06
Guffa1-Mar-07 5:06 
QuestionConfiguring Login using Visual Web Developer 2005 Express Pin
Giretharan1-Mar-07 3:37
Giretharan1-Mar-07 3:37 

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.