I'm new to Telerik and still working on the 30 day trial so please bear with me, and pardon the ignorance if this is mind numbingly simple,
I need a simple way to show a simple hardcoded dropdown (Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday) which validates input when a user edits the cell of a RadGridView
private void dg_DeliverySched_beginEdit(object sender, Telerik.WinControls.UI.GridViewCellCancelEventArgs e)
{
//I have these columns that need day of week validation comboboxes on edit click
if (e.Row is GridViewFilteringRowInfo && e.Column.Name == "Sun")
{
e.Cancel = true;
}
if (e.Row is GridViewFilteringRowInfo && e.Column.Name == "Mon")
{
e.Cancel = true;
}
if (e.Row is GridViewFilteringRowInfo && e.Column.Name == "Tue")
{
e.Cancel = true;
}
if (e.Row is GridViewFilteringRowInfo && e.Column.Name == "Wed")
{
e.Cancel = true;
}
if (e.Row is GridViewFilteringRowInfo && e.Column.Name == "Thu")
{
e.Cancel = true;
}
if (e.Row is GridViewFilteringRowInfo && e.Column.Name == "Fri")
{
e.Cancel = true;
}
if (e.Row is GridViewFilteringRowInfo && e.Column.Name == "Sat")
{
e.Cancel = true;
}
}
Not sure if this is the right place to post, as I am not seeing any specific category for Charts(except the defunct one)
The issue: I'm building my forst RadChartView based on a simple query for "Vendor", and "Amount"
Amount, is a decimal in the database, and I'd like to have the Y axis display the values in currency format.
I'm not finding how to do this..?
Many thanks,
Rich
hello!
I create radButton on the parent control.
and modify button round use Edit UI Elements - shape.
and setting transparent backColor in code.
btnStart.Parent = parentControl;
btnStart.BackColor = Color.Transparent;
but still a gray shade left.
How can I remove this?
Hi,
I have a question about IsSelected & IsCurrent.
I have a gridview that when upon loading, the first row is selected and highlighted, so I have a pop-up contatiner that will get the current row data. But when reload that gridview again, no rows are highlighted any longer.
I've tried IsSelected and IsCurrent, but it only highlights the row with the IsSelected, but when I click on the pop-container that gets the current row data, it gives a error due to null value.
What can I do?
Thanks!
A checkboxdropdownlist is used to filter data for a chart. After the initial load of list items the first item in the list is selected - even though it is not checked. Turning it off in code doesn't work either.
for
(i = 0; i < theRoot.ChildNodes.Count; i++)
{
ServerName = theRoot.ChildNodes[i].Attributes[
"Name"
].Value;
foreach
(XmlNode aNode
in
theRoot.ChildNodes[i])
{
if
(aNode.InnerText == Environment)
{
sb =
new
StringBuilder();
sb.Append(ServerName.Replace(
"XX"
, aNode.InnerText));
lItem =
new
Item(j, sb.ToString());
lvServers.Add(lItem);
j++;
}
}
}
rcddlServers.DataSource = lvServers;
rcddlServers.ValueMember =
"id"
;
rcddlServers.DisplayMember =
"description"
;
rcddlServers.DropDownListElement.SelectionMode = SelectionMode.MultiSimple;
if
(rcddlServers.SelectedItems.Count > 0) --> why is this possible?
{
rcddlServers.Items[0].Checked =
false
;
}
Hello, the Radautocompletebox is a great control, but we face the following issue: I would like to know if/how if would be possible to show all possible choices, without any filter.
To be more clear, if my Radautocompletebox has 4 choices : AA, AAB, CC, EE, is there a way to display theses choices to the users (i.e. to open the selection menu) without any filter? Of course if I type A, I will see AA and AAB, but if a user has no idea of the posisble choices there is an issue.
I tried to use for example the keydown event, and to open the menu if the user types 'enter', but without sucess.
I know that what I am asking is not ready in line with the expected use of the component...