Click here to Skip to main content
16,005,120 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: alternative to iframe in asp.net Pin
N a v a n e e t h29-Jan-08 22:41
N a v a n e e t h29-Jan-08 22:41 
GeneralRe: alternative to iframe in asp.net Pin
pekhaleyogesh29-Jan-08 23:34
pekhaleyogesh29-Jan-08 23:34 
GeneralRe: alternative to iframe in asp.net Pin
Venkatesh Mookkan29-Jan-08 23:34
Venkatesh Mookkan29-Jan-08 23:34 
GeneralRe: alternative to iframe in asp.net Pin
pekhaleyogesh29-Jan-08 23:42
pekhaleyogesh29-Jan-08 23:42 
GeneralRe: alternative to iframe in asp.net Pin
Venkatesh Mookkan30-Jan-08 0:01
Venkatesh Mookkan30-Jan-08 0:01 
Generalpdf format Pin
sandhya1429-Jan-08 22:18
sandhya1429-Jan-08 22:18 
GeneralRe: pdf format Pin
Sun Rays29-Jan-08 23:33
Sun Rays29-Jan-08 23:33 
GeneralRe: pdf format Pin
sandhya1430-Jan-08 0:00
sandhya1430-Jan-08 0:00 
still it is giving the same error.....here is my full code.....

Response.ClearContent()
Response.ClearHeaders()
Response.Clear()
Response.Buffer = True
Dim attachment As String = "attachment;inline; filename=Contacts.pdf"
Response.AddHeader("content-disposition", attachment)
Response.Cache.SetCacheability(HttpCacheability.NoCache)
' Response.ContentType = "Application/pdf"
Response.ContentType = "application/octet-stream"
Response.Charset = ""
Dim sw As New IO.StringWriter()
Dim htw As New HtmlTextWriter(sw)
GridSelected.RenderControl(htw)
Response.Write(sw)
lblmsg.Text = ""
Response.End()
Response.Close()

am trying to export the data as pdf......
AnswerRe: pdf format Pin
Venkatesh Mookkan30-Jan-08 0:43
Venkatesh Mookkan30-Jan-08 0:43 
GeneralRe: pdf format Pin
Sun Rays30-Jan-08 0:52
Sun Rays30-Jan-08 0:52 
GeneralRe: pdf format Pin
Justin Perez30-Jan-08 3:28
Justin Perez30-Jan-08 3:28 
GeneralRe: pdf format Pin
sandhya1430-Jan-08 17:47
sandhya1430-Jan-08 17:47 
GeneralASP.NET 2003 Mail Problem Pin
Virendrak29-Jan-08 22:01
Virendrak29-Jan-08 22:01 
GeneralRe: ASP.NET 2003 Mail Problem Pin
N a v a n e e t h29-Jan-08 22:13
N a v a n e e t h29-Jan-08 22:13 
GeneralRe: ASP.NET 2003 Mail Problem Pin
Virendrak30-Jan-08 0:15
Virendrak30-Jan-08 0:15 
GeneralRe: ASP.NET 2003 Mail Problem Pin
Justin Perez30-Jan-08 3:30
Justin Perez30-Jan-08 3:30 
QuestionIntersting about Pop Blocker Pin
rain raj29-Jan-08 21:25
rain raj29-Jan-08 21:25 
GeneralRe: Intersting about Pop Blocker Pin
N a v a n e e t h29-Jan-08 22:10
N a v a n e e t h29-Jan-08 22:10 
GeneralRe: Intersting about Pop Blocker Pin
J4amieC29-Jan-08 22:31
J4amieC29-Jan-08 22:31 
GeneralBackground process in Asp.Net 1.1 Pin
attalurisubbu29-Jan-08 21:09
attalurisubbu29-Jan-08 21:09 
GeneralRe: Background process in Asp.Net 1.1 Pin
N a v a n e e t h29-Jan-08 21:54
N a v a n e e t h29-Jan-08 21:54 
Questionhow to add two style sheet to a text box Pin
jagan12329-Jan-08 20:45
jagan12329-Jan-08 20:45 
AnswerRe: how to add two style sheet to a text box Pin
Venkatesh Mookkan29-Jan-08 20:55
Venkatesh Mookkan29-Jan-08 20:55 
QuestionJava script is not working properly in content pages Pin
Raam29-Jan-08 20:43
Raam29-Jan-08 20:43 
GeneralRe: Java script is not working properly in content pages Pin
Venkatesh Mookkan29-Jan-08 20:46
Venkatesh Mookkan29-Jan-08 20:46 

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.