How to use a messagebox in asp.net

A

Aidy

my point was that you appear to believe that hacking about with aspx files
is acceptable, and I don't...

What if you need to increase the margin on a DIV or add some extra fields?
Do all of your aspx pages look like this?

<asp:Literal ID="HTMLCodeGoesHere" runat="Server"/>
 
M

Mark Rae

What if you need to increase the margin on a DIV or add some extra fields?

I make any and all modifications as required in the development environment,
rebuild the project and deploy to the test environment. When the testing is
complete, depending on the client, an outage is scheduled and the code is
deployed live. Depending on the size of the project, deployment to live
typically takes around a minute.

What do you do...? Do you just go hacking at the aspx pages on the live
server simply because you can...?
Do all of your aspx pages look like this?

<asp:Literal ID="HTMLCodeGoesHere" runat="Server"/>

??? Of course they don't - what an incredibly strange question...
 
G

Guest

You can try this

in visual basic:
Response.Write("<script language ='javascript'>" & "alert('This is the
message');" & "</script>")
Response.End()

in C#
Response.Write("<script language ='javascript'>" + "alert('This is the
message');" + "</script>");
Response.End();

Dont forget to message me on (e-mail address removed) for more codes
 
M

Mark Rae

in visual basic:
Response.Write("<script language ='javascript'>" & "alert('This is the
message');" & "</script>")
Response.End()

in C#
Response.Write("<script language ='javascript'>" + "alert('This is the
message');" + "</script>");
Response.End();

Or, if you wanted to use something a little less outdated, you'd use the
ClientScript object...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top