How to use a messagebox in asp.net

  • Thread starter Thread starter Guest
  • Start date Start date
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"/>
 
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...
 
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
 
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...
 
Back
Top