15,905,414 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by raj1990m (Top 13 by date)
raj1990m
13-Feb-14 23:31pm
View
i created Login and Register Screen.when user clicks the login and register page.it will open in ajax modal popup window...how to register and login using modal popuup window
raj1990m
29-Jan-14 12:02pm
View
http://www.codeproject.com/Questions/717205/i-cant-update-table-value-using-editable-property
solve this problem
raj1990m
16-Jan-14 0:53am
View
please reply to this
raj1990m
11-Jan-14 1:19am
View
i want show login page as a popup window...i configured default page in web.config..tell any other solution
raj1990m
10-Jan-14 0:54am
View
http://www.codeproject.com/Questions/708829/how-to-close-javascript-popup-window-when-user-log
solve this
raj1990m
10-Jan-14 0:52am
View
i cant close javascript popup window if login authentication is success and it should redirect to parent page
raj1990m
10-Jan-14 0:08am
View
http://www.codeproject.com/Questions/708829/how-to-close-javascript-popup-window-when-user-log
solve this
raj1990m
9-Jan-14 4:59am
View
i have a gridview in shopping cart page.when user selected the product.i want to calculate how many rows in gridview on master page dynamically? solve this query
raj1990m
9-Jan-14 4:55am
View
cant solve my query?
raj1990m
9-Jan-14 2:17am
View
i posted my query on where u was answered...solve that problem
raj1990m
9-Jan-14 2:06am
View
its working tadit.thanks
now i want to close login window(its small window like ajax popup window) when user authenticate is success.if username and password is success means its redirect to some other page..solve this problem
this my code
login.aspx
<script type="text/javascript">
function CloseWindow() {
window.opener.location.href = 'welcome.aspx';
window.close();
}
</script>
code behind page
if(Membership.ValidateUser(txtUserName.Text,txtPWD.Text)==true)
{
Session["username"] = User.Identity.Name;
FormsAuthentication.RedirectFromLoginPage(txtUserName.Text, true);
FormsAuthentication.RedirectFromLoginPage(txtUserName.Text, RememberMe.Checked);
ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "popup", "<script type='text/javascript'>CloseWindow();</script>", true);
}
else
{
msg.Text="invalid username and password";
}
raj1990m
9-Jan-14 0:27am
View
ya its working thanks...in same page am doin another concept...if its not works...i will post to u it
raj1990m
8-Jan-14 23:35pm
View
i posted another query with code...try to solve it
Show More