15,895,538 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 Jason Walker (Top 13 by date)
Jason Walker
3-Jan-16 6:13am
View
OK, thanks, watermarking is fine, is there a way to show the image without watermark then if saved to add the water mark?
Jason Walker
2-Jan-16 13:29pm
View
The problem is if they typed that password and we for the rest room and left the laptop open (work environment), then it is a risk, is there a logic view of how to solve this issue!
Jason Walker
24-Dec-15 0:31am
View
What I am trying to say is, instead of redirecting to many pages (using the menu in the master page), i would prefer using tabs (is there a way to make the navigation menu act as tabs in master file) which means, the contents stays in the same page but taken from different pages.
Jason Walker
16-Dec-15 15:41pm
View
Deleted
Thanks, I am having a problem with this. i am trying to assign a session to a field in the table then redirect to page based on that field. Please help!
if (DataReader.HasRows)
{
while (DataReader.Read())
{
var test = DataReader.GetString(5); // gives usermenu
Response.Write(test); // this gives eg. Admin
if (test.ToString() == "Admin")
{
Response.Redirect("~/Admin_Page.aspx");
}
else
{
Response.Redirect("~/Main_Menu.aspx");
}
it should go to Admin page but the form resets and boxes get empty and does't go to either pages (if or else)!
what is the problem with the testing? in the response.write it gets the right information though!
Jason Walker
16-Dec-15 12:48pm
View
Thanks for the tips, I will do that. for the code you provided i get red line under cmd? why is that?
Jason Walker
16-Dec-15 5:02am
View
Thanks, I am new to programming and learning. The code i have is a jquery code but i am not sure where to look to find the area that deals with the area that the model popup blocks or fades.
Jason Walker
16-Dec-15 1:08am
View
Hi,
Thanks for the answer but my code is working. when the alert comes it will block the form it is in but the problem is, the user can click the links and buttons that are included in the master page. how to lock these while the alert box is active? I can click anything within the form but i can click anything that is in the master page. hope you got my point.
Jason Walker
15-Dec-15 2:57am
View
Deleted
ok thanks it is working, how can i change the text value from login to logout? I put the following in the master page:
public LinkButton LButton
{
get { return LButton; }
set { LButton = value; }
}
then i added the following in the .aspx page:
<%@ MasterType VirtualPath="Site.Master" %>
lastly in the code behind i put:
Master.LButton.Text = "logout";
i get an error that says:
stackoverflow exception by user code!
please help...
Jason Walker
14-Dec-15 15:00pm
View
thanks alot, what about disabling menu items from master page?
Jason Walker
14-Dec-15 14:28pm
View
Could you help me with an example of each or link to help page with examples?
Jason Walker
14-Dec-15 13:11pm
View
I did it, thanks. now the question is, how to lock the master page items from clicking as what happened is, it is blocking the items in the form and not the master form.
Jason Walker
13-Dec-15 15:53pm
View
error: null reference exception was unhandled by user code
it is pointing at:
context.Session["KeepSessionAlive"] = DateTime.Now.ToString();
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace CountDownDialogDemo
{
///
/// Summary description for KeepAlive
///
public class KeepAlive : IHttpHandler
{
public void ProcessRequest(HttpContext context)
{
context.Session["KeepSessionAlive"] = DateTime.Now.ToString();
}
public bool IsReusable
{
get
{
return false;
}
}
}
}
Jason Walker
13-Dec-15 15:44pm
View
error: null reference exception was unhandled by user code
it is pointing at:
context.Session["KeepSessionAlive"] = DateTime.Now.ToString();
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace CountDownDialogDemo
{
///
/// Summary description for KeepAlive
///
public class KeepAlive : IHttpHandler
{
public void ProcessRequest(HttpContext context)
{
context.Session["KeepSessionAlive"] = DateTime.Now.ToString();
}
public bool IsReusable
{
get
{
return false;
}
}
}
}
Show More