Hi,
I'm trying to use a PageView as a container for Grids (to eventually function as filters). ViewMode is Explorer bar as I want each page to open individually. I want each page to adjust it's height to the full height of the grid (above the grid I'm planning to include a TextBox for filtering but that's for later). Only the PageView's scrollbar should appear (when needed) not the grid's. I've been combining design settings (ie. Content Size Mode to AutoSizeToBestFit) and code for days and this combination behaves unexpectedly (dare I say it almost randomly). I've attached the source form if someone can help me out.
A few other things (see picture):
- The first time I expand one of the pages it appears gray and empty, without label, bug? (red)
- How do I get rid of the header? (marked yellow)
- Is it possible to include an icon/button aligned to the right of each Filter (to be used for clearing the selection)? (blue dots)
Jure
Hello,
I have a RadPageView control with Windows 8 theme and strip view mode.
When I disable the control, the color of the strip behind the tabs changes to a dark gray. I do not want it to change, but to stay in control color.
If I use the EnabledChange event and change the ItemContainer.BackColor of the StripElement it still shows the dark gray first.
I have seen that this is possible for example in Fluent theme, but want to use Windows 8 theme for my application.
I would love to use an easy way (SetThemeValueOverride) if possible. But I also haven't found a fitting property in the theme's style repositories and groups
I want to achieve functionality of Re-Ordering Rows In a Grid.
Requirement:
User will Select Row and Click on Up Button on UI to shift that on Up direction. Example If user select 3rd row from top and then click on up then it must shift that row to 2 position from top.
Also the which was on 2nd postion from top now comes on 3rd from top
Below code I tried but not working Properly When Rows are More than 2 in a grid:
private void btnInternalUp_Click(object sender, EventArgs e)
{
for (int index = 0; index < this.m_grdGridControl.SelectedRows.Count; index++)
{
var currentRow = this.m_grdGridControl.SelectedRows[index];
int currentIndex = currentRow.Index;
int nextIndex = NextIndex(this.m_grdGridControl, currentIndex, "up");
this.m_grdGridControl.MasterTemplate.Rows.Move(currentIndex, nextIndex);
}
}
//NextIndexMethod Return the index where row need to be shifted:
Hello,
we are using OpenEdge 10.2B and have quite a few files with OCX controls which we would like to change to use Telerik controls.
Right now I'm focused on replacing progress bars to use RadProgressBar.
What I've done so far is created a ProgressBar.cls which has the RadProgressBar and a cancel button in it's own window. The progress bar window is shown overtop of the calling window and is updated accordingly. It works well, we were just hoping we could keep them in the same window.
Is it possible to use Telerik controls in a .w file? Or are we going to need to rebuild each program that uses an OCX control to achieve this?
private void button1_Click(object sender, EventArgs e)
{
this.TopMost = true;
this.BringToFront();
radColorDialog1.Reset();
if (radColorDialog1.ShowDialog(this) == DialogResult.OK)
{
}
}
In the screen mockup below, is it possible to include a subgrid header like the onr that reads "Reference Information" when there is only a single grid at that level?
Hello,
I have a RadGridView with a GridViewMaskBoxColumn that has a DateTime mask of 'd', EnableNullValueInput set to true, and MaskType set to FreeFormDateTime. The CTRL+DEL does clear the box, but when I leave the box the current date is automagically filled. In CellValidating, CellValueChanged, CellValueNeeded, and UserAddingRow I assign the cell value to null if there is no current value in the cell or if it's whitespace or if it's an empty string.
I see on this Parsing Dates Page under Date evaluation that "incomplete dates are always evaluated taking the current date as a basis". Can I override this behavior so a null cell can stay a null cell? If yes, how?
Thank you.
Hi,
I have a RadGridView that is the AssociatedObject of a RadPrintDocument that I want to print via a PrintDialog:
private PrintDialog printDialog;
RadPrintDocument doc = new RadPrintDocument
{
AssociatedObject = radGridHistorie
};
printDialog.Document = doc;
printDialog.AllowSelection = true;
if (printDialog.ShowDialog() == DialogResult.OK)
{
doc.Print();
}
If I select "All" in the PrintDialog, all entries are printed on the document.
If I select "Selection" in the printDialog after having Rows selected in the GridView, no entries are on the printed document.
What is wrong?
Hi
I want to copy data from RadGridView1 to another RadGridView2. I want to copy selected row from datagridview 1 using checkbox to another datagridview2. and selected rows should be removed from datagridview1.
And if i selected from datagridview2 it should moved again to datagridview1.
For Each row As GridViewDataRowInfo In Me.RadGridView1 .Rows
if row.Cells(0).Value = true then''Checkbox column
dim i as int16= Me.RadGridView2.add
Me.RadGridView2.rows(i).cells(0).value= row.cells(0).vlaue.tostirng
End If
Next row