Click here to Skip to main content
16,006,373 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: input type as 'button' in asp.net page Pin
Guffa18-Jan-07 19:22
Guffa18-Jan-07 19:22 
AnswerRe: input type as 'button' in asp.net page Pin
minhpc_bk18-Jan-07 19:26
minhpc_bk18-Jan-07 19:26 
AnswerRe: input type as 'button' in asp.net page Pin
Vsree18-Jan-07 20:06
Vsree18-Jan-07 20:06 
QuestionRecursive function for finding the control in user control Pin
Rajesh_K_Sharma18-Jan-07 18:45
Rajesh_K_Sharma18-Jan-07 18:45 
AnswerRe: Recursive function for finding the control in user control [modified] Pin
minhpc_bk18-Jan-07 19:23
minhpc_bk18-Jan-07 19:23 
AnswerRe: Recursive function for finding the control in user control Pin
Christian Graus18-Jan-07 22:00
protectorChristian Graus18-Jan-07 22:00 
GeneralRe: Recursive function for finding the control in user control Pin
Rajesh_K_Sharma19-Jan-07 6:13
Rajesh_K_Sharma19-Jan-07 6:13 
QuestionJavaScript Problem Pin
varshavmane18-Jan-07 18:00
varshavmane18-Jan-07 18:00 
Hi All,

I have to disable right of the Browser.I got the script on net and use that but when I include it in .js file my application doesnot work it shows login screen where right click is disable but when I click login but it doesnt go inside the main page.

Can anyone tell me what is the problem in the script.
Following is the script:

var message="Function Disabled!";
function clickIE4()
{
if (event.button==2)
{
alert(message);
return false;
}
}
function clickNS4(e)
{
if (document.layers||document.getElementById&&!document.all)
{
if (e.which==2||e.which==3)
{
alert(message);
return false;
}
}
}

if (document.layers)
{
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById)
{
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("return false")
Thanks in advance.
QuestionCrystal Reports Pin
AmolGr18-Jan-07 17:55
AmolGr18-Jan-07 17:55 
AnswerRe: Crystal Reports Pin
VMSSanthosh18-Jan-07 18:28
VMSSanthosh18-Jan-07 18:28 
GeneralRe: Crystal Reports Pin
AmolGr21-Jan-07 22:57
AmolGr21-Jan-07 22:57 
QuestionPerformance Issue with Crystal Reports and ASP.Net Pin
Vamsi Mohan Harish18-Jan-07 16:54
Vamsi Mohan Harish18-Jan-07 16:54 
AnswerRe: Performance Issue with Crystal Reports and ASP.Net Pin
VMSSanthosh18-Jan-07 18:21
VMSSanthosh18-Jan-07 18:21 
QuestionPort Conflict Pin
dhulipudi18-Jan-07 15:14
dhulipudi18-Jan-07 15:14 
AnswerRe: Port Conflict Pin
Venkatesh Mookkan18-Jan-07 16:17
Venkatesh Mookkan18-Jan-07 16:17 
Questionsearch option in asp.net Pin
saravanan0518-Jan-07 11:48
saravanan0518-Jan-07 11:48 
AnswerRe: search option in asp.net Pin
Jon Sagara18-Jan-07 11:52
Jon Sagara18-Jan-07 11:52 
QuestionUser authentication ASP -> ASP.NET page Pin
robert11018-Jan-07 11:42
robert11018-Jan-07 11:42 
AnswerRe: User authentication ASP -> ASP.NET page Pin
Christian Graus18-Jan-07 13:22
protectorChristian Graus18-Jan-07 13:22 
QuestionJavascript detection Pin
Rojan Gh.18-Jan-07 10:59
professionalRojan Gh.18-Jan-07 10:59 
AnswerRe: Javascript detection Pin
Guffa18-Jan-07 11:06
Guffa18-Jan-07 11:06 
GeneralRe: Javascript detection Pin
Rojan Gh.18-Jan-07 11:27
professionalRojan Gh.18-Jan-07 11:27 
GeneralRe: Javascript detection [modified] Pin
Guffa18-Jan-07 11:53
Guffa18-Jan-07 11:53 
GeneralRe: Javascript detection Pin
Rojan Gh.18-Jan-07 12:20
professionalRojan Gh.18-Jan-07 12:20 
QuestionUsing webservice call in Yahoo UI Lib Pin
PrashantJ18-Jan-07 10:52
PrashantJ18-Jan-07 10:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.