Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    ASP.NET


Advertisements:










AJAX :: CalendarExtender Popup Position In Google Chrome After Page Scrolled Down


I'm having a problem with the CalendarExtender's position in Google Chrome (4.0.249.78 (36714)) when a page is scrolled down such that the scrollbar position is > 0

For example, if you use Chrome to goto:

http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Calendar/Calendar.aspx

- Scroll down so that the "Calendar Demonstration" subheading is just below the top of the browser rendering area.

- Click the first TextBox labelled "Default Calendar"

- The CalendarExtender popup appears with it's top edge at the very top of the page instead of below the TextBox.

The same happens when you click on the 2nd TextBox or on the button trigger for the "Calendar with an associated button" example.

It seems that the "top" css value of the resuting popup div isn't being calculated with the scroll position taken into account. Running the same example in Firefox results in a "top" value of 391px, with the Chrome value being 273px.


View 1 Replies (Posted: Jan 26, 2010 10:50 AM)

Sponsored Links:

Related Forum Messages For ASP.NET category:
AJAX :: CalendarExtender Position In Chrome And Safari 4?
I am using the CalendarExtender and I've foundit works fine in all browsers except for any version of Google Chrome and Safari 4.

In these browsers the calendar appears eitheron top of the textbox ornear 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

Posted: Feb 07, 2010 06:06 PM

View 2 Replies!   View Related
Popup Window Is Not Working 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.

Posted: Jan 27 10 at 6:13

View 1 Replies!   View Related
Calling And Open Popup Window Simultaneously On Google Chrome?
As the part of C#.net project I have to call one function and after that open a pop up window from a button click. In Internet Explorer I can done this successfully but the same code not working on Google Chrome. The code is adding below.

protected void btnaddtogroup_Click(object sender, EventArgse)
{
fetchaddressid();
string strScript = "<script language=javascript>OpenPopup();</script>";
Page.RegisterStartupScript("callTest", strScript);
}

Posted: Mar 11, 2011 05:40 AM

View 3 Replies!   View Related
AJAX :: Position Of ValidatorCalloutExtender In Chrome When Scrolling?
I'm using the latest Ajax Control Toolkit (v. 3.0.30930) on the ASP.NET Framework 3.5 and noticed strange behaviourof the ValidatorCalloutExtender when it is activated after scrolling down the page: in that case it is positioned too high. Luckily it only seems to happen in Google Chrome. IE and Firefox work fine.

It's easy to reproduce as it even occurs at the official demo page:

1) Go to http://www.asp.net/AJAX/AjaxControlToolkit/Samples/ValidatorCallout/ValidatorCallout.aspx using Google Chrome.

2) Scroll down the page a bit.

3) Enter anything in the Name field.

4) Press Submit.

5) The ValidatorCalloutExtender saying "Required Field Missing" is mispositioned now.I've been playing around with the positioning work arounds described in

http://forums.asp.net/t/1489927.aspx and http://forums.asp.net/p/1414449/3112561.aspx but it didn't make a difference for me.I suppose this needs to be fixed in a next release. ValidatorCalloutExtender when it is activated after scrolling down the page: in that case it is positioned too high. Luckily it only seems to happen in Google Chrome.

Posted: Nov 15, 2009 09:50 AM

View 3 Replies!   View Related
Page Loads Twice In Google Chrome
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

Posted: Jan 5 10 at 21:05

View 13 Replies!   View Related
AJAX :: Strange Issue With Google Chrome?
I am not sure whether the issue I am facing is Ajax related or notand whether this is the right forumfor this question at all. I am encountering a strange issue while testing newly developed web pages on google chrome. To give you a brief idea, my web pages allow user to perform search based on search criteria selected using different drop down lists on the page. Search result displays links to web pages on different site. The requirement is, if user clicks any of the links to visit those web pages and clicks browser back to come to search page, the state of the page should be maintained. That is the drop down lists should display same set of options with same selected option and the same set of search results. I have disbled page caching so that when user clicks back the page is submitted to the server. I store the search criteria in server side cache and use it to set the drop down list values again. I debugged and made sure that all the drop downs are assigned proper values. But when the page renders it does not display some previous values in drop down lists. It also shows strange behaviour after that; that is if I select a value from drop down the actual displayed value is different (for example if I select state of CA it will change automatically to the state of WA). Note that the pages work as expected in IE and Firefox. I am developing the web pages using asp.net and am using microsoft ajax. I am using ajax to filter the drop down options based on previously selected drop down options. For example if US is selected as a country then the states in US will be displayed in drop down option list.

