CodeVerge.Net
Beta
Login Idy
Register
Password
Forgot?
Explore
Item Entry
Members
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML
Zone:
>
NEWSGROUP
>
Asp.Net Forum
>
windows_hosting.hosting_open_forum
Tags:
Item Type:
NewsGroup
Date Entered:
3/3/2004 4:53:42 PM
Date Modified:
Subscribers:
0
Subscribe Alert
Rate It:
(NR, 0)
XPoints:
N/A
Replies:
4
Views:
19
Favorited:
0
Favorite
Can Reply:
No
Members Can Edit:
No
Online:
Yes
ng.novell-forums.novell-support-groupwise-6x-clients
5 Items, 1 Pages
Sort By
Date Dsc
Date Asc
Votes Dsc
Votes Asc
1
|<
<<
Go
>>
>|
azure_ss
Asp.Net User
how to get response object in the server control?
3/3/2004 4:53:42 PM
0/0
In some event of my composite control,I want to send a data file back to the client.I am wondering how can I get the response object or stream that I can use?Or any other ways to do it?thx
joteke
Asp.Net User
Re: how to get response object in the server control?
3/3/2004 4:57:23 PM
0/0
Via Context property of the control.
Context.Response.Write("Hello")
Context is reference to the current HttpContext and you can access Request and Response etc by using it.
Thanks,
Teemu Keiski
Finland, EU
azure_ss
Asp.Net User
Re: how to get response object in the server control?
3/3/2004 5:09:48 PM
0/0
Great!
If I want to force the download window popup no matter what the file extension,what content type should I set?Thx
joteke
Asp.Net User
Re: how to get response object in the server control?
3/3/2004 5:17:12 PM
0/0
It is probably by writing content-disposition header to the response (Response.AppendHeader(name,value):
You'll find specs about content-disposition here:
http://www.faqs.org/rfcs/rfc2183.html
Thanks,
Teemu Keiski
Finland, EU
master4eva
Asp.Net User
Re: how to get response object in the server control?
3/4/2004 1:38:52 PM
0/0
:: It is probably by writing content-disposition header to the response (Response.AppendHeader(name,value):
In addition, there is a Response.ContentType property.
-- Justin Lovell
5 Items, 1 Pages
Sort By
Date Dsc
Date Asc
Votes Dsc
Votes Asc
1
|<
<<
Go
>>
>|
Search This Site:
Meet Our Sponsors:
Other Resources:
freeze the SiteMapPath? - newsgroup.asp-net-forum ...
In?the?menu?and?sitemappath?controls I?select?the?appropriate?provider. ... how to get response object in the server control? unable to mail ...
AD domain user account - borland.public.delphi.language.delphi.win32 ...
... you import a profile in SharePoint Server 2007, and the user account ... how to get response object in the server control? when is profile object available ...
How to get value of control directly from Request object - ASP.NET 2.0 ...
How to make custom server controls. Dynamically create web controls with event handlers ... (DataRow dr in dtRecords.Rows) { Response.Write(dr["FirstName" ...
How to get the current SessionID - ASP.NET 2.0 Code Example
How to make custom server controls. Dynamically create web ... How to get value of control directly from Request object. A checkbox list with approve button ...
How to get PortletResponse in the subclass of TagSupport
URI, I need to retrieve the PortletResponse object in the my tag class (subclass ... WebSphere Portal Server. Exchange 2000 administration. PostgreSQL ...
FtpWebRequest.GetResponse Method (System.Net)
This object contains the FTP server's response to the request. Exceptions. Exception ... { return false; } // Get the object used to communicate with the server. ...
Enterprise .NET Community: WebParts - From Sharepoint to ASP.NET 2.0
More precisely, it is a custom server control built starting from a base class ... the user interface of a control is normally faster than adding controls to ...
FtpWebRequest Members (System.Net)
GetResponse. Returns the FTP server response. (Overrides WebRequest..::.GetResponse ... Obtains a lifetime service object to control the lifetime policy for ...
www.w3.org/Protocols/HTTP-NG/isl/
Server
.isl
The server responds with an initialization response, indicating the methods it ... Question: what is the best way to get a bit vector? ...
Performing Custom Validation using the CustomValidator Control (C# 2005)
How to implement form validation using ASP.Net 2.0 Validation Controls ... Get the response. HttpWebResponse response = (HttpWebResponse)request.GetResponse ...
Advertise Here
Invite
History
Resources
SiteMap
install dnn 3.0.7 error
can't switch to design view ... vs 2005 bug??
dnn2 homeland security module (free)
vs2005 development environment without iis
documentpaths module upgraded to dnn 2.0.3
jscript/vb support
dnn 3.08 file manager bug
web parts stored centrally?
globalization culture in dnn
null resourcekey
web.config mods for additional dataproviders
change themes in masterpage
usercontrol events not showing in the deisgner properties window
shopping cart data is missing after member login
where can i get an approved visual disability skin?
All Times Are GMT