I am using asp.net framework 3.5 (ASPX web pages)
I can understand that the IE security settings cannot be changed by ASPX page due to security issues. My question here is to read a security setting to decide whether to display/hide a control on ASPX page through javacript. I want to read "Drag and Drop or
Copy and paste files" security setting of client IE browser.
Scenario here is: I have PASTE button on the page which will paste the clipbooard data (using ClipboardData object) in the datagrid. But the "Drag and Drop or Copy and paste files" setting is disabled on client side in IE, paste functionality does not work.
I want to read this setting in javascript and if this setting is disabled in IE, I will show a textbox before PASTE button to paste the data in that textbox first and then click paste button to fill data in the datagrid.
gajenderpal
0 Points
3 Posts
read Internet Explorer secuity settings on client side
Mar 24, 2011 01:32 PM|LINK
I am using asp.net framework 3.5 (ASPX web pages)
I can understand that the IE security settings cannot be changed by ASPX page due to security issues. My question here is to read a security setting to decide whether to display/hide a control on ASPX page through javacript. I want to read "Drag and Drop or Copy and paste files" security setting of client IE browser.
Scenario here is: I have PASTE button on the page which will paste the clipbooard data (using ClipboardData object) in the datagrid. But the "Drag and Drop or Copy and paste files" setting is disabled on client side in IE, paste functionality does not work. I want to read this setting in javascript and if this setting is disabled in IE, I will show a textbox before PASTE button to paste the data in that textbox first and then click paste button to fill data in the datagrid.
BU XI - MSFT
All-Star
22367 Points
2704 Posts
Microsoft
Re: read Internet Explorer secuity settings on client side
Mar 28, 2011 06:25 AM|LINK
Hello
This may not be likely to happen by javascript. You'll probably need to develop an IE plugin to access the settings. For your interest, http://msdn.microsoft.com/en-us/magazine/cc302068.aspx
If you have any feedback about my replies, please contact msdnmg@microsoft.com.
Microsoft One Code Framework