Handles the request. This is where you put your
business logic.
Namespace: DotNetNuke.FrameworkAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public abstract void HandleRequest() |
Visual Basic |
---|
Public MustOverride Sub HandleRequest |
Remarks
This method should result in a call to one (or more) of the following methods:
![]() | |
---|---|
context.Response.BinaryWrite(); |
![]() | |
---|---|
context.Response.Write(); |
![]() | |
---|---|
context.Response.WriteFile(); |
![]() | |
---|---|
someStream.Save(context.Response.OutputStream); |
etc...
If you want a download box to show up with a pre-populated filename, add this call here (supplying a real filename).
![]() | |
---|---|
Response.AddHeader("Content-Disposition" , "attachment; filename=\"" + Filename + "\""); |