<
telerik:RadFacebookButton
ButtonType
=
"FacebookLike"
Font
=
"Verdana"
ShowFaces
=
"False"
TitleToShare
=
"The Conference Board of Canada"
UrlToShare
=
"http://www.conferenceboard.ca"
Width
=
"40"
/>
<
telerik:RadTwitterButton
CounterMode
=
"Horizontal"
TitleToShare
=
"The Conference Board of Canada"
UrlToShare
=
"http://www.conferenceboard.ca/"
/>
<
telerik:RadGoogleButton
AnnotationType
=
"Bubble"
ButtonSize
=
"Medium"
TitleToShare
=
"The Conference Board of Canada"
UrlToShare
=
"http://www.conferenceboard.ca/"
Width
=
"40"
/>
ColumnCreated
DataBinding
DataBound
<
telerik:RadGrid
ID
=
"rgResults"
Skin
=
"Vista"
runat
=
"server"
AutoGenerateColumns
=
"true"
AllowFilteringByColumn
=
"True"
AllowPaging
=
"false"
AllowSorting
=
"True"
ShowGroupPanel
=
"true"
OnItemCommand
=
"rgresults_ItemCommand"
ShowFooter
=
"true"
OnDataBound
=
"rgResults_DataBound"
OnDataBinding
=
"rgResults_DataBinding"
OnColumnCreated
=
"rgResults_ColumnCreated"
>
<
MasterTableView
Width
=
"100%"
GroupLoadMode
=
"Client"
TableLayout
=
"Fixed"
UseAllDataFields
=
"true"
>
<
CommandItemSettings
ShowExportToExcelButton
=
"true"
ShowAddNewRecordButton
=
"false"
ShowRefreshButton
=
"false"
/>
</
MasterTableView
>
<
GroupingSettings
CaseSensitive
=
"false"
/>
<
ClientSettings
AllowGroupExpandCollapse
=
"True"
ReorderColumnsOnClient
=
"True"
AllowDragToGroup
=
"True"
AllowColumnsReorder
=
"True"
>
<
Resizing
AllowColumnResize
=
"true"
/>
<
Selecting
AllowRowSelect
=
"True"
EnableDragToSelectRows
=
"true"
/>
<
Scrolling
AllowScroll
=
"true"
UseStaticHeaders
=
"true"
/>
</
ClientSettings
>
<
GroupingSettings
ShowUnGroupButton
=
"true"
/>
<
ExportSettings
HideStructureColumns
=
"true"
/>
<
FooterStyle
/>
</
telerik:RadGrid
>
This is the brief code behind for the data bind:
'Bind results
Dim Results As DataTable = objUDR.UserDefinedReports_RunReport(ViewState("SelectedUDR").ToString, Fields, GroupBy, Where, True)
rgResults.DataSource = Results
rgResults.DataBind()
All of the other onBninding subs etc are standard and as mentioned are hit when an action is applied ot the grid after binding.
Any help would be great.
Thanks
protected
void
RadChart2_Load(
object
sender, EventArgs e)
{
foreach
(ChartAxisItem axisItem
in
this
.RadChart2.PlotArea.XAxis.Items)
{
axisItem.ActiveRegion.Tooltip =
"Click Me"
;
//axisItem.ActiveRegion.Url = "Default.aspx";
axisItem.ActiveRegion.Click +=
new
RegionClickEventHandler(ActiveRegion_Click);
}
}
Hello,
I have a page that has two calendar controls on it. One is for indicating a start date / time and one is for indicating an end date / time. These values are ultimately saved in the database.
When a user returns to their record and wishes to update these values, I'd like to show them what they were previously set to. I'm able to save and retrieve the date value by wiring up the SelectedDate.Value property. But this does not help me get the time.
I'm also not sure how to set the time once I have the value from the server. I'm able to set the date but not the time.
Please let me know how I'd go about setting the date AND time values in my Page_Load event.
Many thanks in advance,
~ Dave
Grid1.Template.BestFitColumns()
var pickerDebut = $find("<%= StartDate.ClientID %>");
var dateDebut = pickerDebut.get_selectedDate().format("dd/MM/yyyy");
var pickerFin = $find("<%= EndDate.ClientID %>");
var dateFin = pickerFin.get_selectedDate().format("dd/MM/yyyy");