View Complete Post
I want to desplay date like (21-Sep-2010)
Im using Ajax calender extender in my asp.net page on clicking asp.net button it show calender popup on selecting date its binding on textbox all are working fine,
what i need is i need to set shortcut for todays day.. on clicking button its show calender on press some keyboard it bind todays date in textbox..
How to set shortcut..?
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'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