or
DateRange.EndDateControl.Style.Value =
"display: none"
;
function MakeControlsVisible(CheckBoxControl) {
var endDateControl = "<%= DateRange.EndDateControl.ClientID %>";
var datePicker = document.getElementById(endDateControl);
if (CheckBoxControl.checked == true) {
datePicker.style.display = "block";
}
}
RadEditor _editor =
new
RadEditor();
/*Document Manager*/
string
documentsPath =
"Library/Documents/"
;
_editor.DocumentManager.UploadPaths =
new
string
[] { documentsPath };
_editor.DocumentManager.ViewPaths =
new
string
[] { documentsPath };
_editor.DocumentManager.DeletePaths =
new
string
[] { documentsPath };
_editor.DocumentManager.SearchPatterns =
new
string
[] {
"*.doc,*.txt,*.docx,*.xls,*.xlsx,*.pdf,*.jpg,*.jpeg,*.eps"
};
_editor.DocumentManager.MaxUploadFileSize = 104857600;
<
telerik:GridHyperLinkColumn
DataNavigateUrlFields
=
"ID"
DataNavigateUrlFormatString
=
"Page.aspx?id={0}"
DataTextField
=
"AccountNumber"
HeaderText
=
"Account Number"
UniqueName
=
"AccountNumber"
>
<
telerik:RadGrid
ID
=
"grdCurrentandPrior"
runat
=
"server"
AllowRowResize
=
"True"
AllowSorting
=
"True"
AutoGenerateColumns
=
"False"
GridLines
=
"Horizontal"
Skin
=
"Web20"
Style
=
"margin-right: 0px"
Width
=
"897px"
Height
=
"252px"
OnNeedDataSource
=
"grdCurrentandPrior_NeedDataSource"
OnExcelMLExportRowCreated
=
"grdCurrentandPrior_ExcelMLExportRowCreated"
OnSortCommand
=
"grdCurrentandPrior_SortCommand"
>
<
exportsettings
filename
=
"OpenItemsCurrentInventory"
ignorepaging
=
"True"
openinnewwindow
=
"True"
exportonlydata
=
"true"
excel-format
=
"ExcelML"
>
</
exportsettings
>
<
mastertableview
commanditemdisplay
=
"Bottom"
allownaturalsort
=
"false"
usealldatafields
=
"true"
>
<
CommandItemSettings
ShowExportToExcelButton
=
"true"
ShowAddNewRecordButton
=
"false"
ShowRefreshButton
=
"false"
/>
<
Columns
>
<
telerik:GridTemplateColumn
DataField
=
"Assignee"
HeaderText
=
"Assignee"
UniqueName
=
"Assignee"
SortExpression
=
"Assignee"
>
<
HeaderStyle
Font-Bold
=
"True"
Width
=
"150px"
HorizontalAlign
=
"Center"
Font-Names
=
"Arial"
/>
<
ItemTemplate
>
<
asp:Label
ID
=
"lbAssignee"
runat
=
"server"
Text='<%# Eval("Assignee") %>'></
asp:Label
>
</
ItemTemplate
>
<
FooterStyle
HorizontalAlign
=
"Right"
Font-Bold
=
"true"
/>
</
telerik:GridTemplateColumn
>
<
telerik:GridTemplateColumn
DataField
=
"State"
HeaderText
=
"State"
UniqueName
=
"State"
SortExpression
=
"State"
Visible
=
"false"
>
<
HeaderStyle
Font-Bold
=
"True"
Width
=
"150px"
HorizontalAlign
=
"Center"
Font-Names
=
"Arial"
/>
<
ItemTemplate
>
<
asp:Label
ID
=
"lbState"
runat
=
"server"
Text='<%# Eval("State") %>'></
asp:Label
>
</
ItemTemplate
>
<
FooterStyle
HorizontalAlign
=
"Right"
Font-Bold
=
"true"
/>
</
telerik:GridTemplateColumn
>
<
telerik:GridTemplateColumn
DataField
=
"JurisdictionCount"
HeaderText
=
"Jurisdictions"
UniqueName
=
"JurisdictionCount"
SortExpression
=
"JurisdictionCount"
>
<
HeaderStyle
Font-Bold
=
"True"
Width
=
"80px"
HorizontalAlign
=
"Center"
Font-Names
=
"Arial"
/>
<
ItemTemplate
>
<
asp:Label
ID
=
"lbJurisdiction"
runat
=
"server"
Text='<%# Eval("JurisdictionCount", "{0:N0}")%>'></
asp:Label
>
</
ItemTemplate
>
<
ItemStyle
HorizontalAlign
=
"Right"
ForeColor
=
"Black"
/>
<
FooterStyle
HorizontalAlign
=
"Right"
Font-Bold
=
"true"
/>
</
telerik:GridTemplateColumn
>
<
telerik:GridTemplateColumn
UniqueName
=
"OpenItemsByAge"
>
<
HeaderTemplate
>
<
table
id
=
"Table1"
cellspacing
=
"0"
cellpadding
=
"0"
width
=
"100%"
border
=
"0"
>
<
tr
>
<
td
colspan
=
"3"
align
=
"center"
>
<
b
>Open Items by Age</
b
>
</
td
>
</
tr
>
<
tr
>
<
td
align
=
"center"
style
=
"width: 33%"
>
<
asp:LinkButton
CssClass
=
"Button"
ID
=
"btnPrioOpen"
Text
=
"Prior"
CommandName
=
'Sort'
CommandArgument
=
'OpenItemsCountPrior'
runat
=
"server"
/></
td
>
<
td
align
=
"center"
style
=
"width: 33%"
>
<
asp:LinkButton
CssClass
=
"Button"
ID
=
"btnLastMonth"
Text
=
"Last Month"
CommandName
=
'Sort'
CommandArgument
=
'OpenItemsCountLastMonth'
runat
=
"server"
/></
td
>
<
td
align
=
"center"
style
=
"width: 34%"
>
<
asp:LinkButton
CssClass
=
"Button"
ID
=
"btnCurrentOpen"
Text
=
"Current"
CommandName
=
'Sort'
CommandArgument
=
'OpenItemsCountCurrent'
runat
=
"server"
/></
td
>
</
tr
>
</
table
>
</
HeaderTemplate
>
<
ItemTemplate
>
<
table
id
=
"Table2"
cellspacing
=
"0"
cellpadding
=
"0"
width
=
"100%"
border
=
"0"
style
=
"margin: 0px 0px 0px 0px;"
>
<
tr
>
<
td
align
=
"right"
width
=
"33%"
style
=
"border-bottom-color:White; border-left-color:White"
>
<%# Eval("OpenItemsCountPrior", "{0:N0}") %>
</
td
>
<
td
align
=
"right"
width
=
"33%"
style
=
"border-bottom-color:White"
>
<%# Eval("OpenItemsCountLastMonth", "{0:N0}")%>
</
td
>
<
td
align
=
"right"
width
=
"34%"
style
=
"border-bottom-color:White"
>
<%# Eval("OpenItemsCountCurrent", "{0:N0}") %>
</
td
>
</
tr
>
</
table
>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
<
telerik:GridTemplateColumn
DataField
=
"TotalRemainingItems"
HeaderText
=
"Items Left to Pay"
UniqueName
=
"TotalRemainingItems"
SortExpression
=
"TotalRemainingItems"
>
<
HeaderStyle
Font-Bold
=
"True"
Width
=
"95px"
HorizontalAlign
=
"Center"
Font-Names
=
"Arial"
/>
<
ItemTemplate
>
<
asp:Label
ID
=
"lblTotalRemain"
runat
=
"server"
Text='<%# Eval("TotalRemainingItems", "{0:N0}") %>'></
asp:Label
>
</
ItemTemplate
>
<
ItemStyle
HorizontalAlign
=
"Right"
ForeColor
=
"Black"
/>
<
FooterStyle
HorizontalAlign
=
"Right"
Font-Bold
=
"true"
/>
</
telerik:GridTemplateColumn
>
<
telerik:GridTemplateColumn
DataField
=
"CompleteCount"
HeaderText
=
"Complete"
UniqueName
=
"CompleteCount"
SortExpression
=
"CompleteCount"
>
<
HeaderStyle
Font-Bold
=
"True"
Width
=
"80px"
HorizontalAlign
=
"Center"
Font-Names
=
"Arial"
/>
<
ItemTemplate
>
<
asp:Label
ID
=
"lblCompleteCount"
runat
=
"server"
Text='<%# Eval("CompleteCount", "{0:N0}") %>'></
asp:Label
>
</
ItemTemplate
>
<
ItemStyle
HorizontalAlign
=
"Right"
ForeColor
=
"Black"
/>
<
FooterStyle
HorizontalAlign
=
"Right"
Font-Bold
=
"true"
/>
</
telerik:GridTemplateColumn
>
<
telerik:GridTemplateColumn
DataField
=
"PercentComplete"
HeaderText
=
"% Complete"
UniqueName
=
"clmPctComplete"
SortExpression
=
"PercentComplete"
>
<
HeaderStyle
Font-Bold
=
"True"
Width
=
"85px"
HorizontalAlign
=
"Center"
Font-Names
=
"Arial"
/>
<
ItemTemplate
>
<
asp:Label
ID
=
"lblPctComplete"
runat
=
"server"
Text='<%# Eval("PercentComplete", "{0:N2}%")%>'></
asp:Label
>
</
ItemTemplate
>
<
ItemStyle
HorizontalAlign
=
"Right"
ForeColor
=
"Black"
/>
<
FooterStyle
HorizontalAlign
=
"Right"
Font-Bold
=
"true"
/>
</
telerik:GridTemplateColumn
>
</
Columns
>
</
mastertableview
>
<
headerstyle
borderstyle
=
"Solid"
/>
<
clientsettings
>
<
Scrolling
AllowScroll
=
"True"
UseStaticHeaders
=
"True"
/>
</
clientsettings
>
</
telerik:RadGrid
>
<
telerik:RadComboBox
ID
=
"RadComboBox1"
runat
=
"server"
DataSourceID
=
"myDS"
DataTextField
=
"fullname"
DataValueField
=
"id"
oncopy
=
"return false;"
onpaste
=
"return false;"
oncut
=
"return false;"
onkeypress
=
"return tabOnly(event)"
onmousewheel
=
"return false"
OnClientDropDownOpening
=
"OnClientDropDownOpening"
OnClientDropDownClosing
=
"OnClientDropDownClosing"
OnClientSelectedIndexChanging
=
"OnClientSelectedIndexChanging"
OnClientBlur
=
"OnClientBlur"
Width
=
"200px"
AllowCustomText
=
"True"
ChangeTextOnKeyBoardNavigation
=
"False"
>
<
ItemTemplate
>
<
asp:CheckBox
ID
=
"CheckBox1"
runat
=
"server"
Text='<%# Eval("fullname") %>' Checked="true"/>
</
ItemTemplate
>
</
telerik:RadComboBox
>
<
asp:SqlDataSource
ID
=
"myDS"
runat
=
"server"
ConnectionString="<%$ ConnectionStrings:myconnection %>"
SelectCommand="SELECT DISTINCT contacts.id, contacts.fullname FROM contacts ORDER BY fullname">
</
asp:SqlDataSource
>
SELECT
id, areaID, contactID
FROM
area_contact_map
WHERE
areaID = 6
AND
(blnRemoved
IS
NULL
OR
blnRemoved = 0)
HTML:
<div class="MyClass">
<telerik:RadTextBox ID="txtCloseDateWeeks" runat="server"/>
</div>
CSS:
.MyClass span input
{width:200px !important;}
<
span
class
=
"RadInput RadInput_Outlook"
id
=
"ctl00_ctl00_txtCloseDateWeeks_wrapper"
style
=
"white-space: nowrap;"
>
<
input
name
=
"ctl00_ctl00_txtCloseDateWeeks_text"
class
=
"riTextBox riEnabled"
id
=
"ctl00_ctl00_txtCloseDateWeeks_text"
style
=
"width: 125px;"
type
=
"text"
size
=
"20"
_events
=
"[object Object]"
value
=
"1"
/>
<
input
name
=
"ctl00$ctl00$txtCloseDateWeeks"
title
=
""
class
=
"rdfd_"
id
=
"ctl00_ctl00_txtCloseDateWeeks"
style
=
"width: 1px; height: 1px; overflow: hidden; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: -18px; margin-right: 0px; margin-bottom: 0px; margin-left: -1px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; visibility: hidden;"
type
=
"text"
control
=
"[object Object]"
value
=
"1"
/>
<
input
name
=
"ctl00_ctl00_txtCloseDateWeeks_ClientState"
id
=
"ctl00_ctl00_txtCloseDateWeeks_ClientState"
type
=
"hidden"
autocomplete
=
"off"
/>
type
=
"hidden"
This might be why.