.RadGrid_Transparent .rgSelectedRow td
{
background-color: Red !important;
}
<
telerik:RadComboBox
ID
=
"cboObjPriority"
runat
=
"server"
Width
=
"300px"
OnClientSelectedIndexChanged
=
"OnClientSelectedIndexChanged"
>
</
telerik:RadComboBox
>
<
script
type
=
"text/javascript"
>
function OnClientSelectedIndexChanged(sender, args) {
var combo = sender;
var input = combo.get_inputDomElement();
if (input.setSelectionRange) {
input.setSelectionRange(0, 0);
}
else if (input.createTextRange) {
var range = input.createTextRange();
range.collapse(true);
range.moveEnd('character', 0);
range.moveStart('character', 0);
range.select();
}
}
</
script
>
series3.TooltipsAppearance.ClientTemplate =
"Table on Tooltip
<table border=\"1\"><tr><td>Year S1</td><td>Value S1</td></tr>
<tr><td>Year S2</td><td>Value S2</td></tr></table>"
;
<
td
id
=
"R1"
>Year S1</
td
>
document.getElementById(
'R1'
).innerHTML =
"(value)"
;
document.getElementById(
'R1'
)
" return "NULL"Day: #=dataItem.Day#
<table border=\"1\">
<tr><td>Year 1</td><td>#=dataItem.Value_Series1#
</td></tr>
<tr><td>Year 2</td><td>#=dataItem.Value_Series2#
</td></tr>
</table>
RadToolTipManager1.TargetControls.Add(gridItem(column.UniqueName).ClientID, (TryCast(e.Item, GridDataItem)).GetDataKeyValue("MasterNum").ToString(), True)
Is there away to code this for multiple DataKeyNames eg.
DataKeyNames("MasterNum,LodgeNum")
chartPriceCorridor1.DataSource = Prices;
chartPriceCorridor1.DataBind();
<
telerik:RadHtmlChart
ID
=
"chartPriceCorridor1"
runat
=
"server"
Width
=
"600px"
Height
=
"400px"
Skin
=
"Metro"
>
<
ChartTitle
Text
=
"Price Corridor"
>
<
Appearance
Align
=
"Left"
/>
</
ChartTitle
>
<
Legend
>
<
Appearance
Position
=
"Bottom"
/>
</
Legend
>
<
PlotArea
>
<
Series
>
<
telerik:LineSeries
AxisName
=
"Country"
Name
=
"Product"
DataFieldY
=
"Price"
></
telerik:LineSeries
>
</
Series
>
</
PlotArea
>
</
telerik:RadHtmlChart
>
//OnClientClose function
function runthisOnWindowClose() {
$find("<%= RadAjaxManager1.ClientID %>").ajaxRequest();
}
I would like the 'select all' checkbox at the top, to only select the rows that are enabled, just two rows in this case. I would like the 'select all' checkbox to function as it would normally, but only take into account the two rows that are enabled.
e.g.
. tick the 'select all' checkbox and both enabled rows are selected.
. untick the 'select all' checkbox and both enabled rows are deselected.
. tick the first enabled checkbox and then tick the second enabled checkbox and the 'select all' checkbox at the top becomes ticked and vice versa.
I've tried several different methods but each one has not quite worked, including various server side code and jQuery.
The problem with the most obvious approach is that the 'select all' checkbox at the top will end up ticking all the checkboxes regardless of whether they are enabled or not.
Many thanks in advance
Mike
<
GroupHeaderTemplate
>
<
asp:CheckBox
runat
=
"server"
ID
=
"cbGroupHeader"
/>
</
GroupHeaderTemplate
>
foreach
(GridGroupHeaderItem item
in
RadGrid1.MasterTableView.GetItems(GridItemType.GroupHeader))
{
var cb = (CheckBox)(item.FindControl(
"cbGroupHeader"
));
cb.Checked =
true
;
}