Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 940595
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T21:58:58+00:00 2026-05-15T21:58:58+00:00

Hide/Close Loginform.aspx if userid/password is correct then show newform.aspx and how to create message

  • 0

Hide/Close Loginform.aspx if userid/password is correct then show newform.aspx and how to create message box on asp?That will pop up Message: Login Successfull.

Help please..I am exploring ASP net as a Beginner.

Thanks..

How can i get the username value from loginform.aspx to newforms.aspx so thati can also get its value for my sql queries insert/update.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T21:58:59+00:00Added an answer on May 15, 2026 at 9:58 pm

    In a web application scenario, if LoginForm.ASPX is your login web page, then on successful validation of your login credentials, there is no need to close / hide LoginForm.aspx.

    All you need to do is navigate from this page to the next page i.e NewForm.aspx.
    Navigation from one page to another can be done by using a Server.transfer / Response.Redirect.

    The equivalent of a messageBox (Windows Forms) in an Web Forms Scenario is done by using the “alert” function in Javascript. This can be controlled by using the RegisterClientScript facility for adding javascript to your NewForm.aspx to popup the alert on load.

    In most login use cases, there is usually no need to show a message that the login was successful but if thats ur requirement, i would avoid using alerts in web applications as they are modal and hence tend to be a bit irritating – if all you are doing is just conveying information (in this case – that the login is successful). You may be better off just adding a message in your application header – if u have one / or a label at the top of NewForm.aspx showing that login was successfully done.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to create a button to show / hide a div below it,
In this javascript hide/show example, how can I close all other divs when a
I want to dynamically hide/show some of the columns in a NSTableView, based on
How to hide controller name in Url? I use the ASP.NET MVC. The original
How can I make sure that the window doesn't close before the form is
I want to hide the close button in the title bar of the dialog
$('.ui-dialog-titlebar-close ui-corner-all').hide(); this is the hide for my Jquery dialog close 'X' span.. this
i'v made toolbar for IE, and want to hide leftside-close-button. What is the way
I need to hide a detail view that is shown when clicked on a
I am attempting to create a login system that has two access levels. If

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.