Solved and the Msgbox minizing on taskbar -

Posted on 2011-10-14
Last Modified: 2012-05-12
Hi folks!
  I am using MS Visual Studio 2010 Express and have created an inout page, test.aspx page and naturally it created a test.aspx.vb page for the coding. In the test.aspx.vb page, I have a valdiation routine that occurs when they submit the form. I do not want to use the RequiredValidtors control so thus, my own validation rtn. The PROBLEM is when I test the page, the msgbox will often minimize itself to the task bar and if this is happening while testing, it is going to happen when live. How do I prevent it from doing so and staying on "top" for the user?
I am open to any suggestions....
Question by:Overthere
    LVL 16

    Expert Comment

    so you are running javascript to show up the messagebox from server side?

    Author Comment

    No, I couldn't get the values from my textboxes using javscript - I think I am not constructing it right in javascript - for example in my old page under older software I could do this in javascript:

    if (document.Form1.txtFName.value == "")
               missinginfo += "\n First Name missing";

    And use an alert box but in this software, that won't fly....:(

    So I am using vbscript on the test.vb.aspx page but will want to move it to the test.aspx page checking it under isPostback
    The end goal is to validate the fields naturally and then if okat, create an email message to rescue group. It's an input form for adopting a dog and I am really under the gun..
    Open to any suggestions...
    LVL 7

    Accepted Solution

    I am not sure if I understood the question correctly. I guess you wanted to display a javascript alert kind of message. I would suggest ajax model popup extender. It is accessible from code behind as well as from client side. So just perform your validation and display the validation messages in a div wrapped in model popup extender. It has various properties to set the location, background color, position and size.
    check for more info

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    User art_snob ( encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
    I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
    The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…
    The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now