Posted: Dec 09, 2009 04:03 PM

View 2 Replies!   View Related
AJAX :: HoverMenuExtender Not Working In Google Chrome?
Ihave aGridViewin 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)

Posted: Jul 13, 2010 10:14 AM

View 2 Replies!   View Related
AJAX :: Controls Not Working In Firefox And Google Chrome?
I am using Ajax Control Toolkit in my web application. The problem is, the controls are fine with IE but they are not functioning in other browsers.

Posted: Nov 29, 2009 06:23 AM

View 6 Replies!   View Related
AJAX :: Rich Text Editor In Google Chrome
I'm tring to put up a AjaxControlToolkit.HTMLEditorit works in all the browsers except Chrome

Posted: Oct 12, 2010 06:12 PM

View 2 Replies!   View Related
Google Chrome To Full Page Reload On Postback?
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" />

Which calls a method summarized as so.

protected void S_ButtonClick(object sender, EventArgs e)
{
//Code parsing values from textboxes ect.
//Do Some Calculations
//Output Results
outputDiv.InnerHtml = "<h2>Foo</h2><br/>";
outputDiv.InnerHtml += "Bar: " + calcValue;
}

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.

Posted: Sep 27 10 at 3:20

View 1 Replies!   View Related
AJAX :: Validator Callout Extender For Cascading Dropdownlist In Google Chrome?
I wan to do a required field validation for the cascading dropdownlist . When my page first load out the validator is fired first in the google chrome, the callout extender message is prompt out first in the Google Chrome. I have tested the code in IE and safari, this two browsers never prompt out the validator callout first when the page is loaded.

i wonder why the google chrome will prompt out the validator when i validate the cascading dropdownlist. I have did some research on it, but failed to get any solution.

Posted: Aug 24, 2010 12:46 AM

View 2 Replies!   View Related
AJAX :: 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/)

[Code]....

This is how it looks:

I have tried doing the following but none of them helped:

Changed the RenderMode of combo box to 'block' from 'inline'Commented the lines above in combobox.pre.js
Basically, as per my study, unlike IE and FF, on Chrome, the outer combo box div occupies space as the width of absolutely placed ul present inside it which anyways doesn't seem to be a correct implementation.

Posted: Aug 28, 2010 07:22 PM

View 2 Replies!   View Related
AJAX :: Callout Extender Popups In Invalid Location In Google Chrome?
Ihave a text box in a page. I addedRequiredFieldValidator and ValidatorCalloutExtenderto that textbox

it works fine in IE and firefox ie, ValidatorCalloutExtender popups near to textbox.

Butin Google chrome the ValidatorCalloutExtender popups far from textbox.

Posted: Aug 05, 2010 06:02 AM

