Hi,
I need to host radpopupeditor in radcommandbar. i know i have to use radHostItem. It was possible to do but there was no way to set the associatedControl for the popupeditor because its Element does not have this property. here is the code i managed to get so far:
Dim cont As New RadPopupContainer
cont.Controls.Add(New tempControl With {.Dock = DockStyle.Fill})
Dim pop As New RadPopupEditorElement
pop.??? = cont
hostFilter.HostedItem = pop
Hello I have a problem with operators wrapped with special characters.
For example when registering the parentheses as operators it works if the previous and next characters are not special characters like the example below.
select SUM(firstColumn) from myTable;
But if the previous or next character of parentheses is a special character, it does not recognize the parentheses as operators.
select SUM(*) from myTable;
How can I make it so that the registered operators are highlighted even if it is wrapped with special characters?
I have two problems with SyntaxEditor.
First problem is when any special characters are followed by -- other than a space, it is not treated as comment.
How can I make it so that it understands the second comment below is a comment line? (Any way to override a comment REGEX?)
-- testing working comment
--- testing not working comment
Second problem is when the keywords wrapped around with any special characters in a non-keyword are recognized as a keyword.
In other words, the word TEST_TABLE is one word and is NOT a keyword, but because TABLE is a keyword and it is wrapped with _ and a end of line, TABLE is highlighted.
How can I make it so that those keywords to be highlighted only when it is wrapped with start of line, end of line or a space?
SELECT * from TEST_TABLE
I have toggle switches to mark a day of the week as closed. The event sender is RadToggleSwitchElement and not RadToggleSwitch. I need to get RadToggleSwitch.Name to extract the day of the week from the control's name which is then used down the line.
RadToggleSwitchElement.Name = null
RadToggleSwitchElement.Parent.Name = null
How can I get the name of the RadToggleSwitch in the ValueChanged event handler?
TIA
Is it possible to restrict the selections and shown options to just be the month and year and not show the days?
I have set the format to MMMM yyyy - which all works fine, I just do not want the days to show up to select from, just the months and year.
I have attached how the picker currently looks, but I do not want the calendar.
Thanks in advance.
Hi there,
I tried dragging and dropping a row into my RadGridView using the "Rows drag & drop" example from the "Progress Telerik UI for WinForms" application but I can't get it to work.
My need is to drag only one row and on the same grid.
Please, any suggestions?
Thank you very much.
When user manually types the filter value (only date) in RadDateTimeEditor adds current time, so the filter value becomes - %data %current time.
And filtering gives the empty table, because of values in datetime columns have 00:00:00 time.
How to set time to 00:00:00 instead of using current?
P.S. If user chooses value with DateTimePicker then filter value is %data 00:00:00 and filtering works fine.
Quick question about filtering. I have a ListView with several columns including a checkbox column. I want to filter the listview on one column ("Title'), based on a textbox value as the user types. I thought the below might work, but it doesn't seem to work, the filtering doesn't look right. Please tell me why this approach doesn't work. Thanks.
Code to add the filter:
private
FilterDescriptor _valueFilter;
_valueFilter =
new
FilterDescriptor(
"Title"
, FilterOperator.Contains,
""
);
lstvwLookups.FilterDescriptors.Add(_valueFilter);
Code to update the filter:
private
void
txtFilter_TextChanged(
object
sender, EventArgs e)
{
_valueFilter.Value = ((TextBoxChangedEventArgs)e).Text;
}