Thread View: borland.public.delphi.aspdotnet.components.using
3 messages
3 total messages
Started by T.J. Gillmore
Tue, 29 Nov 2005 05:29
How to change name of.aspx file?
Author: T.J. Gillmore
Date: Tue, 29 Nov 2005 05:29
Date: Tue, 29 Nov 2005 05:29
16 lines
1601 bytes
1601 bytes
If I start a new ASP.NET for Delphi project and make no changes to it, I can
run it, resulting in a blank page in the browser.
If I change the name of WebForm1.aspx to default.aspx and change the
Run|Parameters to make default.aspx the starting page, I get the following
error message:
Line 27:
Line 28:
[System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
Line 29: public class default_aspx : default.TWebForm1,
System.Web.SessionState.IRequiresSessionState {
Line 30:
It's apparent that I need to change something else besides default.aspx and
default.pas, but what?
Re: How to change name of.aspx file?
Author: Marc Rohloff TeamB
Date: Wed, 30 Nov 2005 00:32
Date: Wed, 30 Nov 2005 00:32
24 lines
2049 bytes
2049 bytes
On Mon, 28 Nov 2005 21:29:15 -0800, T.J. Gillmore wrote:
> If I change the name of WebForm1.aspx to default.aspx and change the
> Run|Parameters to make default.aspx the starting page, I get the following
> error message:
>
> Line 27:
> Line 28:
> [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
> Line 29: public class default_aspx : default.TWebForm1,
> System.Web.SessionState.IRequiresSessionState {
> Line 30:
>
> It's apparent that I need to change something else besides default.aspx and
> default.pas, but what?
If you want to change the page name then change it in the object
inspector, however I suspect that your problem is because you used the
name 'default' which is a reserved word in c# (Default with a capital
D will work however)
--
Marc Rohloff [TeamB]
marc rohloff -at- myrealbox -dot- com
Re: How to change name of.aspx file?
Author: T.J. Gillmore
Date: Wed, 30 Nov 2005 06:43
Date: Wed, 30 Nov 2005 06:43
31 lines
2117 bytes
2117 bytes
Capitalizing the D in default did the trick. Thanks.
"Marc Rohloff [TeamB]" <"on request"> wrote in message
news:1x5i91zyxu3cd$.dlg@marcrohloff.com...
> On Mon, 28 Nov 2005 21:29:15 -0800, T.J. Gillmore wrote:
>
>> If I change the name of WebForm1.aspx to default.aspx and change the
>> Run|Parameters to make default.aspx the starting page, I get the
>> following
>> error message:
>>
>> Line 27:
>> Line 28:
>> [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
>> Line 29: public class default_aspx : default.TWebForm1,
>> System.Web.SessionState.IRequiresSessionState {
>> Line 30:
>>
>> It's apparent that I need to change something else besides default.aspx
>> and
>> default.pas, but what?
>
> If you want to change the page name then change it in the object
> inspector, however I suspect that your problem is because you used the
> name 'default' which is a reserved word in c# (Default with a capital
> D will work however)
>
> --
> Marc Rohloff [TeamB]
> marc rohloff -at- myrealbox -dot- com
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads