Hello, how to create horizontal calendar (calendar in one row)?
View Complete Post
Hello, I have a calendar control that will have events displayed within each cell.
I want to use a pre formatted gridview and simply bind the gridview with a dataset dynamically and display it within the cell of the specified day.
Is there a way to do that or do I have to dynamically build a gridview for every day that there is an event?
So here is the template gridview and datasource:
i want to put date into 2 combo box
combo1 = date, and combo2= month
can you help me?
Hopefully someone can help.
I have an asp.net menu with horizontal static top tier followed by 2 dynamic vertical lower tiers.
It renders fine in all other browsers etc. etc. - apart from IE6.
In IE6 the menu is not rendered horizontally and insttead the items are stacked vertically.
It is my understanding that when using horizontal orientation, the menu items are effectively floated next to each other.
So I can get round this float problem in IE6 by specifying a width for the items i.e.:
*html .AdminMenu .AspNet-Menu-Horizontal ul.AspNet-Menu li
Problem is, I do not want to set the width for each item. If I do this then it means regardless of the length of the text the width will always be the same.
On other browsers I do not set a width but instead set left/right margin so that every item is evenly spaced.
How can I do this in IE6? Essentially each li should wrap the text and float nex
Late last year Microsoft released Calendar and DatePicker controls for WPF in the WPF Toolkit. We'll show you how they work, and how you can customize them.
MSDN Magazine June 2009
I want to change calendar date backColor base on data from db, I only have vistual 2003 !
on mean time I have
<asp:DataGrid id="DataGrid1" style="Z-INDEX: 102; LEFT: 23px; POSITION: absolute; TOP: 271px"
runat="server" Font-Size="XX-Small" Font-Names="Verdana" AutoGenerateColumns="False" Visible="False">
<asp:BoundColumn DataField="subject" HeaderText="Title"></asp:BoundColumn>
<asp:BoundColumn DataField="posttimestart" HeaderText="Post date"></asp:BoundColumn>
Sub DayRender(ByVal source As Object, ByVal e As DayRenderEventArgs)
Dim i As Integer
For i = 0 To DataGrid1.Items.Count - 1
If (DataGrid1.Items(i).Cells(1).Text = e.Day.Date) Then
e.Cell.BackColor = Color.DarkOrange
when I click the day wich have data in db it change color , but I want the page load it change color !
AJAX with MasterPage not working.
Setup simple test site below, no error just not working. TIA
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" />
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="ajaxDev.WebForm1" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:CalendarExtender ID="TextBox1_CalendarExtender" runat="server"
I have a database linked to a calendar. I had a peice of code that retrieved dates from a database and populated the calendar. I wanted to tidy up my code using stored procedures (they seem neater & i assume there's a benefit somewhere). so i came up with this, however it's not working. The calendar displays, but it's not being populated with the database entries. The SqlCommand & SqlParameter I have working elsewhere in my code; as with the SqlDataAdapter (which also worked before i tried to conver to a stored procedure!) but combining these three (SqlCommand, SqlParameter & SqlDataAdapter) seem to be causing me problems.
It's probably something stupid but if someone could take a look and point me in the right direction, I'd be very grateful.Cheers,Jim
Public Sub dbConnection()
dbConnString = ConfigurationManager.ConnectionStrings("connString").ConnectionString
sqlConn = New SqlConnection(dbConnString)
Public Sub EquipmentDDLSelection()
Dim dbCMD As New SqlCommand("PopulateCalendar", sqlConn)
dbCMD.CommandType = CommandType.StoredProcedure
Dim parameterBookedEvents As New SqlParameter("@bookedEvents", SqlDbType.VarChar, 50)
thanks a bunch,kowalsky
Has anyone run into this? We have a calendar that, only on the 8th and 9th of the month, fails to show the last item:
It shows the hyperlink for "1 more item", but when you click it, it remains at "1 more item", rather than changing to "collapse". After verifying, there is one more item in the list that isnt getting displayed.
I've seen several posts regarding submitting to a list using and InfoPath form which I am successfully able to do in limited form. (only passing a basic date value) My environment: MOSS 2007 Enterprise w/SP2, InfoPath 2007, SPD 2007.
I'm basically trying to recreate a calendar form with the same data elements (and some additional ones for a specific business requirement) as the standard calendar newform.aspx form. (start time, end time broken down by date, hour, minute and All day event)
I need the form users to be able to select the date and if it is not an All day event...be able to select the hours and minutes just like on the newform.aspx. (date picker control for date and drop downs for hour and minute selection)
On submit I then need to create the list item with the appropriate data passed via a workflow.
My Start Time has a validation rule to not allow dates prior to the current date (and it can't blank) The End Time has a validation rule to not allow dates prior to what is specified as the Start Time value. (Also can't be blank) When I attempt to include
conditonal formatting to hide the hour and minute drop downs if 'All Day Event' is selected I get errors stating the fields can't be blank.
I also can't figure out how to pass the entire date/time values or the All Day Event to the list withou