annoying chrome issue and __dopostback

Soldato
Joined
27 Mar 2003
Posts
2,710
Hi all,

just wondering if someone can help me with a asp.net website that I have built.

here is an example of the site:

http://link.zibrantallocations.com/N3ecg

Now in ie7,8,9, firefox, safari the site loads fine. (it should load up a google map page with 1 venue, 7 hotels and then give you the ability to book a hotel room)

In Chrome it seems the javascript that I use to do the client side postback __doPostBack('control name','') stops working.

does anyone know of a quick fix for this issue as it is causing me a lot of problems and have already wasted several days trying to fix it with no success.

the bit of javascript concerned is:

Code:
 if (hiddenSelectedFieldHotel != null)
            {

                hiddenSelectedFieldHotel.value = selectedHotelID;
                hiddenSelectedCheckinField.value = document.getElementById("<%=  RadDatePickerArrival.ClientID%>").value;
                hiddenSelectedCheckOutField.value = document.getElementById("<%= RadDatePickerDeparture.ClientID%>").value;
                hiddenFieldRooms.value = document.getElementById("<%= RadComboBoxRooms.ClientID%>").value;
//__doPostBack('<%= RadAjaxPanelHotelMain.ClientID %>', ''); <== This is the line of code where the system seems to fail. 
                                         }
            else
            {
                alert("Hidden Field Not found. Something has gone wrong");
            }

Thanks in advance for any help on this.
 
Back
Top Bottom