View 1 Replies!   View Related
Web Forms :: Make Home - Page And Add To Favorites In Google Chrome?
how to make my web - home page and add to favorites in google chrom ? (in asp.net C#)

Posted: Jan 22, 2011 04:17 PM

View 2 Replies!   View Related
AJAX :: How To Close Calendarextender Updatepanel While Javascript Popup
in my aspx page,

1. am using calendarextender bind with text box

2.button click event call th SQL stored procedure to save the form values

3. after save and get the output value from the SQL SP ( its boolean value)

4. if true i have to show the javascript alert or else nothing have to alert, so this is the code

if (CheckandBooked())
{
ScriptManager.RegisterClientScriptBlock(btnBook, typeof(string), "alertscript", "alert('Selected time period clashes with existing booking');", true);
}
bug:this is working good but while showing the alert time i can see the calender( it look like design view) the design is adjusted how to avoid this

Posted: Nov 12, 2010 12:44 AM

View 13 Replies!   View Related
AJAX :: Set The Position Of A Modal Popup?
While playing around with that modal popup extender just to see its capabilties, I found a difficulty in positioning the panel (which is the control that pops up as a modal window) in a place other than the center of the page .I initially tried defining the style atribbute of the panel itself (eg: style="position:absolute; top:200px; left:200px") and didn't work. I then tried applying a css (containg the info about the position in class) to the panel which again didn't work. It seems that the modal overrides the settings regarding the positioning and always places the panel in the center of its container.

Posted: Dec 20, 2006 09:37 PM

View 10 Replies!   View Related
AJAX :: Position - Reverting To The Default Position When Data / Images Are Added To The Page
I am having a problem with a page that incorporates AJAX reverting to the default position when data/images are added to the page from a PHP link directed at a MYSQL database. The page is just a bit too tall to fit in the browser window and some links must be scrolled to to be accessible. When a link on the lower portion of the page is clicked, the data loads without refreshing as it is supposed to, however the page has lost its scroll position. Isthere any way to prevent this from occurring? (currently the href is set to #, perhaps there is some js i can use? or is my only option to add an anchor point to the dive and have all my links directed to the same anchor point?)

Posted: Dec 15, 2009 08:03 PM

View 2 Replies!   View Related
AJAX :: Modal Popup Show () Position?
I have a modal popup with an image cropping tool I wrote in JavaScript and it passes the coordinates to the codebehind on postback. Anywho... for some reason when I call the Show() method the modal popup is rendered 3/4 of the way down the screen. I checked firebug to see what CSS might be conflicting but found nothing to be conflicting with it. If I enable the reposition modes it will adjust to the correct position on scroll or resize but not when it is rendered.

Posted: Apr 07, 2010 04:28 PM

View 3 Replies!   View Related
Web Forms :: CalendarExtender Not Working With Chrome
I try to use calender extender in my web page.

this run on IE 8, Safari 4, Firefox 3.5, Opera 9.64. But when i try to use Google Chrome, it doesnt run.

I founded some fix for safari but couldnt find any fix for Chrome.

Posted: Nov 12, 2009 04:44 PM

View 8 Replies!   View Related
AJAX :: HoverMenuExtender Popup On Gridview Row Looses Position When Scrolling Down?
I have a web application developed in VS 2008 using .NET 3.5 and using the latest stable release of the AJAXToolkit (30930).

All over my application I use Gridviews to display information with popup row level menus that popup at the edge of each row using a hovermenuextender control to control the opening of the menu. The contents of the menu are decided at runtime based on various
attributes in the gridrow. All of this works great in IE8 (in or out of compatability mode) and Firefox. But under Chrome OR Safari (latest releases), the popup menu is offset by the same amount the current main page is scrolled down by. I.e. if I am at the top of the page with several gridrows visible, hovering over each grid row with display the desired menu appropriately. But if I scroll the main page down lets say 50px, hovering over ANY gridview row will popup that row's menu 50px higher than it should be - scrolling down further makes it worse until finally the menu will always appear at the top of the page. It seems to me that there is some sort of calculation not happening within Chrome or Firefox to properly offset the menu for the position of the main page (all my gridviews are content within a content placeholder page referencing the same master page).

I've seen various old posts discussing similar issues with no resolution. Currently my popup CSS class looks like:

[Code]....

Two suggestions I had read were to ensure that the CSS class had 'display:block;' which made no difference. [Code]....

Posted: Nov 20, 2009 07:57 PM

View 5 Replies!   View Related
AJAX :: Google Maps Marker Show Popup From Server Side?
I'm using google maps in my site with markers.

When a marker is clicked, I'd like to display a popup.

this is easy, my problem is that the popup needs to be updated from the database before and the popup has some links that should be inside an UpdatePanel to avoid refresh.

I can use the marker function to display a popup (with a given html) how to get the html with the updatepanel .

I thougt about using the ajax popup control but I don't know how to position it on the marker.

Posted: Apr 21, 2010 03:32 PM

View 5 Replies!   View Related
Web Forms :: Popup In Google Calendar - Page Slows Down When Lot Of Events?
Ihave written a caledar site which enables users to create/add an information rich event. I have had two major issues. one- SQL linq.if there are a lot of eventsadded to thecalendar site, it will cause the calendar page veryslow (4 or 5 seconds). For loop in SQL Linq has got some known issue, I reckon. I replaced the codes with oledb data mothods. OLE db codescompletes the for-loopinstantly. Fixed now. two- Ajax popup extender.Same problem. if there arelots of events added tothe site, it will causethe page browsed very slowly. I'd like to replace the ajax extender with java, jquery or something similar to one of event handling features in Google calendar. how to do it? I am not sure it is called 'popup' as well. The popup(?) should disappear if a user click area other than the popup shown. Not hovering either. I want one exactly like the google calendar eventpopup feature.

Posted: Oct 17, 2009 01:16 PM

View 2 Replies!   View Related
AJAX :: CalendarExtender Popup Appearing When Hitting "Enter" Key?
I have used a CalendarExtender in a page with textboxes. When I press the 'enter' key from another textbox, calendar popup is appearing.I have also tried putting defaultbutton as my button id in form tag , but this is also not woking.<form id="myform" defaultbutton="searchButton"/>

<td>
<asp:Label ID="Label1" runat="server" Text="Date Of Birth" />
<asp:ImageButton ID="DOBImageButton" runat="server" ImageUrl="~/Images/Calendar.png" />
[code]...

Posted: Sep 06, 2010 08:08 AM

View 3 Replies!   View Related
Iframe's Content Being Positioned Off Screen When Page Is Scrolled Down?
I am developing an application in which I have a page and at the bottom of the page there is an Iframe and inside of it is a Facebook login button and a asp.net login control.

When I scroll to the bottom of the page where the iframe isand then I put my mouse cursor in the username textbox of the loging control and having loged in before; when I type the first letter of my username under the text box apperas a kind of 'autosuggest' box with my user name in it...

That 'autosuggest' type of box (which is standard of a textbox) which should show right under the text box actually shows up 6 inches below it because I scrolled the page. In fact once it is displayed, that 'autosuggest' box stays fix in its position and I can scroll the page up and down with my mouse roller and the text box goes up and down with the page but the 'autosuggest' box stays in its place without moving...

Also the facebook login button when clicked generates a login dialog box inside abrowser popup. But when I have it inside he iframe and the page is scrolled to the bottom when the iframe and the facebook login button are then the popup actually apears off screen, way, way down and low on my computer screen so much so that I cant even see it. I know it is there because of the taskbar..

Posted: Oct 19, 2010 06:57 PM

View 1 Replies!   View Related
With Google Maps, Can Use Google's Own Popup Windows
I've implemented a google map with points and stuff that uses an address that the user inputs. When you click a point, the popup bubble appears with the name and address in.Often this name and address is a prominent location, as it's used for meetings and things, such as a university. If you google the address yourself on maps.google.co.uk then you get google's own popup bubble, which often has a photo, information, opening hours, links to directions, reviews, etc. etc.I am wondering if there's a way to use that popup dialog instead of my own, where it is available. I can't see anything in the API to do this.I'm using V2 as we support IE6 in a lot of our users, but I've been told recently I can upgrade to V3 should I need functionality from it.

Posted: Jan 11 at 15:50

View 1 Replies!   View Related
Onclick Go Into Sub - Not In Google Chrome?
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)

Posted: Jun 30, 2010 08:33 AM

View 4 Replies!   View Related
Different Values On Google Chrome
The issue never ends lol.......... so I am having this problem with google chrome now. See in my page load, I have

Session["CheckRefresh"] = Server.UrlDecode(DateTime.Now.ToString());
Then in page_render:
ViewState["CheckRefresh"] = Session["CheckRefresh"].ToString();
In my dropdownlist set to autopostback(), I checked
if (Session["CheckRefresh"].ToString() == ViewState["CheckRefresh"].ToString()) then do something

The problem is that, I put a response.write to print out those 2 values before checking that if statement, but the values are different on Google chrome. IE and firefox works just fine. What am I missing here?

Posted: Oct 21st, 2009, 04:27 PM

View 2 Replies!   View Related
WebParts And Google Chrome
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.

Posted: Oct 4 10 at 11:17

View 1 Replies!   View Related
MVC :: TempData Bug In Google Chrome?
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.

Posted: Sep 10, 2010 07:38 PM

View 4 Replies!   View Related
Bug In Google Chrome - Dynamic Controls?
Has anyone had anyone problems with dynamic controls in Google Chrome?I tried the following code:

Sub Page_Load() Handles MyBase.Load

Posted: Jan 12, 2010 08:30 PM

View 2 Replies!   View Related
Web Forms :: No Caching In Google Chrome?
Does anyone know how to prevent caching of ASP.NET pages in Chrome? I tried using the following in the Page_Load event but it does not work:

Response.Cache.SetCacheability(HttpCacheability.NoCache);
//doesn't work in Chrome

Posted: Feb 09, 2010 02:55 PM

View 6 Replies!   View Related
Development In IE / Firefox / Google Chrome?
afterwe develop any websites/forms in VS2008 orVWD208,should we change any settings for our applications required for better viewing in IE 8/7/6 ,Firefox 3 or Chrome.. or they will automatically set by browser?

Posted: Dec 24, 2008 11:18 PM

View 3 Replies!   View Related
Set The Status Bar Message In Google Chrome?
How to set the Status bar message in google chrome.

Posted: Sep 14, 2009 07:01 AM

View 3 Replies!   View Related
FileUpload Not Working In Google Chrome?
ASP.Net FileUpload not working in google chrome.It shows validation error,even after choosing right file type.

Here is a code :

<asp:FileUpload ID="FU1" runat="server" />
<asp:RegularExpressionValidator
id="FileUpLoadValidator" runat="server"
ErrorMessage="Upload jpg and gif only."
ValidationExpression="^(([a-zA-Z]:)|(\{2}w+)$?)(\(w[w].*))(.jpg|.JPG|.gif|.GIF)$"
ControlToValidate="FU1">
</asp:RegularExpressionValidator>

Posted: Apr 23 10 at 2:33

View 1 Replies!   View Related
Web Forms :: Newline Character In Google Chrome?
I'm not a total newbie but I'm a bit stuck with this small problem. On my web application there is a"Notes" function where users can enter text into a textbox (which is then saved to a db and displayed in a gridview) so other users can see what has been done with a particular job. To make sure line breaks are displayed (when the user presses Enter), I have the following code: string note = txtNotes.Text.Replace(Environment.NewLine, "<br />"); (otherwise all text is shown in one long line) This works fine in IE but not in FireFox or Chrome. Can anyone point me in the right direction so that new lines are displayed in these two browsers?

Posted: Oct 26, 2009 05:33 AM

View 3 Replies!   View Related
Web Forms :: Results Not Loaded In Google Chrome?
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.

Posted: Dec 01, 2010 10:43 AM

View 4 Replies!   View Related
Web Forms :: Microsoft WebControls In Google Chrome?
It looks like WebControls do not work correctly in Google Chrome. I've researched this issue and found solution herebut 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.

Posted: Feb 10, 2011 02:10 PM

View 2 Replies!   View Related
Web Forms :: Google Chrome Not Showing Sub Menu
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.

Posted: Apr 19, 2010 07:48 AM

View 7 Replies!   View Related
Window.showModalDialog Not Working In Google Chrome?
I am having a little problem. I am using window.showmodialog() function which is working fine in IE. owever, in google chrome, the window pops up but doesn't load.

Posted: Sep 6th, 2009, 05:23 PM

View 4 Replies!   View Related
Copyright 2005-08 www.BigResource.com, All rights reserved