I apologize if I was presuming too much - but attempting to call
MsgBox on the codebehind of a web page is a sign of an early
beginner.  But I suppose it could just be a momentary brainfart when
you were rushing...

On Apr 30, 10:49 pm, Joe Enos <[email protected]> wrote:
> What exactly were you expecting to happen?  The codebehind of a web
> page is executed on the server, not the client, so there is no such
> thing as displaying a message box from the codebehind in ASP.NET.
>
> If you're unclear of the differences between server and client code,
> I'd suggest not even attempting a production-level application until
> you get yourself some beginner tutorials on web development.  Once
> you've done that, and done at least some basic Hello World stuff over
> ASP.NET, I'm sure you'll more fully understand how it all works, and
> can start looking into doing real apps.
>
> On Apr 30, 2:32 am, endika ramos <[email protected]> wrote:
>
> > Hello there -
> > I am programming a web interface for my work.
> > I have created some web-page called info_details.aspx and
> > info_details.aspx.vb.
> > In the Info_datils.aspx.vb inside the sub called Page_Load I have
> > tried a simple code such as:
>
> > Msgbox ("Hello")
>
> > But it doen't seem to work when I debugged it. The web-page or the
> > debugger of Visual Basic Developer doesn't show any error message.
>
> > I have tried to disacble IE security features, and also I have enable
> > the option to execute script, but it still doesn't work.
>
> > Cheers,
>
> > Endika

Reply via email to