AJAX :: CalendarExtender Shows Dirty Calendar For The First Time?
Oct 6, 2010Why calendarExtender shows dirty calendar for the first time? (see the image) How to fix it?
View 2 RepliesWhy calendarExtender shows dirty calendar for the first time? (see the image) How to fix it?
View 2 RepliesI've got two websites. One is a copy of the other, I even went ahead and remade a copy of the original a second time hoping it would alleviate the issue I'm having but it didn't.
On both pages I have a calendar so the route is
Csharp Code:
[code]....
The issue is on the original site /Calendar works. It shows the Calendar page with the current month. On the copy site /Calendar gives a 404 but /Calendar/Index shows the Calendar page with the current month.
I'm trying to emulate an Ajax CalendarExtender to match an existing ASP:Calendar using CSS. Here are the properties (not in CSS but on the actual .aspx) of the regular ASP:Calendar:
<asp:Calendar ID="Calendar1"
runat="server"
Visible="true"
BackColor="#99FFCC"
style="text-align: center"
Font-Bold="True"
ForeColor="Black">
<SelectedDayStyle
BackColor="Yellow"
Font-Bold="True"
ForeColor="Red" />
<WeekendDayStyle
BackColor="#14CBCB" />
<TitleStyle Font-Bold="True" />
</asp:Calendar>
So far setting several CSS settings, nothing appears but a white calendar with black numbers.
I am working on a project where i am required to selected a date(Hijri) using calendar control in to textbox ....
View 1 RepliesThe Calendar shows up when you click in the text box. And when it shows up it has no background. It is just letters and numbers, you click a number and that one appears in the textbox. I cannot use ToolkitScriptManager because the AjaxControlToolKit.ddl I have is old, I am afraid to download the newer version because this is for work and they told me to use that specific one. here is my code:
[Code]....
I have two text boxes (from date and to date). Based on your demo i have disabled the future date but my requirement is
1). First i have select the from date. eg: 21-02-2013
2). Now i am selecting TO DATE. eg:21-01-2013
Now my requirement is i need to disable dates until 21-02-2013 to current date. Then user not able to select ToDate as 21-01-2013 i need to provide only option to select from 22-02-2013 to current date.
<asp:Label ID="lbl_sel_date" runat="server" Text="Select Date: "></asp:Label>
<asp:TextBox ID="txtDate_from" runat="server" CssClass="disable_future_dates"></asp:TextBox>
<asp:ImageButton runat="server" ID="imgPopup" ImageUrl="~/Calendar.png" />
<cc1:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="txtDate_from"
PopupButtonID="imgPopup" />
[code]...
Is it possible to pick both the date and time with an ajax calendar extender? If so, how? If not any ideas are welcome in getting both the date and time into a datetime field of a textbox.
View 2 RepliesHow can i get both date and time using Ajax calendar extender in ASP.Net,C#.
View 1 RepliesI'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 Repliesi am using calendarextender .i need to get the date & time when a particular date is selected or is there anything similar to calendarextender which can occupy less design space & give date & time
View 5 RepliesI have 2 fields being displayed in a Gridview, StartTime, EndTime. I want to create a 'Time" column which shows the elapsed time in HH:MM format. (StartTime - EndTime) This was all generated with VS2008, table is pulled from an SQL Query.
View 1 RepliesI am trying to create an app which shows current time in 6 time zones (Sydney, S'pore, india, london, EST and CST).
I am having troubles handling DST, because DST starts and ends on different dates in different countries.
More over I want to make it configurable (add/remove cities from the list).
Currently I have added the cities in .config with their timezone differences (with respect to GMT).
[code]....
Probably the solution is very simple but can't find a solution in the web about this... Is there a way to select time in the Calendar extender? Need to specify also the time when a user select the date.
View 1 RepliesI need to add time picker in web form i'm using ajax CalendarExtender it have option Format but didn't allow me select time
View 6 RepliesI have made a calendar extender that is hooked to a textbox and is activated when you click on a img button. But when ever you click on it the first time it shows and then immediately disappears.
View 3 RepliesI 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 RepliesI have to fill a date 00010101 into the text box on page load.But after loading it automatically change to 19010101 Min year is not 0001 How can i input 0001 as year
[Code]....
I'm developing an app with asp.net and jQuery and I have a strange problem, I have the div(used as dialog) and a button to show the dialog, the first time I call the dialog, it shows correctly, I close it but when I try to show for the second time the background grays but the dialog doesn't show (only in IE in firefox it works fine). Is there a way to fix this? Or maybe I'm doing somethign wrong.
<div id="divAuto">
</div>
<button id="openAuto">SHOW</button>
And here's the js:
$(document).ready(function() {
var dlg = $('#divAuto').dialog({ autoOpen: false, modal: true, show: "fold", hide: "drop", width: "500", height: "370" });
dlg.parent().appendTo(jQuery("form:first"));
$('#openAuto').click(function() {
$("#divAuto").dialog("open");
return false;
});
});
I'm using "appenTo" because I'm using asp.net buttons in the dialog and it's the "fix" to get the buttons to work.
We have a website which uses the calendar extender as the default date selection control, we noticed that whenever we try to select the date 30 April 2010, the control refuses and selects the previous date instead "29 April".
this looks so weired, but even trying to do the same with the Ajax Control Toolkit sample website results in the same problem too.
after many many trials, we noticed 2 things that could help you figure out what is the problem :
1- The problem only occures when Cairo local time is selected, any other time is OK.
2- This issue is not occurring in this date only, here what we discoverd
trying to select (30 April 2010) will select (29 April 2010) instead.trying to select (29 April 2011) will select (28 April 2011) instead. trying to select (28 April 2012) is working fine.trying to select (27 April 2012) will select (26 April 2012) instead.To reproduce the issue kindly follow these steps :
1- Change your computer's TimeZone to Cairo +2:00.
2- Try to reach any website which uses the calendar control ( for example
http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/Calendar/Calendar.aspx )
3- Try to select the mentioned dates ( 30 April 2010, 29 April 2011 and 27 April 2012 ) and see the results.
I have a problem with strange generate sql in ef4 ctp5. I have simple model with mapping :
[Table("post_auction")]
public class PostAuction
{
[Key,Column(Name="Id"),DatabaseGenerated(System.ComponentModel.DataAnnotations.DatabaseGenerationOption.Identity)]
public int Id { get; set; }
[Column(Name = "Number")]
public int Number { get; set; }
[Column(Name = "Label")]
public string Label { get; set; }
[Column(Name = "Description")]
public string Description { get; set; }
[Column(Name = "CategoryId")]
public int PostAuctionCategoryId { get; set; }
[Column(Name = "PriceCZK")]
public int PriceCZK { get; set; }
[NotMapped]
public bool IsAuctionPhotoExitst
{
get
{
if (File.Exists(HttpContext.Current.Server.MapPath("~/Public/Images/Posts/Thumbs/small_" + this.Number + ".jpg")))
return true;
return false;
}
}
}
and my linq query is :...............
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 RepliesI Pieces
NA 400
Cannot find an explanation of the AJAX CalendarExtender's attribute animated.
What does this do exactly?
Is it possible to get Current time from Calendar?
if i ask for TimeOfDay then i get "00:00:00"
when using CalendarExtender with a TextBox, when i press mouse into the TextBox, a Calendar pop-ups. I want to know, does here asynchronous communication took place for bringing this calender from server to the browser ? or initially at the time of page load itself that calendar was loaded in the browser ?
View 4 Replies