Hello,
Already using back color of textbox for validation. I'm trying to set border color for a different flag on the same textbox, but this coloring goes back to default color when the control is not in focus using TextBoxElement.Border.ForeColor. Would like to have the backcolor stay all the time; which I could achieve with RootElement.BackColor, but this goes away when the control is in focus.
How can I achieve a static border color?
My grid has a checkbox column "MyColumn" that has EnableHeaderCheckBox enabled. That column is disabled in the following manner using the CellFormatting event, code follows(did it this way due to need to show a tool tip). When I click on the header check box, every check box, including the disabled ones, are checked. I don't want those that are disabled to be checked. I've tried using the event HeaderCellToggleStateChanged to modify the toggle value of the checkbox, it's not taking effect. How can I do this?
private void MyGrid_CellFormatting(object sender, CellFormattingEventArgs e)
try
{
e.CellElement.RowElement.ToolTipText = @"";
e.CellElement.Enabled = true;
if (!(bool)e.Row.Cells["Condition1"].Value)
{
e.CellElement.Enabled = false;
e.CellElement.RowElement.ToolTipText = @"Disabled condition 1 ";
}
Hi there,
I'm having a problem loading data in gridview. It's taking too long, like 2 seconds for 5-10 rows.
I think the main problem is where i assign the bindingsource.
I'd like to know if there is any faster way to do this.
I'm using progress 4gl and OE 12.1.
I'll attach a file of what i'm doing.
Thanks.
I need to use a RadGridView, so I can assign the DataSource.
However, when I do the following code, i get zero rows and columns. What am I missing
List<Records> data = dbc.Records.ToList();
RadGridView gv =
new
RadGridView();
gv.BeginUpdate();
gv.AutoGenerateColumns =
true
;
gv.AutoGenerateHierarchy =
true
;
gv.DataSource = data;
gv.EndUpdate();
When I look at the gridview, after the datasource is set, the row count and column count are zero? Again, What I am doing wrong? The only thing that is different then what we are doing in our application, is the grid is not on a FORM.
Thanks
I have not seen it, but is there any ability to export from the grid to a fixed length flat file?
Thanks
Good morning, the binding with RadDocument and Docx drive me crazy.
When I click in importCommand, fires ImportDocx() correctly and file docx is imported in Rdoc property but in RadRichTextBox don´t display in view. When I clik in keyboard, the aplicacion pause in set.
This is my view model:
private RadDocument rd;
public RadDocument Rdoc
{
get { return rd; }
set {
rd = value;
OnPropertyChanged();
}
}
public void ImportDocx()
{
RadDocument doc = null;
DocxFormatProvider provider = new DocxFormatProvider();
using (Stream
inputStream = File.OpenRead(“Any File.docx"))
{
doc =
provider.Import(inputStream);
}
Rdoc=doc;
}
This is my view (Xaml)
<telerik:DocxDataProvider RichTextBox="{Binding ElementName=radRichTextBox}" Docx="{Binding Path=Rdoc, Mode=TwoWay}"/>
<telerik:RadRichTextBox x:Name="radRichTextBox"/>.......
Hi. Is it possible to overflow a text into the next cell?
Something like no-wrap and no ellipsis but the whole text should still be visible.
There seems to be no straightforward way to do this in gridview.