Web Forms :: How To Disable Print Screen In Chrome,FF,Opera,Safari
Jan 18, 2011[Code]....
Now i need to disable for Other Browser also ...
[Code]....
Now i need to disable for Other Browser also ...
How to Disable print, print screen, right click using asp.net
View 4 RepliesI Have Print Screen Disable For IE, I Need To Disable Print Screen in Chrome, FF, Opera, Safari ....
View 1 RepliesI usually use Firefox & IE on my Vista PC and the images on my site's first page are just fine. But I checked out my page in Safari and the images are all misshapen. Here's the code I'm using:
[Code]....
If you'd like to see the page it's here:[URL]
I couldnt test the page in Safari, dont have a way to get around the cert error since its our dev server. Either way the page looks like crap on everything but IE.
I have 3 small tables on a page.. small as in 4 rows and 3 columns when viewed in the 3 browsers, the columns seem to push over to the left and fall under the first.. so when you view the page what should be 4 rows and 3 columns now looks like 7 rows.. that only way i can explain it.
My pdf file open in new tab using chrom and firefox.In opera it is open in new window.but i want pdf file open in new tab.
View 1 RepliesI have question regarding printer option page which pop up when i click on print button on crystalreportviewer and when i click okay on that pop up page it displays print preview of the report.
Is there any way to skip that pop up window(Printer Option) and just display (PDF)print preview screen instead?
(I am not exporting report to pdf, just want to display printview screen and when the user click on print button it will print out the page)
I have tried following code but i am getting error:
"Object reference not set to an instance of an object."
[code]....
this code does not work in any other browser other than Internet Explorer, I could tell that happens, I've seen that in MVC2 was a known bug, I thought I updated to MVC 3 this was corrected, but still the same.The problem itself is that it shows as null ActionResult and I have no idea how to detect, the code I use is:
<% using (Ajax.BeginForm("CmdApply", new AjaxOptions { HttpMethod = "Post", UpdateTargetId = "RenderPartialId", Confirm = "Seguro de continuar", OnComplete = "showCurrentPage", OnBegin = "ShowBeginSearch", OnSuccess = "CloseDialogSearch" }))
{%>
<input id="GoPageSubmit" type="submit" name="GoPageSubmit" value="<%=Resources.s2olMVC.Search_GoPageTitle %>" />
<input id="SubmitNext" type="submit" name="SubmitNext" value=">"/>
<input id="SubmitNextLast" type="submit" name="SubmitNextLast" value=">>" />
<%}
%>
In ActionResult, the two n submit it recognizes, as if none, shown in Null There is another way to implement this type of submit? In Internet Explorer everything works fine.
trying to support my listbox control in safari/chrome as it works in ie. there are instances when i want the control to be 1 row high, but i do not want it to render like a dropdownlist. so, i set .SelectionMode = ListSelectionMode.Multiple. This works in IE...I have a 1 row high listbox that does not render like a dropdownlist. Is it possible to render the same thing in safari or chrome? currently, if i set .Rows = 1, it renders 3 high in safari/chrome. if i don't set .SelectionMode = ListSelectionMode.Multiple then i see a dropdownlist.
View 4 RepliesI have the following code and when I click on "Edit" using Chrome or Safari, nothing happens.
[Code]....
I tried to remove my AJAX Updatepanel and the gridview worked.
We are using Web Part Zones to display certain Charts in our website. In the title of the Zone, we are using the below code to display the menu for Minimize, Refresh and Close buttons.
<CloseVerb ImageUrl="~/Images/Close.png" />
<MenuVerbStyle BorderColor="#5D7B9D" BorderStyle="Solid" BorderWidth="1px" ForeColor="White" />
<TitleBarVerbStyle CssClass="WPVerbBar" />[code]....
This buttons are working fine in IE and in Firefox. But the same is not working in Chorme and in Safari.We got the below script error in Chrome:
Uncaught TypeError: Object #<an HTMLElement> has no method 'attachEvent'
ScriptResource.axd?d=JgYxHqt6li1Lc12at8VRK-y-qeXK_5Wiei-tKNUi8rRE-1X5EEl-KvYEuW4m8Foj1VyIiaN7sK98_-pMwa5y7w2&t=633802855995006876:277Uncaught TypeError: Object #<an HTMLElement> has no method 'attachEvent'
i have gridview its working in IE and FF fine, but when i'm run in the Google chrome and safari, i gor outside border.
how i can rmove the only outside border to this both broswer?
here is the code of listview:::
[code]...
SiteMap is not clickable on Firefox,Chrome and Safari But works perfecly fine on IE..Here is the code;
div.logintext {
position: relative;
top: 25%;
display: table-cell;
vertical-align: middle;
text-align: left;
[code]...
I've defined node styles for my TreeView instance in markup (using <LevelStyles> for example). Everything renders correctly in IE7/8 but, when rendering in Chrome, Safari or FireFox, the styles are not being applied. From looking at the source code for the page, I can see that the various runtime css classes are being injected into the top of the page, but the class attributes on the <a> tags (within the generated TreeView HTML) are empty (class=""). In IE, the class attributes contain references to the classes that were injected into the page.
Can anyone explain why this is happening? I can see no logical explanation for this, and it's a big issue - My client primarily uses Safari, as they're Mac based.
I am giving external css path in aspx page via
<link rel="stylesheet" media="all" href="file:///D:/CSS/Style.css" type="text/css" />
its works fine in firefox and ie while access that page.
but when i open this page in chrome or safari.
it does'nt do anything and no css is applying.
I am using the CalendarExtender and I've found it works fine in all browsers except for any version of Google Chrome and Safari 4.
In these browsers the calendar appears either on top of the textbox or near the top of the screen instead of under the textbox.
You can reproduce this behavior by going to: http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Calendar/Calendar.aspx
I'm having problems with FileResult returning a file with a specific filename. In the database the filename is just and ID + extension (e.g: 456789.mp3)
This piece of code
FileStream fs = new FileStream(filePath, FileMode.Open, FileAccess.Read);
return File(fs, "application/octet-stream", "myfile.mp3");
Work well in every browser except Webkit browsers (Chrome, Safari). Chrome and Safari receive files as original filename (456789.mp3). When I add headers with
Response.AppendHeader("Content-Disposition", "attachment;filename=myfile.mp3");
Safari receives the file as myfile.mp3attach (notice "attach" appended to the extension?), however Chrome receives this file as myfile.mp3,attach (it appends ",attach" to the extension)
I have a problem with a script for a image gallery. The problem seems to only occur on Safari and Chrome, but if I refresh the page I get it to work correctly - weird!
Correct function:The gallery has a top bar, which if you hover over it, it will display a caption. Below sits the main image. At the bottom there is another bar that is a reversal of the top bar. When you hover over it, it will display thumbnails of the gallery.
The problem:In Safari and Chrome, the thumbnail holder will not display. In fact, it doesn't even show it as an active item (or a rollover). But oddly enough, if you manually refresh the page it begins to work correctly for the rest of the time you view the page. Once you have left the page and return the same error occurs again and you have to go through the same process.
Here's one of the pages to look at:
link text
Here's the CSS:
#ThumbsGutter {
background: url(../Images/1x1.gif);
background: url(/Images/1x1.gif);[code]....
I am unable to paste the content to a textbox whose property "Textmode"is multiline this issue is happening in google chrome and safari browsers
View 1 RepliesIs there anyway to get the MaskedEditExtender to work with Safari or Chrome? Any kind of hack or workaround?
View 4 RepliesI'm having problems using an IHttpHandler on PDF files.
I'm redirecting "*.pdf" in <httpHandlers> of web.config to a IHttpHandler class that blocks access unless the user is authenticated.
Code:
<add verb="*" path="*.pdf" type="Handler.Class, Handler.Dll.Name" />
I have no problems accessing any PDF file from firefox while authenticated, but when accessing using any other browser (chrome/safari/opera) I only get a blank page appearing with no content. Accessing the PDF files from other computers gets the same result (blank page) including firefox on other computers.
Contents of the IHttpHandler:
C# Code:
[code]....
I am using the ASP.NET Ajax controls UpdatePanel and UpdateProgress. The idea of a the UpdateProgress control is to display a message while the page is performing a partial postback, then disappear when the postback completes. On Firefox and Internet Explorer, this happens correctly. However, on Safari and Chrome the UpdateProgress control remains visible after the postback completes. Is this a bug in the ASP.NET Ajax Framework, or is there another workaround?
View 1 RepliesI've had an issue with a javascript menu not working inside an Ajax update panel after the ajax postback. I was able to solve this in IE by calling the menu js function with a pageLoad() function which is automatically called by ajax. However I then discovered it doesn't work in any other browser.
Having search around I've only found two references to the issue; one where someone else has found the same thing and another where someone states that pageLoad isn't stable in other browsers.
Is there any way to solve this issue in browsers other than IE?
The strangest thing: Safari 4 will show me the HTML in View Source but it will not render the content in the page. Chrome 5 which is supposed to be the same WebKit parser renders the page as expected. Where could I possibly start to debug this?
View 1 Replies