Re: question about declaring labels and errors from VWDeveloper

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Mr Newbie wrote:
> OK, I dont have much experience with that yet, however, you say you
> dont use code behind. You do, trust me! 2005 uses partial classes, so
> you wont necessarily see the designer code, its made that way to
> seperate you from what the designer is doing,
>
> Are you using beta code still or release ?
>
>

Newbie,

Couple of clarifications. You do not have to declare the label. ASP.NET
does that at runtime. That's the whole point behind partial classes. One
other minor point... you really wouldn't want to declare a label with the
WithEvents keyword since the label doesn't really have any events that you
would want to handle.

It is certainly possible to not use code-behind in both VWD and VS 2005.

As to the OP's point, can you post all of your code copied and pasted into a
message? What you've entered here should work fine.

--
Jim Cheshire
================================
Blog: http://blogs.msdn.com/jamesche

Latest entry: Digging into Objects
Describes the details of digging into
memory usage with the debugger.



.



Relevant Pages

  • Re: question about declaring labels and errors from VWDeveloper
    ... > Mr Newbie wrote: ... It doesent make sense to add the withevents ... the compiler will actually create the Label as a property. ... > Latest entry: Digging into Objects ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: question about declaring labels and errors from VWDeveloper
    ... designer created for me in 2003 when I dragged the label onto the design ... > Mr Newbie wrote: ... You do not have to declare the label. ... > Latest entry: Digging into Objects ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: New Workout Routine: Expected Results
    ... I really dont see the Evils in that. ... sounding a cautionary note for him, as a newbie. ... focused on numbers and results...but in a "being" frame of mind, ...
    (misc.fitness.weights)
  • Re: Diabetic newbie - got my results
    ... Robert, I havent seen your name before so I dont know if you are a ... newbie. ... Also dont hesitate to ... In tribute to the United States of America and the State ...
    (alt.support.diabetes)
  • Re: OT: Replacing a printers USB thingmy
    ... as I cant help with anything that goes on in here. ... I dont take it personally, nor should you, instead, have a laugh, try and be humourous and expect to be flamed, as everyone else does. ... If you look at other posts, everyone flames everyone in here, its a laugh! ... Getting flamed is one thing but I think you will agree that getting called a "poor know-nothing wannabe newbie cunt" is a bit much. ...
    (uk.rec.motorcycles)