Click here to Skip to main content
11,701,616 members (68,899 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: ASP .NET
Hi All,

Now i have this problem, My login is like pop window. which is opened when am click account login. It will show centre of my screen. My pop login window have 3 buttons, Login, Reset,
NewUser. If am give any wrong input to my login window na, my pop is automatically closed. But i dont need this. If i enter wrong input give alert message and login windows available at same position. Here am using only div for create login window.

Thanks and Regards,

Dhineshkumar V
Posted 4-Jul-13 2:22am
Tadit Dash at 4-Jul-13 10:46am
If the popup is opened by code, then you must be closing it somewhere, when you get wrong ids.

So, check that line and try to open an alert there.
RLH68 at 5-Jul-13 18:10pm
If the login popup causes the page to post back then you may have to do something to show the popup after the page is reloaded after the post back.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Use Webmethods(Ajax) for all your respective buttons(Login,Reset and NewUser)...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 324
1 Maciej Los 275
2 Sergey Alexandrovich Kryukov 250
3 Mika Wendelius 189
4 CHill60 110
0 OriginalGriff 8,274
1 Sergey Alexandrovich Kryukov 7,317
2 CPallini 4,912
3 Maciej Los 4,146
4 Mika Wendelius 3,556

Advertise | Privacy | Mobile
Web01 | 2.8.150819.1 | Last Updated 15 Jul 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100