disable security waarning message from code in javascript?

mcfarland

Member
Joined
Jul 1, 2013
Messages
6
Programming Experience
1-3
Hi,
I have a hyperlink in my aspx page,when i click on that link every times it warns for a security message.Not sure how to disable it.
I can go to internet options ->security->custom level->i can enable dispaly mixed content to enable .but i cannot tell all the users to do that.
Thats why i need to hanle from code.

Here is my javascript file function
function LoadFile() {
var features = "left=100,top=100,height=1110,width=1440,status=no,resizable=yes,toolbar=no,menubar=no,location=no";
window.open("Load_View.aspx", "_blank", features, false);
Is there any property in this function i can add to disable the message.

Same method we are using for print button for this its not shwoing the warning message.
function printApp(appId, userId){
var features = "left=100,top=100,height=600,width=800,status=yes,resizable=yes,toolbar=no,menubar=yes,location=no";
window.open("print.aspn?pid=0&disp=0&appid=" + appId + "&userid=" + userId, "_blank", features, false);

Any help...
 
I tried to do a simple simulation of your LoadFile() problem and can't. Maybe it's the content of the Load_View.aspx? Another question might be if this behaviour occurs in only one specific browser or in multiple browsers?

And can you post the exact message that you get?
 

Latest posts

Back
Top Bottom