15,891,567 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 Member 11770244 (Top 4 by date)
Member 11770244
14-Jul-16 5:16am
View
public static void switchToOtheruser(int UserID)
{
using (var context = new Context(DALBase.GetConnectionString()))
{
var usr = context.Users.FirstOrDefault(m => m.UserID == UserID);
LoginUtils.Login(usr.LoginName, Crypto.Decrypt(usr.LoginPassword));
}
}
and it is a web method
Member 11770244
14-Jul-16 5:09am
View
dto: {
UserID: $('#userList').val()
}
i am sending dropdownlist selected value to code behind
Member 11770244
13-Jul-16 13:13pm
View
http://localhost:1971/MyHome.aspx/switchToOtheruser Failed to load resource: the server responded with a status of 401 (Unauthorized),the above issue was i am getting please provide me any solutions for the above.
Member 11770244
29-Jun-16 9:42am
View
my code in js file:
var dialog = renderer.create('<div class="modal" aria-hidden="false" tabindex="-1"/>', function ($node, options) {
if (options.fade) {
$node.addClass('fade');
}
$node.html([
'<div class="modal-dialog">',
' <div class="modal-content" ">',
(options.title ?
' <div class="modal-header">' +
' <button type="button" class="close" id="btnClose" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>' +
'
' + options.title + '
' +
' </div>' : ''
),
' <div class="modal-body">' + options.body + '</div>',
(options.footer ?
' <div class="modal-footer">' + options.footer + '</div>' : ''
),
' </div>',
'</div>'
].join(''));
});
within that data-dismiss="modal",because of that it is was closing complete modal,i don't want to close complete modal i want to close inside summary dilogs when click on close button icon,plese help me out,it's urgent