Welcome Guest Search | Active Topics | Sign In | Register

FileExplorer demo Options
AndreaZ
Posted: Monday, October 27, 2008 12:21:10 AM
Rank: Advanced Member
Groups: Member

Joined: 10/20/2008
Posts: 75
Hello,
can I re-use the file explorer.aspx that is in the demo pages?
What is the fastest way to re-use?
Thanks.
Andrea
AndreaZ
Posted: Monday, October 27, 2008 12:24:51 AM
Rank: Advanced Member
Groups: Member

Joined: 10/20/2008
Posts: 75
This code is necessary?

#Region "Web Form Designer generated code"

Protected Overrides Sub OnInit(e As EventArgs)
'
' CODEGEN: This call is required by the ASP.NET Web Form Designer.
'
InitializeComponent()
MyBase.OnInit(e)
End Sub 'OnInit


'/ <summary>
'/ Required method for Designer support - do not modify
'/ the contents of this method with the code editor.
'/ </summary>
Private Sub InitializeComponent()
End Sub 'InitializeComponent

#End Region


eo_support
Posted: Monday, October 27, 2008 3:23:48 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

You definitely reuse any or a part of any page in our sample package.

The code that is marked as "Web Form Designer Generated Code" should not be necessary in this case. However since it is generated by designers, it may just come back even if you delete it. Visual Studio 2005 uses partial class to address this issue rather well, while Visual Studio 2003 often is worse. In any case the existence of such empty stub code should not affect any runtime behaviors.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.