So TempData works on my local machine in chrome, but not out on the server. It works fine in IE and firefox. I'm using the default Session State as InProc. I can see the cookie in chrome by looking at the developer tools.
I have a gridview, one column is a template field with an imagebutton, onclick it should go into the following sub, which it does in IE but not in google chrome. What could be the problem?
Protected Sub btnDetails_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs)
I started learning ASP.NET these days. Google Chrome is my default browser and I'm also testing my applications in Google Chrome.
I recognized that some Elements of ASP.NET won't run in real time when I use Chrome. For Example ASP.NET WebParts. If I change the modus of the WebPartManager from default to edit (or something else), Google Chrome needs 1 - 2 seconds to renew the page. Internet Explorer does this in real time without any loading times.
I'm a rookie in ASP.NET and many people said, Microsoft's AJAX for ASP.NET is some kind of crap. I'm using Visual Studio 2010 and maybe you'll say, I should use jQuery instead of internal Features like WebParts.
Does anyone have any problems with Page_Load being executed twice in Google Chrome? It's a short question, i do not know what else to explain...
I have a simple asp.net page and in Firefox and IE all it's working fine. But in Chrome the Page_Load is fired twice...
Later EDIT: - what is strange is that i have 4 repeaters... binded with random values. The random methods are twice fired (because of page loaded twice) but the repeaters takes the INITIALLY values...so, the 2nd post back is somehow raised after the rendering step.
3rd edit: It happens ONLY at the refresh!
Solution (in my case): There was an empty img src, and that was the cause
we have a multiLingual site. which is working fine in Others browsers but not in google chrome. In google chrome, reults are not Loaded. we are using using "AR" as Regioncode.
It looks like WebControls do not work correctly in Google Chrome. I've researched this issue and found solution here but it does not work in my case. Maybe because our server is on .NET 4. Does anybody know how to make WebControls work in Chrome/Safari? Unfortunately changing WebControls to something else currently is not an option so I must find a work-around.
i have one asp.net application which has menu bar and sub menu are Horizontal. in my IE browser itz working fine.. but in google chrome itz not showing the sub menu.
The application is designed for Google Chrome. I would like to pop out IE when printing is involved because Chrome lack preview etc. at a button click the IE should open. Here's the code:
SetEditDataFlag() -- it is a javascript function. When I browse the application in chrome then this function is not called when i changed some value on the textbox.Its working properly in IE.
I am trying to fire the asp.net button click event from javascript. Its working fine in IE, but the same code is not working on Chrome, Here is the js code,
<script type= "text/javascript" language="javascript"> var btnSave = document.getElementById('btnSave'); btnSave.click(); alert("The changes are saved sucessfully!!"); </script>
I'm experiencing what seems to be a caching issue with Google Chrome and Safari on my cart page. In the cart there are 2 dropdown lists. When you hit the checkout button after changing the values in the dropdown lists, it commits what's selected in the lists to the database.
It's a little bit hard to explain the unexpected behavior so I will try to write it out step by step with an illustration of my problem.
Lets say the first dropdown list has the values of:
VALUE1 VALUE2 VALUE3
And the second dropdown list has the values of:
DUMBO1 DUMBO2 DUMBO3
I add an item to my cart.
Screen Says: VALUE1, DUMBO1
Database Says: VALUE1, DUMBO1
I hit Checkout.
Database says: VALUE1, DUMBO1 (I can't see the dropdown lists after I hit checkout because i'm not at the cart page)
I hit the back button.
Screen Says: VALUE1, DUMBO1
Database Says: VALUE1, DUMBO1
I drop down the VALUE1 combo and select VALUE2, VALUE2 is selected momentarily and then the site posts back and VALUE1 is re-selected in the drop down list (from being reloaded from the DB)
MOMENTARILY Screen Says: VALUE2, DUMBO1
Database Says: VALUE1, DUMBO1
THEN AFTER POSTBACK FROM DROPDOWNLIST_SELECTIONCHANGED EVENT
Screen Says: VALUE1, DUMBO1
Database Says: VALUE1, DUMBO1
Hit Checkout.
Database Says VALUE1 ,DUMBO1 (I can't see the dropdown lists after I hit checkout because i'm not at the cart page)
Go back.
Screen Says: VALUE2, DUMBO1
Database Says: VALUE1, DUMBO1
So it appears that it's remembering my selection of VALUE2 even though it jumped back to VALUE1 before I checked out.
It seems to be a caching problem, however I've got some no-cache code to prevent caching of that page that works great in firefox and internet explorer but seems to be failing in Chrome and Safari. I'm basically returning in the headers for the cart page: no-cache, no-store, and must-revalidate to attempt to prevent caching, but based on this scenario it seems to be caching the page anyway and not reloading it when I hit the back button.
The code works accross all browsers but Google Chrome. My IDE is Visual Studio 2k8, and I haven't figured out how to debug on Google Chrome with it, however, I am throwing error messages, and I know that for some reason under chrome, the following check doesn't pass: [Code]....
So apparently, under Chrome, the HttpPostedFileBase parameter picture isn't encoded right and loses its mime type, howwever, this might not be the only problem. What is excatly wrong with the HttpPostedFileBase parameter under Chrome, and how can I fix it?
I have a GridView in which I have item,Edit ,Footer and Empty Item Template , and also a hovermenuextender to show Edit/Delete link on row hover. when my page opens if it doesn't have any data it show empty row , when user enters data and click on Add button it save's the data and load the grid. All works fine in IE and firefox but not in google Chrome.
After saving data in chrome all links stop working , but when i reload the page it workes fine if i remove the hovermenuextender it works fine in chrome also, So i think hovermenuextender creating problem in chrome when it's added at runtime(if empty grid comes hovermenuextender will be added after data saved)
I'm working on an ASP.NET appI have an asp button on my app with an associated server side click eventNow, this click event is not being fired with Google chrome (works fine on IE).Chrome version is 5.0.375.55.
I have an application including an Asp:menu. This renders perfectly in both IE and Firefox, see screenshot gf1.jpg.
Running in Chrome the rendering is bad. There is added wide space in the top menu, so the area is much wider, and thereby not correct. See gf2.jpg.
I have tried using this workaround found by surfing, but it is still the same. Can I add some additional code, that will prevent this?
Code: If Request.UserAgent.IndexOf("Chrome") > 0 Then If Request.Browser.Adapters.Count > 0 Then Request.Browser.Adapters.Clear() Response.Redirect(Page.Request.Url.AbsoluteUri) End If End If
I want it to be displayed equally in IE, Firefox and Chrome....
In web application i.e .aspx page once user clicks on logout it redirects to login page by clearing all the sessions. Now when user clicks on back button in the browser it redirects to last view page. Since user logged out from the application how can we show the last viewd page? when user clicks on the page it checks hte session exsits or not then redirects to login page..
But i dont wna t the user to lick on the back button.. i want to siable the back option int browser .. I have achived this by
Anyone has experence with "Validation of viewstate MAC failed" issue while using Google Chrome? We have a customer having specific issue with Chrome. It's the strangest thing. In IE and Firefox, the problem does not exist, but once Google Chrome is used instead, he gets the error.
*note, we already have <pages enableViewStateMac="false" enableEventValidation="false"/>
I 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?
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 creating one of my first Asp.Net tools and I ran in to a small bump. Currently I am doing a postback on a buttonclick which does some server-side calculations. The server-side code then uses those calculations to alter the contents of a div. In IE and Firefox when a postback happens, the div updates as expected. However, in chrome all postbacks do a complete refresh of the entire page. What is causing this and is there a way around this behavior?
Update: ClientSide I have the following.. <asp:Button ID="Button2" Style="float: right" runat="server" OnClick="S_ButtonClick" Text="Calculate" />
It is possible that when this postback(if I understand this correctly) happens, that it is still fully reloading in firefox and ie, but it doesn't show it. This effectively masks the postback. However, when I test in chrome, any postback completely blanks the page before reloading the state. Hopefully this clears up exactly what I am asking. Also, my C#/.Net usage might be slightly flawed and I am willing to take comments on such.