.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

TempData Bug in Google Chrome

Posted By:      Posted Date: September 10, 2010    Points: 0   Category :ASP.Net
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.

View Complete Post

More Related Resource Links

Adjacent combo boxes take space according to their data on google chrome

I have a page where I want to keep several combo boxes adjacent to each other. I have put them in divs that are floated left.This works fine in IE, Firefox. But when I render the same page on Chrome I observe the uneven gap between combo boxes. Upon analysis I found out that each combo box is occupying space based on the data inside it.This happens because on Safari and Chrome, the option list control is placed differently as compared to that on IE and Firefox.Please see the following code from ComboBox.pre.js (in AjaxControlToolkit source/Server/) // force inline display on Safari by moving the list to the bottom of the form. if (Sys.Browser.agent === Sys.Browser.Safari || Sys.Browser.agent === Sys.Browser.WebKit) { this.get_element().removeChild(optionListControl); var parent = this.get_element().parentNode; while (typeof (parent) != typeof (document.forms[0])) { parent = parent.parentNode } var safariListContainer = document.createElement('div'); safariListContainer.className = this.get_element().className; safariListContainer.appendChild(optionListControl); parent.appendChild(safariListContainer); } This is how it looks:I have tried doing the following but none of them helped:Changed the RenderMode of combo box to 'block' fro

Autocompleteextender problem in google chrome

Hi, I've used autocompleteextender inside a repeater control. On OnClientItemSelected event of autocompleteextender i am setting some hidden field value to use it on server. The code is working fine in all browsers except google chrome. Actually when i traced the code, event is occuring and hidden field is getting value set but the hidden field value is not appearing on the server. On the server i got empty hidden field.  

maintainscrollpositiononpostback is not working in Google Chrome 5.0.353.70 beta

All --I think that sometimes maintainscrollpositiononpostback is not working in Google Chrome 5.0.353.70 beta.Has anyone else experienced this?Does anyone have a fix for this?Does anyone have an alternative for this?Please advise.Thank you.-- Mark Kamoski

Response.Redirect problem in Google Chrome

I'm building an ASP.NET 3.5 webapplication using VB.NET, and I'm having problems redirecting to another URL when using Google Chrome. Other browsers like IE and Firefox are fine.My data entry forms all have an OK and an Cancel button, which are both handled server-side. The Cancel button just redirects back to the originating page, while the OK button will add or update a database record and then redirect to the originating page.The redirect to the originating page is done by calling the following shared sub on a general utilities class in my appication: Shared Sub Redirect(ByVal p_sURL As String) Dim l_sURL As String = p_sURL.ToLower If Left(l_sURL, 1) = "~" Then Dim l_oControl As New System.Web.UI.Control l_sURL = l_oControl.ResolveUrl(l_sURL) End If If Left(l_sURL, 1) <> "/" Then If Left(l_sURL, 7) <> "http://" AndAlso Left(l_sURL, 8) <> "https://" Then l_sURL = HttpContext.Current.Request.Url.GetLeftPart(UriPartial.Authority) & wsUtils.SiteRoot & l_sURL End If End If HttpContext.Current.Response.Redirect(l_sURL) 'HttpContext.Current.Response.Redirect(l_sURL, False) End Sub As you can see, I've tried using the extra argument in the Response.Redirect call, but that

Rich Text Editor in Google Chrome


 I'm tring to put up a AjaxControlToolkit.HTMLEditor it works in all the browsers except Chrome has any one had this problem

Firefox and google chrome textbox wrap is not working


Hi there, i have did some research on this topic. But what i have try to search still cannot solve my problem in Firefox.

 I have a textbox with textmode= multiline. i put a wrap= true is becoz i wan to display the address line by line and same as how the users input. I have tested in IE,Google Chrome and Firefox, two browser is not working except the IE.


<asp:TextBox ID="txtContactAddress" runat="server" CssClass="txtbox"

.NET Framework and Google Chrome


Earlier today I was attempting to install a piece of software and it told me that I needed .NET Framework 1.1.432 for it to work. Not knowing very much about what .NET is, I went in search of what to do. I believe I installed .NET Framework 1.1.432 because the program I was originally working on started working. Well, after this happened, my Google Chrome completely stopped working. No matter what page or site I go to, I get the blue screen that says "Aw, Snap! Something went wrong..." and blah blah blah. This was the ONLY program effected. I'm on Firefox right and it's fine. Anyways, I really like using Chrome so I'm hoping someone can work with me to resolve this. There may not be a lot of information in this question but if someone is to help me, I'll explain it in more detail.


Thanks in advance!

