Questions tagged [calendar-control]

31 questions
0
votes
1 answer

How to set Custom text on Calendar control based on SQL query result

My application is an ASP.Ne/C# project using NPGSQL and POSTGRESQL. I have a calendar control on a web page named deskCal.aspx On the OnDayRender event I have the following: protected void CalRender(object sender, DayRenderEventArgs e) { …
DebPepDevuan
  • 469
  • 14
  • 30
0
votes
1 answer

enable weekends in date picker

There is a webpage which ignores weekends and does not allow the user to select a Saturday or Sunday. I wanted to enable that and while doing internet search I found a piece of code given below that I THINK may be causing this. The issue is I do not…
Sabha
  • 621
  • 10
  • 32
0
votes
2 answers

ASP.Net Calendar Control styling background behind title

I'm trying to remove grey background behind calendar title but not having any luck. This is the default calendar control found in the toolbox. Can anyone see what I'm missing? My best guess was: #Calendar1 td { background-color:…
Rod
  • 14,529
  • 31
  • 118
  • 230
0
votes
2 answers

Calendar Control Behaving Badly

I have a problem with a user control containing a calendar control. It looks OK in the design view in Visual Studio 2015: However, in the browser, any browser, it looks like this: I have tried to set the width to 330px wherever I can think of, but…
Schpenn
  • 108
  • 1
  • 11
0
votes
2 answers

DropDownList containing weeks

I'm working on an intranet site, specifically on a Weekly Monitoring tool for employees. What I need is to fill a DropDownList with weeks, example week: Week : From 12/10/15 to 18/10/15 I'm able to filter on another page but with years and…
Christopher
  • 1,712
  • 2
  • 21
  • 50
0
votes
3 answers

How to disable past date in ckcalendar?

I am looking for how to disable past dates in the CKCalendar. For instance, I want to disable all dates before the current date. Only today's date and the future date must be clickable.
vardhanReddy
  • 165
  • 1
  • 7
0
votes
1 answer

How to set default date for the calender control in asp.net

How to set Calender Control to 1 week past from the current date in asp.net web application to get data from Database to Gridview
0
votes
0 answers

How to show hijri calendar in CalendarControl in Asp.Net

I have a web page, using Asp.Net 4.0. I have two calendar controls first for Georgian Calendar and second for hijri Calendar. How can i show Hijri calendar in CalendarControl2 without changing my page's culter.
Haider Ali Wajihi
  • 2,756
  • 7
  • 51
  • 82
0
votes
1 answer

Calender control in ASP.Net with textbox

I wanted to use the calender contro with textbox. But when I tried using it with the help of ajax toolkit, I came to know that the respective libraries are not installed. Any solution to the problem...? I meant what can substitute the this?
user1826475
  • 19
  • 1
  • 5
0
votes
1 answer

How to disable selected dates on calendar control?

// How to disable selected dates on Calendar1?
chaim
  • 31
  • 4
0
votes
3 answers

Calendar Control, DayRender function not executing

I have a calendar in my aspx page that is as follows: And the code behind is very simple. protected void Calendar1_DayRender(object sender, DayRenderEventArgs e) { …
Katherine Perotta
  • 125
  • 1
  • 5
  • 15
0
votes
1 answer

HTMLFORM-PHP-how to use the calendar control as date picker in a right way

I am using html and php for creating a website. I have a rental form in html which contains the equipments for rental. Here i am using the php to insert the elemets. I have start date and end date in my form. I want to show the user to pick their…
Veeramani S
  • 1
  • 1
  • 2
0
votes
1 answer

Calendar control showing long DayLength suddenly

I have a Calendar control on a VB6 form which on one machine is suddenly showing long day names instead of the single initials of the days like it is designed to. eg. Monday instead of M At design time this is set with the DayLength property which…
CJ7
  • 22,579
  • 65
  • 193
  • 321
-1
votes
1 answer

Is there a way to call a function when a new day is selected on a calendar in ASP.Net/C#?

I want to write a function in my .cs file that is called when a new day is selected. I've searched Google for hours, and have come up with nothing.
anscmc
  • 23
  • 2
-1
votes
1 answer

VS2010 calendar control incorrect dates

The following issue is that i have 3 calendar controls (different ID) in a ASP.NET page (Framework 4.0), the calendar control is not visible but when i click a button it opens up and lets you select a date, everything is fine until i open the second…
Eddy V
  • 99
  • 4
  • 15