When trying to create a custom theme for a Panorama, I can import the xml into the theme manager, but it does not show up. I've done this with other control (buttons for example) and it works. I've found that some control require some "Base" controls to also be themed, but I haven't found any documentation as to a hierarchy of requirements for a control to work.
Is there such a list, and if not, can someone at least tell me what control I need to theme in order to get a RadPanorama to accept my custom theme. Mostly this is simply to get it to use my custom scrollbar (which *has* been themed).
Thanks.
I have a GridView with MultiSelect enabled. The standard behavior is when the user selects a row this changes the row's color and all selected rows maintain a diferent color. I want to mimic this behavior with a GridViewCheckBoxColumn.
My GridView has a GridViewCheckBoxColumn and when it's checked, I want to change the row color. If it's unchecked, return it back to normal. Currently I'm using the ValueChanged event to capture the event of the checking and unchecking.
private
void
radGridViewProducts_ValueChanged(
object
sender, EventArgs e)
{
if
(
this
.radGridViewProducts.ActiveEditor
is
RadCheckBoxEditor)
{
this
.radGridViewProducts.Rows[
this
.radGridViewProducts.CurrentCell.RowIndex].IsSelected =
true
;
}
}
The code above does not change the row color. How can I acheive this?
Thank you.
Hi
I have been using a CheckedDropDownList in an application and I want to check some of the values in the dropdownlist before the users sees it. I have tried several things in order to get it work and so far nothing. It should b a simple thing i just don't know..
so far i have tried
List<string> dbValues = _asset.MultiLocDrawingNum;
foreach (var v in dbValues)
{
var item = ddData.Items.FirstOrDefault(x => x.Text == v);
item.Selected = true;
ddData.Items.Add(item);
//ddData.SelectedItem = item;
//ddData.SelectedIndex = ddData.FindString(item.Text);
}
I'm using the RadOffice2007ScreenTipElement to show errors for rows within my RadGridView. When the ScreenTip displays, the html text is shown with weird spacing and odd vertical alignment for certain words.
I've attached a screenshot of what I'm seeing. Take a look at the ScreenTip and notice the word "job" within the error "Blank job group code." There also seems to be extra spacing after that word, and after the word "EEO".
Here is the relevant code snippet:
private void RadGridView1_ScreenTipNeeded(object sender, ScreenTipNeededEventArgs e)
{
var cell = e.Item as GridDataCellElement;
if (cell != null)
{
switch (cell.ColumnInfo.Name)
{
case "errorimage":
int rowIndex = radGridView1.Rows.IndexOf(radGridView1.CurrentRow);
if (rowIndex > -1)
{
if (cell.RowElement.RowInfo.Cells["errortext"].Value.ToString() != "")
{
var screenTip = new RadOffice2007ScreenTipElement();
screenTip.CaptionLabel.Margin = new Padding(3);
screenTip.CaptionLabel.Text = "Job Error(s)";
screenTip.MainTextLabel.Text = cell.RowElement.RowInfo.Cells["errortext"].Value.ToString().Trim();
screenTip.EnableCustomSize = true;
e.Delay = 50;
e.Item.ScreenTip = screenTip;
}
else
{
e.Item.ScreenTip = null;
}
}
break;
default:
break;
}
}
}
Is there any way to fix this?
Is there a setting somewhere that displays the thumbnails automatically? I see where they can be hidden, but I need them to display when I open the viewer.
Thanks,
Martin
Is there something built into the export of the PivotTable to a Excel file to have to check for the name w/out throwing an error or better yet, have it auto Index it?
Thanks
Greetings!
I`m trying to attach context menu to a GroupFieldElement (those boxes in group panel when groupping applied) to add possibility to expand\collapse whole group.
Everything's ok, but both mouse clicks (left\right) call group sorting event and i cannot get rid of this behavior (tried even with RadGridBehavior and overriding OnMouseUp\Down). So, how can i disable sorting event when i click on group definition in group panel with right mouse click?
Thank you!