Activex Control To Work In FireFox And Google Chrome?
Feb 11, 2010I developed a activex control, it can work well in IE, but not in firefox , is it possible for my activex control to work in FireFox and Google Chrome?
View 1 RepliesI developed a activex control, it can work well in IE, but not in firefox , is it possible for my activex control to work in FireFox and Google Chrome?
View 1 RepliesI am using javascript based calendar control in my application.
Following is my .aspx and .aspx.cs file.:
.aspx file:
[Code]....
.aspx.cs:
[Code]....
On click of hyperlink we are opening javascript calendar and assiging it to textbox.
The same functionality is working in IE, but its not working in Mozilla firefox and Google chrome.
This is one of the major problem i am facing in entire application.
I want to make my application to be work fine on multiple browser.
I want to open a popupwindow (with close button only) when the user clicks a button and the parent window should be disabled until the popup window closed. For that I'm using the following code
function popup_window(url) {
popupwin = window.showModalDialog(url,null,'height=20,width=150,status=no,resizable=no,scrollbars=no,toolbar=no,location=no,menubar=no');
}
Anyhow, this code is working perfectly in IE. But, I hav two problems. In firefox, it is not opening with the size I've mentioned in the script. It is opening in full size. And In Google Chrome, parent window is not getting disabled.
I am having an issue with images not showing in Chrome or FireFox. In chrome i get this message in the Console "Not allowed to load local resource.". The images appear fine and correct in IE11 & MS Edge. I'm assuming this is some king of security problem I need to address, but am not at all sure what.
I have posted the code behind and Mark Up below.
// Code Behind
string imgPath = Server.MapPath("/images/");
List<FileInfo> images = new List<FileInfo>();
[Code].....
I have textbox in my page that I put this attribute for it TextMode="MultiLine"..here user can change width and hight of textbox with mouse..I couldn't find any attribute for textbox that din't allow users to change width and hight of textbox.
View 1 RepliesI was trying to prototype some jQuery-based menu into ASP.NET MVC. Just to name two examples here: [URL]Their demo page looks great, but when I integrate their sample code into MVC, the script no longer works in IE and FireFox, but it seems to work just fine under Google Chrome. Can someone kindly enough to point out what I missed? I will be honest here. I am still new to JavaScript. I have placed a copy of my VS2010 solution zip file @ [URL] Here is what I did. In the Site.Master, I have something like
<body>
<div class="page">{truncated...}</div>
<script src=[URL]" charset="utf-8"></script>
<asp:ContentPlaceHolder ID="ScriptContent" runat="server" />
</body>
And inside View file, I have the following
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div id="original">
{some demo block, copied from javascript demo}
</div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ScriptContent" runat="server">
<script type="text/javascript" src="<%= Url.Content("~/Scripts/jquery.columnview.js") %>" />
<script type="text/javascript">
$(document).ready(function () {
$('#original').columnview();
});
</script>
</asp:Content>
Compiled the code and ran it under IE. Ideally, it should work like the demo in [URL], but in reality, it only displays unordered list in plain view. (If you download the solution file and run it, you should be able to repro this as well). Next, tried with FireFox, not working either, same result as IE. Finally, when I try it under Google Chrome 4.1 (lastest version), and the script displays just fine.
I have the following controller:
using System;
using System.Collections.Generic;
using System.Linq; [code]....
When I click the action link in IE the controller code runs but the div is NOT updated. Do it in ANY other browser and it works just fine. Is this (yet another) known problem/bug with IE??
I have a GridView that is inside a Web User Control, that is inside an ASPX Page, that is wrapped by the Master Page.
Inside a GridView, I have a template field with DateTime type that has a TextBox inside EditTemplate. I extended this TextBox with CalendarExtender and it works ok in Internet Explorer.
I also have a DetailsView control on the same WebControl that I use to Insert new enrty. InsertTemplate for this field is the same as in GridView (Textbox with Calendar extender).
The problem occures when i click on the Edit link (or try click on the link that displays DetailsView in Insert mode for adding new entry) in any other browser: Chrome, Firefox, Opera.
The problem itself is that the calendar extender does not get poped out. I have a UpdateProgress Control on an ASPX page, that thie control is loaded into, that shows loading image while page is being posted back asynchronously.
In internet explorer the loading image is shown for jst a moment and then dissapears. Calendar extenders works perfectly.
As for the other browsers, the loader does not dissapear and none of ths postback links are working, as if it was waiting for the previous postback event or something else to finish. Finally I have to reload the page to get to the inicial stage or click a direct URL link to get somewhere else.
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.
I am using update panels with Update mode conditional in by aspx page. The page is functioning properlly in the IE.8.0 but the page content is not posting when i open it in the Google Chrome or Mozilla Firefox.
FYI I am using Update panels for drop down lists and buttons and in the triggers also i am using similar controls.
I have three reorder lists on a page, one does not want to work. It is no different to the others, but is behaving like it is not enabled.All working fine in IE 7 + 8.
View 1 RepliesThe right sides of the dynamic menu items are being chopped off. Also, the entire menu is moved slightly to the left in both browsers. I have been searching for a solution but everything I find so far with Google talks about a problem with the menu not starting on the correct node but I am not having that issue.
View 2 RepliesI am having an issue with the hyperlinks that are created as part of a horizontal menu control. You have to position the cursor in a very narrow range near the very top of the menu option to find the hyperlink associated with that menu option. This is only the case with Firefox and Chrome. You can try it for yourself at [URL] Try clicking any one of the horizontal menu options ("Services" for example. You will see that it is very particular where it will allow you to click to activate the hyperlink. Markup:
[Code]....
Skin:
[Code]....
CSS:
[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.
Currently I have written the Activex Control for RFID USB reader and calling that one in ASP.NET web application. The Activex Control is working fine when I will give the full trust permission for particular IIS URL in
1. Open Control Panel > Administrative Tools > .NET Framework 2.0 Configuration
2. Expand Runtime Security Policy > Machine > Code Groups > All_Code
3. Right Click All_Code and click New...
4. Create a new code group, I named mine MyProject_FullTrust_Zone
5. Choose the URL condition type and specify the path on the network where the apps will be deployed.
6. Choose Use Existing permission set, and set it to Full Trust.
Alternative way of giving permission for an Activex Control is
1. Open Visual Studio Command Prompt
2. Run the command caspol -machine -addgroup 1. -site <ip address> FullTrust Doing this it works fine.
Whenever my web site will open, it will ask the user to give permission for the Activex Control using Allow or Cancel Button in browser. This type of functionality I have seen some web site which takes input from the user to allow the ActiveX Control.
I have confirmed that my Control Adapters are not triggering in Chrome and Safari. I've debugged, and the breakpoints inside the adapters just don't get hit in Chrome/Safari, when they work perfectly find in Firefox/IE. So, for Chrome/Safari, IIS is just ignoring the mapping.
My AdapterMappings.browser file looks like this:
<browsers>
<browser refID="Default">
<controlAdapters>
[...adapters here....]
</controlAdapters>
</browser>
</browsers>
This should provide mappings for all browsers, correct?
I used the Charles proxy to check what user agents were being sent. They are:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249.1064 Safari/532.5
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7
Any idea why this would be? Everything I've read tells me that my browser mappings are correct? And, as I said this works for IE/Firefox, so I know my configuration is technically correct.
I've used some Jquery scripts for toggling image on a web user control, it work fine in explorer but got no signs of life in firefox!
Here the code for a test form in plain html (this works on every browser):
[Code]....
and in post-behind:
[Code]....
this is the toggle.js:
[Code]....
If i use signs like ë in the HTML Editor, in IE, its ok, and works. But if i use ë in firefox in the same page with the HTML Editor. If i press safe the ë is converted to: � (copy past doesnt work well, but its a square if you put [] to each other). But how is this possible? And how can i solve this problem? In IE its working well, but 50% of the users of the system i build are using Firefox. So it should work in all editors.
View 4 RepliesI have .net code that works on IE8 but wont work on google chrome or firefox. i have put this code for the user to press Enter instead of clicking the mouse everytime.
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Try
If Not IsPostBack Then
[code]...
i have this code in global.asax.vb, to disable the back button.
Sub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs)
Response.Buffer = True
Response.ExpiresAbsolute = Now().Subtract(New TimeSpan(1, 0, 0, 0))
Response.Expires = -1
Response.CacheControl = "no-cache"
End Sub
this code works perfect in IE, but refuses to work in any other browser like firefox or chrome. what can i do to make it multi browser?
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'm doing css for a website. I send the html and css to a guy, he puts it into ASP.net. The problem is that the transfer didn't end well for my code and it needs some fixing. The problem is that when I look at it in Chrome, or Firefox, or IE8, I get three completely different renderings. I spent a good amount of time trying to fix a drop-down menu that is supposed to appear while hovering over a link. The one he had in place from ASP.net worked in IE, kinda worked in Firefox, and was completely broken in Chrome (I haven't tested Safari or Opera.) Just getting it to look basically the same in firefox and chrome was a struggle. The html source is showing me two completely different pages as well.
Does anyone have experience with this? I know nothing of ASP.net, and it seems like the guy is modifying my layout with a wsyiwyg (I found tables used in random places, which I did not put there.) Faced with this, what is my best option? Is this fixable, or am I in over my head?
Disabled buttons look enabled in Firefox and Chrome. I opened the same page in ie, firefox, chrome and this is the output:
"DashBoard" and "Calendar" are disabled
"Agent Info" is enabled.
Here I'm using normal asp buttons with css.What do I do?
Ok so I'm not very familiar with Jquery as to know the possible cause of this, but I've been assigned to find out why the datepicker doesn't work porperly on a client's computer (it prints out the date without slashes like this: 24112008
So when I test the webform, I see it doesnt even pop up in Firefox (the client's browser too) nor chrome, only in IE8.
In the scriptManager we have:
<script src="http://www.website.com/Script/jquery.min.js" type="text/javascript"></script>
<script src="http://www.website.com/Script/jquery-ui.min.js" type="text/javascript"></script>
<script src="http://www.website.com/Script/jquery-ui-i18n.min.js" type="text/javascript"></script>
and in the webform:
$(function pageLoad(sender, args) {
// Datepicker
$.datepicker.setDefaults($.extend({ showMonthAfterYear: false }, $.datepicker.regional['']));
$(".dates").datepicker($.datepicker.regional['es']);
});
The textbox that uses it goes like this:
<asp:TextBox ID="txtFeNac" CssClass="dates" style="margin-left: 7px" runat="server" ></asp:TextBox>
I have binary data - it is png picture.
I use Response.BinaryWrite to display this picture.
Unfortunately it works only in Internet Explorer. In Firefox and Chrome it shows long text of strange symbols.
What's wrong with BinaryWrite? How to solve this?
I may not say to asp:Image to show this picture, I may not indicate ImageURL, becouse there's no URL. This picture is response from webrequest. And webrequest may not be indicated in URL because I set some parameters not in QueryString but in post data.