AJAX :: Calendar Extender Is Not Working In IE7 After Postback?
Sep 9, 2010
We have implemented ajaxtoolkit version: 3.5.40412.0, and my web application is not AJAX enabled. We have included ajaxtoolkit binary reference in our web application. In one of the page, calendar extendar is working fine when it rendar first, after postback it's not working at all in IE7, but it's working fine in Mozilla. The sample code is as below, [ We are not getting any javascript or HTML tag error ]
[code]....
View 5 Replies
Similar Messages:
Jun 1, 2010
I've made a new project with one page and a reference to AjaxControlToolkit.dll
The calendar extender below doesn't work, what have I done wrong?
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication1._Default" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<ajaxToolkit:CalendarExtender runat="server" TargetControlID="TextBox1" CssClass="ClassName" Format="MMMM d, yyyy" />
</div>
</form>
</body>
</html>
View 2 Replies
Jun 10, 2010
I am using Calender Extender on one of my page and it is not working as expected on IE8. The problem i am facing is when i click on calender image calender shows for a fraction of second and goes away. It is really annoying and the same thing is working fine on Firefox and Chrome. Here is the code i am using .....
<asp:TextBox ID="txtPurchaseDate" runat="server" Width="80px"></asp:TextBox>
View 1 Replies
Apr 26, 2010
I am using a detailsview control in my form and I want to use the Ajax calendar extender control with some of the fields.
After I have connected the textboxes to the extender and when I click on them there is no calendar displayed.
If this makes any difference I am containing the detailsview in a regular panel control which I make visible through a button click.
Here is the code for the detailsview:
[Code]....
View 4 Replies
Jul 16, 2010
i cannot get the set date to work in the calkendar extender... I have a drop down with 3 and 4 year lease options in it. and then a start date and I want to set the expirary date based on what is selected in the drop down. So I have it all workign except for setting the date on the expirary calendar extender.
HTML code here:
[Code]....
then my javascript . asp.net here:
[Code]....
So, when I use this I get an error:
Microsoft JScript runtime error: 'null' is null or not an object and it is referring to the line:
[Code]....
View 5 Replies
Jun 14, 2010
I have a calendar extender with an assigned popupButtonID. The target control, the popup button image and the extender itself are placed inside a DIV. I am assigning a onMouseOver and onMouseOut event to this DIV and executing some simple JavaScript when these events fire.
The problem is that the image assigned to the calendar extenders popupButtonID are not working. When not adding the two events to the DIV it works fine.
View 3 Replies
Jan 20, 2011
the problem is that the calendar does not pop up when using the computer of my customer, but I have no problems with my computer (I tested it with firefox, IE 7 and IE 8).
I also tested the calendar from other 2 pc and worked fine, so what could be the problem?
Here is my code:
<asp:Image ID="calendarImg" runat="server" ImageUrl="stile/date_picker1.gif" />
<asp:CalendarExtender ID="cal1" TargetControlID="tb1" runat="server"
Format="dd/MM/yyyy" PopupButtonID="calendarImg">
</asp:CalendarExtender>
<asp:TextBox ID="tb1" runat="server"></asp:TextBox>
View 2 Replies
Sep 4, 2012
I have use ajax calendar extendar which is working fine in development environment. But it is not not working in server.
other Ajax controls are working fine.
View 2 Replies
Sep 14, 2010
I have done this before but for the life of me I can not figure out why this is not working. I am trying to use a calendar extender on a field in Formview Insert.The page will load fine but no calendar.
[Code]...
View 2 Replies
Aug 24, 2010
AJAX with MasterPage not working. Setup simple test site below, no error just not working. TIA
[Code]....
[Code]....
View 2 Replies
Sep 13, 2010
I bind a hover extender to a cell in a gridview, using following code:
Sub GridView1_RowDataBound(ByVal sender
As
Object,
ByVal e
As System.Web.UI.WebControls.GridViewRowEventArgs)
Handles GridView1.RowDataBound
If e.Row.RowType = DataControlRowType.DataRow
Then
Dim hoverMenu
As HoverMenuExtender =
CType(e.Row.FindControl("hoverMenu"), HoverMenuExtender)
e.Row.Cells(1).Controls.Item(0).ID = e.Row.RowIndex.ToString()
hoverMenu.TargetControlID = e.Row.Cells(1).Controls.Item(0).ID
End
If
End
Sub
Now This works perfectly and the panel appear when hovering over the second cell. However after a postback it is no longer working and no panel will show when hovering over the cell.
View 2 Replies
Jan 15, 2011
I am using a Calendar Extendar with in a user control and I am loading this user control on a aspx page dynamically. But after a post back event I am getting following error: calendar extendar may not register after post back.
View 2 Replies
Nov 17, 2010
I am using Framework 2.0, ASP.NET AJAX 1.0 and Visual Studio 2005.I am using 2 Ajax Calendar Extender in my page. I am using a text box and html image control and setting the TargetControlID to the test box id and the PopupButtonID to the image control name. When i click the first image the calendar pops up and without choosing a date if i click the second image the second calendar control opens on top of the first calendar control. Is there any way i can make the previous one disappear without choosing a date leaving the calendar control associated with the last image clicked.
View 2 Replies
Jul 15, 2010
Currently, I am using Calendar control on ASPX page. Instead, I want to use AJAX Calendar Extender control because of the animation effect and the way it moves between years making if much more impressive than Calendar control.Is it possible to display Calendar extender on page permanently, just like Calendar control?
View 2 Replies
Sep 16, 2010
I have some aspx pages where I was using a date picker. I changed the date picker with AJAX calendarextender which I can pop by clicking on the associated textbox when I am viewing this page on the server itself. But on the client PC I can't pop the calendar. This textbox and calendarextender are created in a gridview.
<asp:GridView id="EmpList" runat="server" Caption="Employee Personal Data"
AutoGenerateColumns="False" DataKeyNames="RECID, ENumber"
AutoGenerateEditButton="True"
DataSourceID="EmpData"
allowsorting="true">
<columns>
<asp:BoundField HeaderText="E/Number" DataField="ENumber" sortexpression="ENumber" readonly="True"/>
<asp:BoundField HeaderText="E/Name" DataField="EName" sortexpression="EName"/>
<asp:TemplateField HeaderText="Date Joined" sortexpression="DOJ">
<ItemTemplate><asp:Label ID="lblDOJ" Runat="Server" Text='<%# Eval("DOJ", "{0:d}") %>' /></ItemTemplate>
<EditItemTemplate>
<asp:TextBox ID="txtDOJ" runat="server" Columns="8" text='<%# Eval("DOJ", "{0:d}") %>' ReadOnly="True"></asp:TextBox>
<asp:CalendarExtender ID="txtDOJEx" runat="server" TargetControlID="txtDOJ"></asp:CalendarExtender>
</EditItemTemplate>
</asp:TemplateField>
</columns>
</asp:GridView>
</code>
Is there anything that I am missing?
View 4 Replies
Feb 7, 2010
i want to use a calender extender on a textbox, but it doesn't do much.
View 7 Replies
May 5, 2010
I have downloaded the AJAX Toolkit for .Net 3.5 I want to add a calendar popup for a field called Date Finished, I added the ScriptManager from the AJAX Extensions toolbox, and then I went into the source for Edit Mode on my webform, and added in the CalendarExtender. I get no error messages when compiling or running this, but the calendar does not pop up.
[Code]....
View 6 Replies
Jun 26, 2010
i m facing a problem in calendar extendar.....i have used a calendar in the ajax accordian....when i click the heading of accordian, the calendar shows up...but after that wheni clickhe calendar image button , it displays the calendar but it is blurred.....that is the white background is some where elseand the dates some where else..the display of calendar is completely distributed..the other calendar extendar in the same project are working fine..
View 1 Replies
Jan 12, 2010
I'm having problems with the calendar extendar on my textbox popping up when any event fires on the page.I didn't start having this issue until i implemented a second extend (MaskEdit) to my textbox, when i eliminated the (MaskedEdit) the issue still occured. '
<tr>
<td>
<asp:Label ID="startDateLab" runat="server">Start Date: </asp:Label>
[code]...
View 6 Replies
Nov 21, 2010
When I am in edit mode, how can I set the calendar that is displayed to the value that is in the Text box ?
How I did it below with SelectedDate="DatePaid" is not corect
VS2010 VB
[Code]....
View 2 Replies
May 23, 2012
i have a calendar extender in my page. it works fine unless i add a maskedEditExtender as well. Then, when the page start or is post back, the calendar starts off as being visible. is there anyway to hide or disable this control when the page starts, until the user clicks the appropriate text box? the code i have is as follows:
Code:
<asp:TextBox ID="TextBox2" runat="server" Width="130px"
MaxLength="1" style="text-align:justify" ValidationGroup="MKE" />
<div id="error2" style="color:red"></div>
<ajaxToolkit:MaskedEditExtender ID="MaskedEditExtender2" runat="server"
TargetControlID="TextBox2"
Mask="99/99/9999"
MaskType="Date"
[code]...
which seems to be the problem. this cause the focus to go to the calendar control and sets the date, which shows the extender. i've tried to set focus to other controls but nothing seems to work.
View 1 Replies
May 7, 2015
while i am using Ajax (calender extender) on textbox when i click at first time click the calender show on page top side next time show on textbox side correctly.
<asp:CalendarExtender ID="CalendarExtender4" TargetControlID="txtfrm_date" Format="d/MM/yyyy"
runat="server">
</asp:CalendarExtender>
<asp:FilteredTextBoxExtender ID="FilteredTextBoxExtender3" runat="server" TargetControlID="txtfrm_date"
FilterType="Custom,Numbers" ValidChars="/">
</asp:FilteredTextBoxExtender>
View 1 Replies
Jan 31, 2011
I am using ajax calendar extender to select the dates.I want to disable all the dates less than today. Means the user can't select those previous days ie the dates should be shown in grey color and users can't select it.
View 6 Replies
Mar 19, 2010
I'm using ajax calendar extender to store an event in database. I also need the time of event, when i select the date.. Is there anyway to display both date and time using ajax calendar extender?
View 2 Replies
Jan 28, 2010
A few posts in the last year or so with folks trying to get the calendar extender to work with year only. I know folks will say, "Hey make a dropdownlist!". not always. in my particular application I am having years that potentially would need to go back 40+ years, and I'd rather not have a dropdown with 40+ values in it. Not to mention in a few years have to update it again.
So building off of
http://weblogs.asp.net/aghausman/archive/2009/05/31/how-to-show-and-select-month-year-in-calendar-extender.aspx?CommentPosted=true#commentmessage I am trying to get it to be a Year Only view. Here's my code.
[Code]....
[Code]....
What I am having an issue with is that this code technically works. It works when I have the alert() in there. I take that alert out and it has weird behavior. Selecting the first or last cell in the calendar control without the alert will jump decades. For example I will click 1989 and I'll get 1969 in the texbox with the extender on it. I'm pretty sure I am lost in the loop somewhere or I have a elementary code/logic error. But after spending way too much time messing with this I figured another set of trained eyes might be able to help.This if resolved would be a nice feature to be able to have at the communities finger tips, an ajax year selector.
View 2 Replies