Click here to Skip to main content
15,905,867 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: text rendering w/ flex/flash Pin
Force Code9-Aug-07 18:38
Force Code9-Aug-07 18:38 
QuestionHow to upload an image using a file browser from a basic client Pin
pranu_138-Aug-07 20:07
pranu_138-Aug-07 20:07 
Questionhelp Pin
jido528-Aug-07 9:37
jido528-Aug-07 9:37 
AnswerRe: help Pin
leckey8-Aug-07 10:26
leckey8-Aug-07 10:26 
AnswerRe: help Pin
Christian Graus8-Aug-07 19:12
protectorChristian Graus8-Aug-07 19:12 
QuestionWeb services : The request failed with an empty response. Pin
ScottM18-Aug-07 4:07
ScottM18-Aug-07 4:07 
AnswerRe: Web services : The request failed with an empty response. Pin
Guffa9-Aug-07 0:57
Guffa9-Aug-07 0:57 
QuestionExport into Excel from GridView Pin
John.L.Ponratnam8-Aug-07 2:48
John.L.Ponratnam8-Aug-07 2:48 
I tried to generate report in Excel from Grid View using this Code in a Button Click:
Response.Clear();
Response.AddHeader("content-isposition", "attachment;filename=FileName.xls");
Response.Charset = "";
Response.ContentType = "application/vnd.xls";
System.IO.StringWriter StringWriter = new System.IO.StringWriter();
System.Web.UI.HtmlTextWriter HtmlTextriter = new System.Web.UI.HtmlTextWriter(StringWriter);
GridView1.RenderControl(HtmlTextriter);
Response.Write(StringWriter.ToString());
Response.End();

But I get the error specifying:
System.Web.HttpException: Control 'ctl00_ContentPlaceHolder1_GridView1' of type 'GridView' must be placed inside a form tag with runat=server.

Can anyone help me to solve this problem

Regards,
LEE

AnswerRe: Export into Excel from GridView Pin
Member 173345212-Apr-10 1:56
Member 173345212-Apr-10 1:56 
QuestionHtml to database Pin
A.Muthunagai7-Aug-07 23:44
A.Muthunagai7-Aug-07 23:44 
AnswerRe: Html to database Pin
Vasudevan Deepak Kumar8-Aug-07 5:18
Vasudevan Deepak Kumar8-Aug-07 5:18 
Questionweb counter and chat Pin
michael_jhons7-Aug-07 23:39
michael_jhons7-Aug-07 23:39 
AnswerRe: web counter and chat Pin
Vasudevan Deepak Kumar8-Aug-07 5:16
Vasudevan Deepak Kumar8-Aug-07 5:16 
Questiononly horizontal scroll bar needed Pin
hkchauhan7-Aug-07 22:35
hkchauhan7-Aug-07 22:35 
GeneralRe: only horizontal scroll bar needed Pin
Guffa9-Aug-07 15:10
Guffa9-Aug-07 15:10 
Questionvisual studio can not open the application Pin
avinol7-Aug-07 22:20
avinol7-Aug-07 22:20 
QuestionHow to hack website Pin
pentecostal17-Aug-07 16:30
pentecostal17-Aug-07 16:30 
AnswerRe: How to hack website Pin
Mikeyyy7-Aug-07 17:15
Mikeyyy7-Aug-07 17:15 
AnswerRe: How to hack website Pin
Vasudevan Deepak Kumar7-Aug-07 23:31
Vasudevan Deepak Kumar7-Aug-07 23:31 
AnswerRe: How to hack website Pin
#realJSOP8-Aug-07 0:01
professional#realJSOP8-Aug-07 0:01 
AnswerRe: How to hack website Pin
scottgp8-Aug-07 3:51
professionalscottgp8-Aug-07 3:51 
AnswerRe: How to hack website Pin
leckey8-Aug-07 10:29
leckey8-Aug-07 10:29 
AnswerRe: How to hack website Pin
JimmyRopes8-Aug-07 17:51
professionalJimmyRopes8-Aug-07 17:51 
AnswerRe: How to hack website Pin
ktm TechMan8-Aug-07 23:52
ktm TechMan8-Aug-07 23:52 
QuestionResizing images retrieved from DB Pin
bryterlayter7-Aug-07 12:15
bryterlayter7-Aug-07 12:15 

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.