Telerik Forums
UI for WinForms Forum
1 answer
127 views
Hi, I'm evaluating the trial and one thing we'd like to do is the following:

We'd like to have a db-table with columns e.g. 'intField', 'floatField', 'textField' and a 'type-selector' of type int that is indicating which of the db-columns the grid-column should be bound to, different for each row.

With the MS-DataGridView I could derive a new column hosting a derived cell, and in this cell then just overwrite GetValue and SetValue - more or less... ;-)

I haven't found the necessary overwrites with for RadGridView and friends (yet?), so: how would I do this with the RadGridView?

TIA, Juergen
Nick
Telerik team
 answered on 30 Oct 2008
1 answer
114 views
HI.

I need to move items up and down (ordering). Is it possible to drag and drop radlistboxitem within the same radlistbox?

Thanks,
-j
Nick
Telerik team
 answered on 30 Oct 2008
1 answer
89 views

I have a date column which is in MM/dd/yyyy format. This doesnt sort ascending or descending for all the grids in my application. I am sure what I have done is right. Still it doesnt sort right when I click on header. Please help. One way of doing it is after binding the data source by adding

 

radgvSixMonthPurchases.Columns[

"transactionDate"].FormatString = "{0:MM/dd/yyyy}";

 

 

and othe way is through cell formatting like:

 

 

private void radgvSixMonthPurchases_CellFormatting(object sender, Telerik.WinControls.UI.CellFormattingEventArgs e){
if (e.CellElement is GridDataCellElement)
{
Font font = new Font("Tahoma", 6.75F);
e.CellElement.Font = font;
if (((GridViewDataColumn)e.CellElement.ColumnInfo).FieldName == "transactionDate")
{
if (!e.CellElement.Text.StartsWith("0:"))
{
DateTime temp = DateTime.Parse(e.CellElement.Text);
e.CellElement.Text = temp.ToString(
"MM/dd/yyyy");
}
Font newfont = new Font("Tahoma", 7, FontStyle.Underline);
e.CellElement.Font = newfont;
e.CellElement.ForeColor =
Color.Blue;
}
}

 

Nick
Telerik team
 answered on 30 Oct 2008
1 answer
115 views

When I use simple wrapper of RadTreeView in our company namespace the component looks different:

 

namespace ComponentWrappers

{

  public class RadTreeView: Telerik.WinControls.UI.RadTreeView

  {

  }

}

 

ComponentWrappers namespace is on the left, Telerik.WinControls.UI is on the right:

http://picasaweb.google.ru/Alex.Kostikov/pMuNfD#5261842238804074226

 

How to make component from ComponentWrappers.RadTreeView look like native Telerik control?

Nikolay
Telerik team
 answered on 29 Oct 2008
2 answers
122 views
Hi i have a RadChildForm that is being used for an MDI interface. All instances of these child forms are being created at run time. I have given this child form several properties, however when i try to access these properties using this.MdiChildren.ElementAt(0) or just this.MdiChildren[0], i don't have access to any of the properties that I created. The only type of children it seems to get is just the plain system.windows.form, is there a way i could have access to Rad Child Form properties? Thanks in advance.
Afaan
Top achievements
Rank 1
 answered on 29 Oct 2008
1 answer
197 views

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

Nikolay
Telerik team
 answered on 29 Oct 2008
1 answer
77 views
Hi,
I'm evaluating the RadControls for WinForms and see some effects I would call bugs...
But I'm not sure if this might not result from cruft on my machine (last re-install is sometime ago), so I'd just like to ask if someone can confirm my sightings:

- In the demos open RadDock/'Tabbed Document' or MDI, undock Log or Settings window and let it float somewhere, then grab it again and try to dock it back. If the transparent window you want to dock overlaps (even slightly) with the 'docking arrows' when they appear or disappear those arrows (after disappearing: at their new position) are filled grey and not filled with their blue bitmaps.

- in design mode, if I open the 'Property Builder' for the dropdown part of a RadMultiColumnComboBox and close it, I get a null-reference exception.

Both seem no 'showstoppers' but if I can find them after only short time of experimentation, it's not good for my confidence in these controls ;-)
So: are these reproducible by someone?

TIA, Juergen
Nick
Telerik team
 answered on 28 Oct 2008
1 answer
179 views
Hi!

I am adding RadListBoxItem(s) to a RadListBox at runtime and I need to scroll to view the last one added. When I set the last one to SelectedItem the RadListBox scrolls to the selected item but only the upper half of the item, I "solved" it before by adding an empty item at the end, but now it is not possible and I need a "real" fix. ScrollControlIntoView can't be used since it takes a Control and the Items are RadItem(s). Any ideas?

Thanks,
- jorge
Nick
Telerik team
 answered on 28 Oct 2008
1 answer
221 views
Hi everybody, I'm wondering if there is any way to display a messagebox that uses the theme of my application.

Thanks!
Nick
Telerik team
 answered on 28 Oct 2008
4 answers
240 views
Hi,

I am binding a datatable and there is one column of bit datatype. Now system automatically replace bit column with a checkbox, but I want to replace those checkboxes with my custom text.

Can we have some event on that I can change things in particular cell. Or there is some specific way to do so !

Thanks,

With Regards,
Divyesh
Joel Kraft
Top achievements
Rank 2
 answered on 28 Oct 2008
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Form
Chart (obsolete as of Q1 2013)
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?