I'm having a theme issue regarding a rad scroll bar that is dynamically added to a custom component.
I have loaded the RadThemeManager and am able to check the count to see in fact that the RadThemeManager is loaded with our themes, everything looks to be loaded as expected.
I create the RadVScrollBar control and set correct the theme name.
However, when the page is loaded the scroll bar is still using the default theme. Here are some code excerpts:
public partial class ThumbViewer : RadPanel
{
public ThumbViewer()
{
InitializeComponent();
// This will get all the themes loaded into a theme manager
themeEngine = new APCM.App_Code.ThemeEngine();
radThemeManager = themeEngine.GetControlThemes();
MessageBox.Show(radThemeManager.LoadedThemes.Count.ToString());
// Create and add the scrollbar
scroll = new RadVScrollBar();
scroll.ThemeName = "OurTheme";
scroll.Dock = DockStyle.Right;
scroll.ValueChanged += new EventHandler(scroll_ValueChanged);
MessageBox.Show(scroll.ThemeName);
}
}
Like I said, the rad scroll bar is NOT loaded with the expected theme.
Thanks In Advance,
Josh
RGFiles.Rows(0).Cells(1).Value = RGProposals.CurrentRow.Cells(2).Value.ToString() & _
"_" & RGProposals.CurrentRow.Cells(3).Value.ToString() & _
"R" & RGProposals.CurrentRow.Cells(4).Value.ToString() & _
"_" & RGFiles.CurrentRow.Cells(2).Value
The code works fine (for one cell) but if I'm updating a cell, i need to pass the mouse over the cell to update the value that is shown in that cell. If I'm updating all cells of a certain column, the cells show the new value but takes a lot of time to do that.