Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. JavaScript
  4. javascript message on web app

javascript message on web app

Scheduled Pinned Locked Moved JavaScript
javascripthelpcsharpdesign
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    classy_dog
    wrote on last edited by
    #1

    In a vb.net 2010 web form application, I have the following code:

    <%@ Page Title="" Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="default.aspx.vb" Inherits="attendanceletters_default" %>
    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
    <script src="../scripts/jquery-1.3.2.js" type="text/javascript"></script>
    <script src="../scripts/jquery-ui-1.7.2.custom.min.js" type="text/javascript"></script>
    <%If (False) Then%>
    <script src="../scripts/jquery-1.3.2.js" type="text/javascript"></script>
    <% End If%>
    <script src="../scripts/site.js" type="text/javascript"></script>
    <script src="../scripts/json2.js" type="text/javascript"></script>
    function GetStudentLetterTemplate(schoolyear, schoolnum, milestone, studentlink, language, semester) {

            alert('schoolyear: ' + schoolyear + 'schoolnum: ' + schoolnum + 'milestone: ' + milestone + 'studentlink: ' + studentlink + 'language: ' + language + 'semester: ' + semester);
             if (milestone == '999') {
                 alert('You have selected student(s) having more than one CAIP entry for the current school year');
               return;
            }
    

    }

    I want to display a javascript alert message in production when an error condition exists. The code listed above works in a development envirnonment, but the code would not deploy to a test app server. Thus can you show me what I can do to fix the code listed above? If not, would you show me what I can do in a production environment to have a warning message displayed to a user with the least amount of extra code? I do not care how the warning message is displayed, I just want a warning message to be displayed.

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups