Click here to Skip to main content
15,896,348 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Friend,

Through aplication i am sending mail and in that mail there is link for Outlook Calender file to Download. it works in other than the IE. But in IE browser it not downloads the file. If i change the security settings for my browser then it downloads the file. Is it possible through coding to change the users browser setting. If user is using the IE. If any one has solution Plz help me.
Posted

Simple answer is NO, you can't change the browser settings on client machine. That is gross violation of security and hence no browser will allow that.

For your problem you have to find a work-around i.e. advise client to put the domain in trusted site and add email id in trusted sender in the mail system. And then pray that majority of the user will take the advise :-)

Thanks
Milind
 
Share this answer
 
Comments
bbirajdar 15-Oct-12 7:35am    
Agreed ..100%.. Especially the last sentence...
Vaishali P. Patil 15-Oct-12 7:58am    
Thanks.
MT_ 15-Oct-12 8:01am    
@aspnet_regiis: Yes, with most of the browser issues, thats what we can do.
@vaishali: Does that answer your question. If it does, feel free to mark it as answer/upvote.
Vaishali P. Patil 15-Oct-12 8:03am    
Can we give message to user that for IE there is need to change the setting if user is using the IE
MT_ 15-Oct-12 8:07am    
You need to give information either in mail or if you are giving link to web-page instead of downloadable file, a message there on the page will help
Yes, You can detect the browser, use/refer Jquery library in your code :
C#
if ($.browser.safari)
                            {
                                alert('this is safari');
                            }
                            else if($.browser.chrome)
                            {
                               alert('this is chrome');
                            }
                            else if($.browser.mozilla)
                            {
                                alert('this is mozilla');
                            }
                            else if($.browser.opera)
                            {
                                alert('this is opera');
                            }
                            else if($.browser.msie)
                            {
                                alert('this is msie');
                            }
                            else
                            {
                                alert('this is some other browser');
                            }


Thanks,
Ambesha
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900