function rowClicked(sender, args) {
var plu = args.getDataKeyValue("PLUCODE")
var pline = args.getDataKeyValue("PLINE")
var masterTable = $find("<%= RadGrid1.ClientID %>").get_masterTableView();
var id = args.get_gridDataItem().get_element().id;
masterTable.fireCommand("ShowDetail", plu + "|" + pline+"|"+id);
}
RadGrid1_ctl00__1
" and was passed to the server side and then the tooltip TargetControlID got set as following:protected void RadGrid1_ItemCommand(object sender, GridCommandEventArgs e)
{
if (e.CommandName == "ShowDetail")
{
string[] s = e.CommandArgument.ToString().Split('|');
CurrentItemCode = s[0];
this.ilvRadToolTip.TargetControlID = s[2]; // "RadGrid1_ctl00__1";
this.ilvRadToolTip.Show();
LoadUserControl(PlaceHolder, CurrentControl, s[0], s[1]);
}
}
TargetControlID = RadGrid1.CientID and the tooltip was shown correctly and of course the position was according to the whole grid.
Is there any manipulation inside that caused this to happen ? Would there be any solution as to meet my requirement?
I would appreciate it very much if you could provide some advice. Thank you.
<
telerik:GridTemplateColumn
DataType
=
"System.String"
FilterControlAltText
=
"Filter Urgency column"
HeaderText
=
"Urgency"
AllowFiltering
=
"true"
SortExpression
=
"Urgency"
UniqueName
=
"Urgency"
Visible
=
"true"
>
<
FilterTemplate
>
<
telerik:RadComboBox
ID
=
"comboUrgencyFilter"
DataSourceID
=
"UrgencyTypeDataSource"
DataTextField
=
"Name"
DataValueField
=
"Name"
AppendDataBoundItems
=
"true"
SelectedValue='<%# ((GridItem)Container).OwnerTableView.GetColumn("Urgency").CurrentFilterValue %>'
runat="server" OnClientSelectedIndexChanged="UrgencyIndexChanged" Width="90px">
<
Items
>
<
telerik:RadComboBoxItem
Text
=
"All"
/>
</
Items
>
</
telerik:RadComboBox
>
<
telerik:RadScriptBlock
ID
=
"RadScriptBlock1"
runat
=
"server"
>
<
script
type
=
"text/javascript"
>
function UrgencyIndexChanged(sender, args) {
var tableView = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>");
tableView.filter("Urgency", args.get_item().get_value(), 5);
}
</
script
>
</
telerik:RadScriptBlock
>
</
FilterTemplate
>
<
ItemTemplate
>
<%# Eval( "UrgencyType.Name") %>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
Version: 2010.1.309.35).
I am trying to do two things:
1) Configure the timeline in Day View so that there are more labels than just hourly. Right now our timeline is showing 12am, 1am, 2am, etc - but we wish to, for instance, have labels every 15 minutes OR have tick-marks (if such a thing is possible) between labels.
2) Configure the Day View so Appointment do not snap to the nearest half-hour. We are tracking events that occur pretty much anytime of day - not just at the nearest half hour - and they have a need to have that level of granularity show.
So, once again, sorry if this is a repeat. Any help would be great. We certainly do enjoy using these controls and Telerik does a marvelous job of packing functionality into them - just not sure where to find this particular functionality.
Thanks!
-Greg D - Yahara Software, Ltd, Madison, WI
<HeaderStyle VerticalAlign="Bottom" Wrap="True" BackColor="Blue" />
the back color will not change.
<
telerik:RadGrid
AutoGenerateColumns
=
"false"
ID
=
"grdPendingClaims"
AllowSorting
=
"True"
GridLines
=
"Both"
OnSortCommand
=
"grdPendingClaims_SortCommand"
OnNeedDataSource
=
"grdPendingClaims_NeedDataSource"
Height
=
"200px"
Width
=
"9in"
runat
=
"server"
CellSpacing
=
"0"
>
<
HeaderStyle
VerticalAlign
=
"Bottom"
Wrap
=
"True"
BackColor
=
"Blue"
/>
<
ClientSettings
>
<
Scrolling
AllowScroll
=
"True"
UseStaticHeaders
=
"true"
SaveScrollPosition
=
"True"
>
</
Scrolling
>
</
ClientSettings
>
<
ItemStyle
BorderColor
=
"Black"
BorderStyle
=
"Solid"
BorderWidth
=
"25px"
/>
<
ExportSettings
ExportOnlyData
=
"true"
IgnorePaging
=
"true"
OpenInNewWindow
=
"true"
/>
<
MasterTableView
TableLayout
=
"Auto"
Width
=
"100%"
AllowNaturalSort
=
"false"
GridLines
=
"Both"
>
<
Columns
>
<
telerik:GridBoundColumn
HeaderText
=
"Status"
DataField
=
"CurrentStatus"
UniqueName
=
"CurrentStatus"
SortExpression
=
"CurrentStatus"
ShowSortIcon
=
"False"
ShowFilterIcon
=
"False"
ReadOnly
=
"True"
AllowFiltering
=
"False"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
HeaderText
=
"ClaimID"
DataField
=
"ClaimID"
UniqueName
=
"ClaimID"
SortExpression
=
"ClaimID"
Visible
=
"False"
ShowSortIcon
=
"False"
ShowFilterIcon
=
"False"
ReadOnly
=
"True"
AllowFiltering
=
"False"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
HeaderText
=
"Claim Number"
DataField
=
"ClaimNumber"
UniqueName
=
"ClaimNumber"
SortExpression
=
"ClaimNumber"
ShowSortIcon
=
"False"
ShowFilterIcon
=
"False"
ReadOnly
=
"True"
AllowFiltering
=
"False"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
HeaderText
=
"MemberID"
DataField
=
"MemberID"
UniqueName
=
"MemberID"
SortExpression
=
"MemberID"
Visible
=
"False"
ShowSortIcon
=
"False"
ShowFilterIcon
=
"False"
ReadOnly
=
"True"
AllowFiltering
=
"False"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
HeaderText
=
"Member Name"
DataField
=
"Member Name"
UniqueName
=
"Member Name"
SortExpression
=
"Member Name"
ItemStyle-Wrap
=
"False"
ShowSortIcon
=
"False"
ShowFilterIcon
=
"False"
ReadOnly
=
"True"
AllowFiltering
=
"False"
>
<
ItemStyle
Wrap
=
"False"
/>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
HeaderText
=
"Start Date"
DataField
=
"BeginDate"
UniqueName
=
"BeginDate"
SortExpression
=
"BeginDate"
DataType
=
"System.DateTime"
ItemStyle-Wrap
=
"False"
DataFormatString
=
"{0:MM/dd/yyyy}"
ShowSortIcon
=
"False"
ShowFilterIcon
=
"False"
ReadOnly
=
"True"
AllowFiltering
=
"False"
>
<
ItemStyle
Wrap
=
"False"
/>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
HeaderText
=
"End Date"
DataField
=
"EndDate"
UniqueName
=
"EndDate"
SortExpression
=
"EndDate"
DataType
=
"System.DateTime"
ItemStyle-Wrap
=
"False"
DataFormatString
=
"{0:MM/dd/yyyy}"
ShowSortIcon
=
"False"
ShowFilterIcon
=
"False"
ReadOnly
=
"True"
AllowFiltering
=
"False"
>
<
ItemStyle
Wrap
=
"False"
/>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
HeaderText
=
"Units"
DataField
=
"Units"
UniqueName
=
"Units"
SortExpression
=
"Units"
DataType
=
"System.Int32"
DataFormatString
=
"{0:###,##0}"
ShowSortIcon
=
"False"
ShowFilterIcon
=
"False"
ReadOnly
=
"True"
AllowFiltering
=
"False"
>
<
ItemStyle
HorizontalAlign
=
"Right"
Wrap
=
"False"
/>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
HeaderText
=
"Division"
DataField
=
"Division"
UniqueName
=
"Division"
SortExpression
=
"Division"
ShowSortIcon
=
"False"
ShowFilterIcon
=
"False"
ReadOnly
=
"True"
AllowFiltering
=
"False"
>
<
ItemStyle
HorizontalAlign
=
"Center"
Wrap
=
"False"
/>
</
telerik:GridBoundColumn
>
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>