or
<
telerik:RadCalendar
runat
=
"server"
Skin
=
"Windows7"
ID
=
"RadCalendar1"
AutoPostBack
=
"true"
TitleFormat
=
"MMM-yy"
EnableMultiSelect
=
"false"
MultiViewRows
=
"3"
MultiViewColumns
=
"1"
PresentationType
=
"Interactive"
HideNavigationControls
=
"true"
DayNameFormat
=
"FirstTwoLetters"
ShowOtherMonthsDays
=
"false"
FastNavigationStep
=
"1"
EnableNavigation
=
"true"
EnableMonthYearFastNavigation
=
"False"
>
<
ClientEvents
OnCalendarViewChanged
=
"CheckSelections"
/>
</
telerik:RadCalendar
>
function CheckSelections(sender, eventArgs) {
var selDates = sender.get_selectedDates();
var calendar = $find("<%=RadCalendar1.ClientID%>");
var dates = calendar.get_selectedDates()
var date = dates[0]
var year = date[0];
var month = date[1];
var day = date[2]
var mydate = month + "/" + day + "/" + year
mydate = DateAdd(mydate, "M", 1);
var datearray = mydate.format("yyyy, M, d");
var arr = [datearray];
calendar.selectDate(arr,true);
}
<
span
style
=
"font-family: arial; font-size: 12px;"
>
<
p
><
span
style
=
"font-family: arial; font-size: 12px;"
>When THDi Software builds a public website for your company, you will have the option of making certain "content mangement" fucntionality available for approved employees on your staff to use to maintain the text and verbiage on your website.<
br
/>
<
br
/>
There are many different categories of information for your maintenance purposes. These tools will reduce the time you need to spend maintaining your website and will reduce your total charges for our labor. Of course, if you want, we can maintain this information for you.<
br
/>
<
br
/>
</
span
></
p
>
</
span
>
<
p
> </
p
>
<
span
style
=
"font-family: arial; font-size: 12px;"
>
<
p
> </
p
>
</
span
>
<
p
> </
p
>
<
ul
>
<
li
><
span
style
=
"font-family: arial; font-size: 12px;"
>When THDi Software builds a public website for your company, you will have the option of making certain "content mangement" fucntionality available for approved employees on your staff to use to maintain the text and verbiage on your website.<
br
/>
<
br
/>
There are many different categories of information for your maintenance purposes. These tools will reduce the time you need to spend maintaining your website and will reduce your total charges for our labor. Of course, if you want, we can maintain this information for you.<
br
/>
<
br
/>
</
span
></
li
>
</
ul
>
<table cellspacing="0" class="rgMasterTable rgClipCells" border="0" id="Domestic_userControl_rgDomestic_ctl00_Header" style="width:100%;table-layout:fixed;overflow:hidden;text-overflow:ellipsis;empty-cells:show;"> |
<table cellspacing="0" class="rgMasterTable rgClipCells" border="0" id="Domestic_userControl_rgDomestic_ctl00_Header" style="table-layout:fixed;overflow:hidden;text-overflow:ellipsis;empty-cells:show;"> |
<telerik:RadGrid runat="server" ID="rgDomestic" AllowFilteringByColumn="true" |
AllowSorting="true" ShowFooter="True" EnableLinqExpressions="false" |
AllowPaging="True" AllowMultiRowSelection="true" |
ShowGroupPanel="true" ShowHeader="true" |
PageSize="15" |
AutoGenerateColumns="false"> |
<ClientSettings Selecting-AllowRowSelect="true" ClientEvents-OnGridCreated = "DomesticGridCreated" AllowDragToGroup="true" AllowGroupExpandCollapse="true" EnableRowHoverStyle="true" ClientEvents-OnRowDblClick="RowDoubleClick" > |
<Scrolling AllowScroll="True" UseStaticHeaders="true" SaveScrollPosition="true" FrozenColumnsCount="2"/> |
</ClientSettings> |
<GroupingSettings ShowUnGroupButton="true" /> |
<MasterTableView GroupsDefaultExpanded="false" GroupLoadMode="Client" HierarchyLoadMode="Client" ClientDataKeyNames="DocNum" DataKeyNames="DocNum"> |
<Columns> |
this.StartDate.SelectedDate = DateTime.Now;
SelectedDate
" is null.protected void dgPerson_NeedDataSource(object source, GridNeedDataSourceEventArgs e)
{
dgPerson.DataSource = LocalEntityManager.Context.People;
}
<
telerik:RadGrid
ID
=
"dgPerson"
runat
=
"server"
AllowFilteringByColumn
=
"True"
AllowSorting
=
"True"
AllowPaging
=
"true"
PagerStyle-Mode
=
"NextPrevNumericAndAdvanced"
GridLines
=
"None"
OnNeedDataSource
=
"dgPerson_NeedDataSource"
EnableLinqExpressions
=
"true"
ShowStatusBar
=
"true"
Skin
=
"Black"
>
<
MasterTableView
Name
=
"Person"
autogeneratecolumns
=
"False"
CommandItemDisplay
=
"Top"
datakeynames
=
"PersonID"
pagesize
=
"20"
EditMode
=
"PopUp"
EditFormSettings-PopUpSettings-Modal
=
"false"
EditFormSettings-PopUpSettings-Width
=
"950px"
>
<
RowIndicatorColumn
>
<
HeaderStyle
Width
=
"20px"
></
HeaderStyle
>
</
RowIndicatorColumn
>
<
ExpandCollapseColumn
>
<
HeaderStyle
Width
=
"20px"
></
HeaderStyle
>
</
ExpandCollapseColumn
>
<
SortExpressions
>
<
telerik:GridSortExpression
FieldName
=
"FullName"
SortOrder
=
"Ascending"
/>
</
SortExpressions
>
<
Columns
>
<
telerik:GridBoundColumn
DataField
=
"PersonID"
DataType
=
"System.Int32"
FilterControlWidth
=
"40px"
HeaderText
=
"ID"
ReadOnly
=
"True"
SortExpression
=
"PersonID"
UniqueName
=
"PersonID"
>
</
telerik:GridBoundColumn
>
<
telerik:GridTemplateColumn
HeaderText
=
"Full Name"
SortExpression
=
"FullName"
UniqueName
=
"FullName"
DataField
=
"FullName"
AutoPostBackOnFilter
=
"true"
CurrentFilterFunction
=
"StartsWith"
>
<
ItemTemplate
><
asp:Literal
runat
=
"server"
ID
=
"litFullName"
Text='<%# Eval("FullName") %>'></
asp:Literal
></
ItemTemplate
>
<
EditItemTemplate
><
asp:TextBox
runat
=
"server"
ID
=
"txtFullName"
Width
=
"300px"
Text='<%# Bind("FullName") %>'></
asp:TextBox
></
EditItemTemplate
>
</
telerik:GridTemplateColumn
>