RadChartGraph.Legend.HAlignment = ChartHAlignment.Center
RadChartGraph.Legend.VAlignment = ChartVAlignment.Bottom
RadChartGraph.Legend.Location = ChartLocation.OutsidePlotArea
RadChartGraph.Legend.LegendStyle = LegendItemsPositionType.Row
but its not working please let me know the solution of this problem.
OnClientNodeClicking of Telerik Treeview?
Please help.
Thanks
Protected Sub cmdAddNAICS_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles cmdAddNAICS.Click
CType(CType(sender, CheckBox).Parent.Parent, GridItem).Selected = CType(sender, CheckBox).Checked
Dim pvChk As Boolean
'Dim dataItem As Telerik.WebControls.GridDataItem
Dim cCoC As New cContractorClassification
If (CType(sender, CheckBox)).Checked Then
For Each dataItem As GridDataItem In gvSelectList.MasterTableView.Items
CType(dataItem.FindControl("chkSelect"), CheckBox).Checked = True
dataItem.Selected =
True
pvChk = dataItem.Selected
'If pvChk = True Then
cCoC.CONTRACTOR_SID = Session.Item(
"ContractorSID")
cCoC.MERCHANT_XREF_SID =
CInt(dataItem.Item("MERCHANT_XREF_SID").Text)
cCoC.CONTRACTOR_CLASSIFICATION_ACTIVE =
True
'cCoC.Update()
Next
Else
For Each dataItem As GridDataItem In gvSelectList.MasterTableView.Items
CType(dataItem.FindControl("chkSelect"), CheckBox).Checked = False
dataItem.Selected =
False
Next
End If
End Sub
I try to use Items from RadComboBox as input for a ControlParameter in a ObjectDataSource (or SqlDataSource). But I get an error:
Type 'Telerik.Web.UI.RadComboBoxItemCollection' in Assembly 'Telerik.Web.UI, Version=2008.1.619.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' is not marked as serializable.
Why I do that? I have expanded the ComboBox in a ItemTemplate with checkboxes and I need to find out which boxes are checked. Normally I loop over the collection and check the checkboxes.
But where to do that when the ComboBox is bound to a ObjectDataSource or SqlDataSource?
Overriding the control and add a new property? Is there any event to use?
Telerik: Is it possible to make Items serializable?
Thanks for any suggestions
Eric
Skin
="Office2007"
ImagesPath="~/Skins/Office2007/Grid"
EnableEmbeddedSkins="true"
This works great and shows the correct images except for my
telerik
:GridDropDownColumn
It does not see the stylesheet or images for it. What do I need to do?
Nancy
<
telerik:RadTreeView ID="tvDetractionTypes" runat="server" DataTextField="Title" DataFieldID="ID"
BeforeClientClick="handleNodeClick" DataValueField="ID" DataFieldParentID="ParentDetractionTypeID"
Skin="Office2007" DataSourceID="dsDetractionTypes" Height="150px" Width="250px"
OnNodeBound="tvDetractionTypes_NodeBound">
</telerik:RadTreeView>
<
script type="text/javascript">
function
handleNodeClick(node)
{
//if this is a parent node, expand it and select the first child
if (node.Parent == null && node.Nodes.length > 0)
{
node.Expand();
node.TreeView.UnSelectAllNodes();
node.Nodes[0].Select();
return false;
}
// Unlock any locked sliders
SliderArrays[0][idxSliderLocked] =
false;
SliderArrays[1][idxSliderLocked] =
false;
SliderArrays[2][idxSliderLocked] =
false;
SliderArrays[3][idxSliderLocked] =
false;
// Make sliders visible
SliderArrays[0][idxSliderDisplay] =
true;
SliderArrays[1][idxSliderDisplay] =
true;
SliderArrays[2][idxSliderDisplay] =
true;
SliderArrays[3][idxSliderDisplay] =
true;
// Redraw the sliders to reflect the new default values
SliderArrays[0][idxSliderDisplayWeight] = node.Attributes[
"DefaultTech"];
SliderArrays[1][idxSliderDisplayWeight] = node.Attributes[
"DefaultEquip"];
SliderArrays[2][idxSliderDisplayWeight] = node.Attributes[
"DefaultPatient"];
SliderArrays[3][idxSliderDisplayWeight] = node.Attributes[
"DefaultProcess"];
SliderDrawTable();
// Change the default DV
// Change the tooltip text
return true;
}
</script>
Can anyone tell which event should be used now..?
and how to get node and its attributes in my above script.
I tried using OnClientClicking but not succeed.
Plese help.
Thanks.