how do i select an item programmatically in my listview so that the group is expanded, the item is selected and current, like radgridview isVisible = true, isCurrent = true ?
thanks
Hi,
Is it possible that each time we select a new item in the autocompletebox, the selected item disappears from the list of auto complete items.
This is to avoid to enter twice the same items.
If this is possible, how to do it?
I put an attachment to show what is my current behaviour. What i would like is that once if have selected tag, it does not appears anymore in the list of choice
FYI, I am using auto completion with unbound mode.
Thanks a lot
Hi,
Sometime the last chat message does not appear when the scrollbar is visible, to reproduced:
1- Type Test <ENTER> multiple time until you see the scrollbar
2- Scroll up to the middle so you can't see the last message
3- Type any word and scroll down
Now you can't see the last typed message, instead you may see small dot, You may need to repeat step 3 more than one time.
I'm not sure if it is related to Fluent Theme, because I wasn't able to reproduce it with Crystal Theme.
Thanks
I have a column with which get's edited using the ListViewDateTimeEditor.
The question is, how do I format the value that gets submitted to the ListView.
To be clear, I have already formatted the ListViewDateTimeEditor to use the following:
Dim
Editor
As
New
ListViewDateTimeEditor
TryCast(Editor.EditorElement, BaseDateTimeEditorElement).Format = DateTimePickerFormat.Custom
TryCast(Editor.EditorElement, BaseDateTimeEditorElement).CustomFormat =
"MM/dd/yyyy"
e.Editor = Editor
Even with this formatting, it still submits the full DateTime to the ListView when finished editing. How do I make it output only the formatted Date value, without the Time?
Hello,
I have 3 hierarchical levels in my grid. Here is the structure:
Master template
|___tab1: Details (html view)
|___tab2: Orders (standard grid)
|___tab2-1: Clients (standard grid)
|___tab3: Networks (standard grid)
I'am inspired by some posts in the forum to save and restore the expanded rows and selected rows. It works great.
I save the grid state before data refresh, and reset after data refresh. Here is the code.
Dim
scrollpos
As
Integer
= -1
Dim
CurrentRow
As
Integer
= -1
Dim
expandedRows
As
New
List(Of
Boolean
)()
Dim
selectedRows
As
New
List(Of
Boolean
)()
Private
Sub
SaveSeletectedAndExpanded()
scrollpos = myGridView.TableElement.VScrollBar.Value
If
myGridView.CurrentRow IsNot
Nothing
Then
CurrentRow = myGridView.CurrentRow.Index
End
If
If
myGridView.Rows
Is
Nothing
Then
Exit
Sub
End
If
expandedRows.Clear()
selectedRows.Clear()
For
i = 0
To
myGridView.Rows.Count - 1
expandedRows.Add(myGridView.Rows(i).IsExpanded)
' How can I remember which page tab is displayed currently?
selectedRows.Add(myGridView.Rows(i).IsSelected)
Next
End
Sub
Private
Sub
RestoreSeletectedAndExpanded()
If
scrollpos <> -1
Then
myGridView.TableElement.VScrollBar.Value = scrollpos
End
If
If
CurrentRow <> -1
Then
myGridView.CurrentRow = myGridView.Rows(CurrentRow)
End
If
If
expandedRows IsNot
Nothing
Then
For
i = 0
To
expandedRows.Count - 1
myGridView.Rows(i).IsExpanded = expandedRows(i)
Next
End
If
If
selectedRows IsNot
Nothing
Then
For
i = 0
To
selectedRows.Count - 1
myGridView.Rows(i).IsSelected = selectedRows(i)
Next
End
If
End
Sub
But I've found that the current selected tabbed view in the expanded row is reset to default after refresh.
How can I save the current selected tabbled view index for the expanded rows ?
Thank you by advanced.
Hello, administrator
In the past, I used the DataGridView control, but now I use the RadGridView control, but I can't find the EditingControlShowing event, I need this event now,
please tell me what event should I use instead of it
Please reply me as soon as possible. Thank you
Hi,
I was testing the RichTextEditor First Look in Demos and notice that it doesn't allow us to edit any parts of the document when the same document have specific parts of text locked for edition/change.
If I open the same document in Winword I can add or change text in others parts of the document that are not locked, without Word asking me the password or remove the "restrict editing" settings.
Is there any work around to overcome this issue in RichTextEditor?
PS: I don't want leave here any external links, but if you search for "how to lock specific text in word" in google you will see examples how to lock specific parts or sections of a winword document.
Hi, this should be an easy one, how can I fix that?
private
void
ContextMenuOpening(
object
sender, TreeBoxContextMenuOpeningEventArgs e)
{
//The below line doesn't work:
//I need to reach the control to provide the contextmenu some "context"
string
myContext = (sender
as
Control).Name;
cmMarkNullMenuItem.Tag = cmResetMenuItem.Tag = myContext;
cmResetMenuItem.Enabled = EditorModel.PropertiesByName[myContext].IsChanged;
}