The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi,
I am Sabareeswaren doing an In-House Project. I am currently doing a "Video on Demand" project in that i need to show a movie which should appear for a particular time span, after that i should close. My Problem is while running the movie, if i Press F5 or REFRESH button, the movie get stopped and strarts from the beginning. Please do help me to finish this!!!!!!
Thnaks in Advance!!!
Sabareeswaren.
ADAdministrator Syncfusion Team April 5, 2006 11:34 AM UTC
Hi,
You can prevent using the F5 by using the following script ,and this can only be done in IE browser.
if (document.all){
document.onkeydown = function (){
var key_f5 = 116; // 116 = F5
if (key_f5==event.keyCode){
alert("No refresh allowed");
return false;
}
}
}
and not sure about disabling the button in the button bars.
Best Regards,
Hari.