Hi,
I posted a question regarding chat control, I received an answer but I can't find the thread.
URL:
https://www.telerik.com/forums/how-to-allow-multi-line-in-the-input-textbox
Thanks
Hi all-
I'm using a RadGridview (Telerik Winforms version 2018.1.220.40) and am having trouble getting the excel filter grid to look right. The radGridView seems to default to Seguoi 8.5 font, but I increased that to 14 to make it readable. The problem I'm having is that, after I enable Excel filtering, when a user chooses to filter, the excel filter box is tiny (I think it's still 8.5 font) - all the checkboxes are tiny, and the titles are unreadable.
I've searched the forums and found some related posts that instruct in (c#) to run through the elements in the viewCellEditing event, but, either I haven't translated them right into VB, or they aren't doing what I expected.
We are using the Excel like filtering feature. Upon startup I would like to set specific entries in a column as attached. How can I do this?
Hi,
The scenario is following
The system has 2 different windows (type floating.).
Say user is doing something like editing in a first window.
I want programatically to restrict user to the window he is currently working in, until he commits his work.
I.e. prevent him to go to window #2 until he clicks save - so it should work as a modal dialog box while user in editing mode.
I tried to hook up to ActiveWindowChanging event of RadDock class.
I wrote essentially
private void DockerContainer_ActiveWindowChanging(object sender, DockWindowCancelEventArgs e)
{
// some processng
if (needTo capture)
{
e.Cancel = true;
}
}
But it doesn't work.
Are there any way to do what i want to do?
Please help,
Boris Pitel
Hello folks!
Is there some way to adjust the width of the textbox in the TableSearchRow? Also, can a MaxLength be set for this same textbox?
-Curtis
Sample code below. Just copy, paste and run. :)
var grid =
new
RadGridView
{
Dock = DockStyle.Fill,
AutoSizeRows =
false
,
AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill
};
grid.Columns.Add(
new
GridViewTextBoxColumn() { Name =
"column1"
, HeaderText =
"Column 1"
});
grid.Columns.Add(
new
GridViewTextBoxColumn() { Name =
"column2"
, HeaderText =
"Column 2"
});
grid.Columns.Add(
new
GridViewTextBoxColumn() { Name =
"column3"
, HeaderText =
"Column 3"
});
grid.Columns.Add(
new
GridViewTextBoxColumn() { Name =
"column4"
, HeaderText =
"Column 4"
});
var columnGroupsView =
new
ColumnGroupsViewDefinition();
columnGroupsView.ColumnGroups.Add(
new
GridViewColumnGroup(
"Group 1 Line 1"
+ Environment.NewLine +
"Group 1 Line 2"
));
columnGroupsView.ColumnGroups[columnGroupsView.ColumnGroups.Count - 1].Rows.Add(
new
GridViewColumnGroupRow());
columnGroupsView.ColumnGroups[columnGroupsView.ColumnGroups.Count - 1].Rows[0].ColumnNames.Add(
"column1"
);
columnGroupsView.ColumnGroups[columnGroupsView.ColumnGroups.Count - 1].Rows[0].ColumnNames.Add(
"column2"
);
columnGroupsView.ColumnGroups.Add(
new
GridViewColumnGroup(
"Group 2 Line 1"
+ Environment.NewLine +
"Group 2 Line 2"
));
columnGroupsView.ColumnGroups[columnGroupsView.ColumnGroups.Count - 1].Rows.Add(
new
GridViewColumnGroupRow());
columnGroupsView.ColumnGroups[columnGroupsView.ColumnGroups.Count - 1].Rows[0].ColumnNames.Add(
"column3"
);
columnGroupsView.ColumnGroups[columnGroupsView.ColumnGroups.Count - 1].Rows[0].ColumnNames.Add(
"column4"
);
grid.ViewDefinition = columnGroupsView;
var form =
new
RadForm();
form.Controls.Add(grid);
form.ShowDialog();
How to change by code height of group row? Please see attached image.
Important: I want to stay with AutoSizeRows = false.
It looks like the stand text block formatting is done on word boundary, i.e. text delimited by spaces. Is there any way to make a custom block so I can format based on words delimited by other characters, e.g. "|", "[", "]" etc. Also, what is the extent of customisation, is it just fore/back colour of text? I'd like bold, italics etc. also so perhaps my best option is to use a rich text editor.
I'm having a very strange issue. When I click "open property builder" I am presented with an error message. It says...
Could not load file or assembly 'Telerik.WinControls.Themes.HighContrastBlack, Version ...' or one of its dependencies. The system cannot find the file specified.
What's most interesting is that I am not using or referencing this theme anywhere in my project.