How to Resize Button Field in gridview if we use Google chrome browser


Hi Everybody,

  I am using google chorme to test my asp.net application. In that <asp:buttonfield> control with in gridview is not resized. I am able to rotate text using following code.

 -webkit-transform: rotate(90deg);

But I am not able to resize the <asp:buttonField>.Please help me to resolve this.

Thanks in Advance.



InputFormTextBox with RichText="true" in Google Chrome


Good day,

I have a custom visual webpart which is saving values in a sharepoint list and currently have an issue with the InputFormTextBox control and Google chrome.   My code for the inputformtextbox is as follows

<SharePoint:InputFormTextBox ID="m_txtProjectObjectives" TextMode="MultiLine" Rows="5"
    Columns="50" RichText="true" MaxLength="4000" runat="server" ValidationGroup="CCPDForm"
    EnableViewState="false" RichTextMode="Compatible"> 

What is happening in chrome is that the webpart doesnt show the bar at the top for formatting purposes which is correct.  However if you click on the field and type out your text, then click in another field and then click back on this field again the text that you typed out dissappear.

I've changed the properties of the richtextmode but the behaviour persists.

Anyone else experiencing this? Is it a google chrome issue and not a sharepoint issue?

What is my alternatives? Only use firefox (its working perfectly there) or IE?  Change the list column type to just a normal multiline input field with no html capabilities.  Though I wouldnt want to go either of these

5 GridView Themes Based on Google's Personalized Homepage (igoogle)

One of the silly features I have found that I like about igoogle is how the pages color palette changes depending upon the time of day. So as the day progresses from morning to afternoon to evening the colors on the page change as well. Like I said, I know this is a silly feature, but I like it. And I have asked around a little bit and seems like other people like it to. To get a better idea of how the colors change, here are the background images from a few of the HTML elements.

Get more then google search from here

Just make it home page and enjoy more then google search you not only get google result and prizes for searching but also free ebooks and link from here like orkut,facebook,twitter,yahoomail etc...


how to make a dropdownlist looks like google search box


dear all...

any idea how to do that ?

Thnx in advance

How do you insert a google map into an ajax updatepanel?


I have built a site that I am using google maps on.  The default page has a google map with info windows containing links and all works great... until a user clicks on the link in the info window.  Doing so takes them to a community page that I have built.  On this community page, I have an ajax update panel that has 2 panels nested inside of it with the visibility set for one to be on and the other off.  The default panel shows community photos, and the second panel I want to show the google map and common directions to the community.  In testing, my buttons to switch the visibility of the panels works great as it should without postback, but when I try to add the map to its panel, it does not show up.  I am new to ajax as well as google maps and I'm not sure why the same code would work fine on my default page but not the community page.  The only obvious thing I can assume is because the community page map is in an update panel.  

How do you insert a google map into and ajax updatepanel and have it work correctly?  Many thanks in advance. 

Image gallery with EXIF and Google maps?


I am trying to put together an image gallery display. I am guessing it will need to be a customer control but I am not sure.  So I figured I would ask on the best way to approach this. When the gallery is loaded I want to have one image displayed with thumbs underneath. On the right side I would like to display EXIF data and underneath that a small google map if there is geolocation tagged with the picture. I figure I will probably need to store the gallery info in a database with caption and description.  Maybe even searchable tags if I get cheeky later. 

So should I be using an ajax gallery to display the images and if so how to pass the EXIF and geolocation to the other controls? Or do i pull in all the info into some sort of dataset and then parse it out to a custom control.  I am still fairly new to ASP but I have a fairly good understanding.  Should be an intersting project if nothing else.  Any thoughts.


implementing a search similar to what you have in google when you type in a word


Dear all;

I have a textbox and what I would like to implement is basically a situation similar to what you have in google when you type in a word. In otherwords,

in the textbox when you type in J, it should generate a list of names that starts with O in alphabetical order, then next when you type in o, so that now you have Jo, it should generate a list of names instead that now starts with Jo in alphabetical order, then again when you type in h, it should generate a list of names that starts with Joh and so on. A sample code could be helpful. Thank you. No Javascript of Jquery please. All help will be greatly appreciated.

Ingest google Search Index into Sharepoint 2007


Hi Folks

 I am wondering  if there is a way to ingest google search index into SharePoint index such that when people search via SharePoint they see the Google results too… incorporated/federated inline with the SP results (not as a separate "box" ).

We have Google search in our environment and also share-point search. Share-point search for sharepoint site but Google search is for all other environments. Now i am thinking if we ingest the Google search index into share-point then may be its great deal to provide user a platform to search everything on one place.




i am at entry level administrator
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend