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. ASP.NET
  4. web form using javacript

web form using javacript

Scheduled Pinned Locked Moved ASP.NET
questioncsharpjavascriptdatabase
6 Posts 5 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.
  • D Offline
    D Offline
    dcof
    wrote on last edited by
    #1

    In a vb.net 2010 webform application, I am going to display a popup javascript alert message for the user when there are 2 records in the database for the current school year for each unique student. This popup message is displayed since the user needs to update the database using vendor software. For the javacript alert message, I have the following questions: 1. At the top the alert message, it says 'Message from Web Page' since that is probably the default value. Is there a way that I can change this message to something I want? If so, how can I change the message? 2. I am wondering what if there maximum length that I can display in the error message? If so, what is the maximum length? 3. Can I extend the maximum size of the message and if so, can you show me how to extend the size of the error message? 4. Can I change the display icon to be an error instead of a warning? If so, how would I accomplish this goal?

    P F Richard DeemingR L 4 Replies Last reply
    0
    • D dcof

      In a vb.net 2010 webform application, I am going to display a popup javascript alert message for the user when there are 2 records in the database for the current school year for each unique student. This popup message is displayed since the user needs to update the database using vendor software. For the javacript alert message, I have the following questions: 1. At the top the alert message, it says 'Message from Web Page' since that is probably the default value. Is there a way that I can change this message to something I want? If so, how can I change the message? 2. I am wondering what if there maximum length that I can display in the error message? If so, what is the maximum length? 3. Can I extend the maximum size of the message and if so, can you show me how to extend the size of the error message? 4. Can I change the display icon to be an error instead of a warning? If so, how would I accomplish this goal?

      P Offline
      P Offline
      Peter Leow
      wrote on last edited by
      #2

      Explore: 1. Dialog | jQuery UI[^] 2. Its Documentation[^] 3. Using jQuery with ASP.NE[^]

      Peter Leow https://www.amazon.com/author/peterleow

      1 Reply Last reply
      0
      • D dcof

        In a vb.net 2010 webform application, I am going to display a popup javascript alert message for the user when there are 2 records in the database for the current school year for each unique student. This popup message is displayed since the user needs to update the database using vendor software. For the javacript alert message, I have the following questions: 1. At the top the alert message, it says 'Message from Web Page' since that is probably the default value. Is there a way that I can change this message to something I want? If so, how can I change the message? 2. I am wondering what if there maximum length that I can display in the error message? If so, what is the maximum length? 3. Can I extend the maximum size of the message and if so, can you show me how to extend the size of the error message? 4. Can I change the display icon to be an error instead of a warning? If so, how would I accomplish this goal?

        F Offline
        F Offline
        F ES Sitecore
        wrote on last edited by
        #3

        1 No 2 & 3 None but if the message gets too big it is unreadable 4 No Alert has no real use outside of debugging, if you want to show a "popup" or modal message then look at a jQuery plug-in for it. jQuery UI comes with one but there are many others if you google "jquery modal plug-in".

        1 Reply Last reply
        0
        • D dcof

          In a vb.net 2010 webform application, I am going to display a popup javascript alert message for the user when there are 2 records in the database for the current school year for each unique student. This popup message is displayed since the user needs to update the database using vendor software. For the javacript alert message, I have the following questions: 1. At the top the alert message, it says 'Message from Web Page' since that is probably the default value. Is there a way that I can change this message to something I want? If so, how can I change the message? 2. I am wondering what if there maximum length that I can display in the error message? If so, what is the maximum length? 3. Can I extend the maximum size of the message and if so, can you show me how to extend the size of the error message? 4. Can I change the display icon to be an error instead of a warning? If so, how would I accomplish this goal?

          Richard DeemingR Offline
          Richard DeemingR Offline
          Richard Deeming
          wrote on last edited by
          #4

          OK, WTF is going on here? :mad: Your question is an exact copy of this other question[^], posted by a different user. At first I thought yours was the original, since the other message looks like it's been copied from somewhere. Then I checked the timestamp - your message was posted eight hours after the other copy. If you own both accounts, then one or both is a "sock-puppet" account, which is considered abuse. If you don't, then you've reposted someone else's question, which is also abuse.


          "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

          "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

          L 1 Reply Last reply
          0
          • D dcof

            In a vb.net 2010 webform application, I am going to display a popup javascript alert message for the user when there are 2 records in the database for the current school year for each unique student. This popup message is displayed since the user needs to update the database using vendor software. For the javacript alert message, I have the following questions: 1. At the top the alert message, it says 'Message from Web Page' since that is probably the default value. Is there a way that I can change this message to something I want? If so, how can I change the message? 2. I am wondering what if there maximum length that I can display in the error message? If so, what is the maximum length? 3. Can I extend the maximum size of the message and if so, can you show me how to extend the size of the error message? 4. Can I change the display icon to be an error instead of a warning? If so, how would I accomplish this goal?

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            You already posted this question under your other username at javacript alert message - JavaScript Discussion Boards[^]. Please do not abuse the forums in this way.

            1 Reply Last reply
            0
            • Richard DeemingR Richard Deeming

              OK, WTF is going on here? :mad: Your question is an exact copy of this other question[^], posted by a different user. At first I thought yours was the original, since the other message looks like it's been copied from somewhere. Then I checked the timestamp - your message was posted eight hours after the other copy. If you own both accounts, then one or both is a "sock-puppet" account, which is considered abuse. If you don't, then you've reposted someone else's question, which is also abuse.


              "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              And he's been doing this for nearly five years.

              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