Web Forms :: Create Custom Calendar
Feb 27, 2014
I want to create custom calendar. If the user wants to apply for the vacation he/she has to select date from 2 textbox’s i.e. Start date and End date. The vacation duration is for 30 days.I am counting days after user selecting the date from textbox’s i.e. Strat date and End date.Between this two dates there is a festival Eid-al-Fitr (End of Ramadan) which is expected to be on July 28 2014. My residing place is KSA, suppose holidays for Eid-al-Fitr starts from July 27 2014 to Aug 3 2014 duration of 7 days. I want to exclude these 7 days from the vacation days and display the count as 23 days .
View 1 Replies
Similar Messages:
Nov 22, 2010
I'm need to create an app. to organize the tech assistance of the company. One thing I need to do, is to create some sort of planner, to set the interventions. It should be some sort of organizer, like in cell phones for instance, that should allow me to set day and time of the intervention and sort data by day. I know it sounds simple, maybe, but I'm quiet a newbie, and I have no clue how to start. I' m not looking for readymade solutions, although I wouldn't say no to a such offer lol, but for a clue on how to create something like that.
View 2 Replies
Aug 12, 2010
I want to apply custom css to my calendar control. i have applied the same at corresponding locations for e.g.
e.Cell.CssClass = "highlight";
clndrEvt.TodayDayStyle.CssClass = "currentDay";
clndrEvt.OtherMonthDayStyle.CssClass = "OOB";
clndrEvt.NextPrevStyle.CssClass = "dayTitle";
However when i render the control, my styles are not reflected.
When i check 'View Source' it applies my classes(italic) and ALSO applies in-line styles (underlined)along with it, which overwrites my styles. for e.g.
"class ="highlight" align ="center"
style ="color:White;background-color:Silver;width:14%".
how to remove those in-line styles (by using which properties) from the html by settings properties of calendar control.
I have tried few, but that did not work.
e.Cell.Attributes.CssStyle.Clear();
e.Cell.Attributes.Add("Style", string.Empty);
clndrEvt.Style.Clear(); {clndrEvt is my calendar control}
View 1 Replies
Sep 28, 2010
I am trying to create a Linkbutton inside a calendar. Everything works except for the onClick.
Is there a way to make this work?
[code]....
View 9 Replies
Oct 2, 2010
how to create horizontal calendar (calendar in one row)?
View 1 Replies
May 26, 2010
I want create a calender which does not popup.
User should be provided with a text box which has format like " / / "
So that when user tries to enter date, he just go on entering DD/MM/YYYY without forward slash.
View 4 Replies
May 5, 2010
I currently have a 2 calendar form one for begin date & one for end date. Is there a way I can have the Begin date calendar dynamically default to the previous month?
[Code]....
[Code]....
View 3 Replies
Oct 22, 2010
I want to create a custom control where I define several specifically named DIV sections. The code-behind logic of the custom control will perform operations on these named DIV sections. The page where the custom control is hosted needs to be able to add named controls to the DIV sections and perform operations on these named controls added to the DIV sections.
Let me explain a little further. In the custom control, I want to have code behind logic that fires the following Page Event and uses a condition to make one or another specifically named DIV section visible or not:
< _
ToolboxData("<{0}:BaseDetails runat=""server""></{0}:BaseDetails>") _
> _
Public Class BaseDetails
[code]...
how can I create a custom control which is able to generate the named DIV sections "DetailsNameDiv1" and "DetailsNameDiv2" where my custom control can check a condition and make one or the other visible. Also, I need to be able to add controls to these named DIV sections when I host the custom control and the control that I add to the named DIV section needs to let me set values of these controls from the code behind logic of the page (or usercontrol) where the custom control is being hosted (in my example, I am adding TextBox controls that I want to set the Text property from a SQL Data Reader).
View 3 Replies
Jan 28, 2010
What is the best and most efficient way to set custom ASP.Net Calendar day properties from sql Database records? Each existing record has date column that corrosponds with calendar's date.
Can this be done without writing a custom server control?
View 5 Replies
Feb 24, 2011
I have currently on multiple pages a modal popup that displays the information below, we are getting to the point where we need to call this popup from multiple locations, currently i have duplicate setups on each page that i want to use it on, but its becoming a mess to manage when a change is needed.. so im looking to see if what i have within the modal popup can be turned into a control that i can call anywhere thru out the site and have just 1 setup to maintain going forward..If its possible to create a control that can then be placed within the modal popup and server the same purpose that would be great any links here is what i have within the modal popup that i have on atleast 3 pages currently..
[Code]....
View 2 Replies
Dec 19, 2010
I want to create a custom web part in SharePoint 2007 that allows me to take items from an existing custom list (i.e. Title, Hyperlink, Description and photo) and then render it in a format of my choice. How can I do this using C# asp.net and a web part?
View 1 Replies
May 15, 2010
I know that how to create custom control and add custom property.
I want to create property like DataSource to my custom control.
View 1 Replies
Nov 24, 2010
I'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.
View 1 Replies
Oct 26, 2010
I want to create a custom Toolbox in asp.net which will contain all custom control that i have made. Now the user will drag these controls from custom toolbox at run time and create form. I tried but did not succeeded.
View 1 Replies
Feb 15, 2010
I am trying to create a web custom control but I am unable to find the templete that should be in my projects window. I am using Visual Studio Pro and it should be there. Doc's say standard version doesn't have it but thats all I can find.
View 4 Replies
Jun 23, 2010
how can i make hijri calender(arabic one) i prefer using custom control i tried Telerik but it has problem it display monthes in hijri but year still 2010 ,2009 and so on,i aslo want the user to select date (hijri) from calender and can not type on it just select between date and save it in database
View 3 Replies
Dec 16, 2010
This is my first "request for help" post - I've spent the past few weeks helping others, so I'm hoping someone can shed some light here.I've dealt with server controls before, so it's not new to me, but it was some time ago and I'm a bit rusty. I have an inherited calendar control, that works fine:
[Code]....
I've overriden the Render method, hoping to be able to modify the HTML output of the control - I want to hide the back arrow if the Month & Year in MinDate is reached in the calendar, and the same goes for MaxDate and the forward arrow.On top of this, I want to be able to display icons in the day cells, under certain data-bound conditions. Once I've figured one out, I'm sure I'll be able to work the other one out.Are there any other methods, events or properties more suitable for this? Are there any other controls that do what I'm looking for that I've maybe overlooked?I'm using C#.Net 4.0 Webforms - it's a very small app, so I've not used MVC etc... just a few LINQ queries to the database.
View 2 Replies
Jul 2, 2010
I would like to create a calendar view of some events gets from a database, Is it possible to make it with a repeater control? Or its the wrong way?
View 1 Replies
Mar 31, 2011
We are trying to implement a calendar in an asp.net page and link it a database. The calendar should highlights dates based on data in the database tables similar to airline ticket booking calendar.
View 2 Replies
Mar 29, 2011
I'm trying to create a calendar extender dynamically on my application. For that i am using the following code:
[Code]....
THe problem is that i'm having a runtime exception, on the OnPreRender of the ExtenderControlBase.cs saying that "A control with ID "filtrodatainicio" could not be found. I'm pretty sure the problem resides in the fact that i'm creating both the text box and the extender dynamically but i can't quite figure out what should i change to make this work.
View 3 Replies
Dec 5, 2010
I want to create ASP.NET like calendar control in .NET (C#)
I want just to simulate like basic calendar control (not AJAX like )which shows dates and traverse the months.
View 1 Replies
Jun 17, 2010
I would like to create a calendar that displays a year from today(everyday) and allows the user to select the multiple dates.
I tried to use the asp:calendar without any success
I am developing in C# .NET
View 1 Replies
Jan 14, 2011
When a user selects an item from dropdownlist ,, certain dates (from DB) gets selected on Calendar automatically with the color pink >> This is working FINE The problem happens after that, when i want to select any other date >> the dates which were selected automatically before (that came from DB) get deselected !! I want them to stay selected, so i know which are the dates that already saved in DB ! So, the calendar is removing the programmed selected dates upon selecting a new date on the calendar object.
View 4 Replies
Jan 14, 2010
I want to create custom control in Asp.Net 3.5
View 5 Replies
Nov 4, 2010
I wanted to create the Calendar with data from database.
I have a ItemId in the database with DateFrom and DateTo
ItemID DateFrom DateTo
1 10/01/2010 11/20/2010
2 10/14/2010 12/18/2010
I wanted to show these records in Calender. may be just view Only.
View 5 Replies