Telerik Forums
UI for WinForms Forum
6 answers
257 views
Hi.

I'm using a radbutton with a image. When I try to customize the UI element, if I Change the AutoSize property to False of the Text Layout, so I can use the Location to change the position of the text in the button, the text doesn't show when running my application. If I change the location with the AutoSize True, the text shows, but in the wrong place. Can you give me a solution?

Thanks
Boyko Markov
Telerik team
 answered on 08 Aug 2008
5 answers
198 views
In ExplorerBarStyle RadPanelBar I am trying to set the font of RadPanelBarGroupElement(s) caption to Bold and underlined. I can't find where to set this at design time. So I am doing it at run time as follows:

RadPanelBarGroupElement1.GetCaptionElement().Font =

New Font(RadPanelBarGroupElement1.GetCaptionElement().Font.FontFamily, 14, FontStyle.Bold)

However, I can set the font style to either Bold or Underline but not both.

What is the best way to set the font?

Thanks ... DP
Boyko Markov
Telerik team
 answered on 08 Aug 2008
3 answers
147 views
Hi all.
Does anyone know how to make text fit cell's width?
I mean when text length exceeds  cell's width. How to make it fit the width of cell?
Thanks in advance.
Fachmann.
Martin Vasilev
Telerik team
 answered on 08 Aug 2008
3 answers
161 views
Hi,

I have problem with databinding for next table:
------------------------------------------------------------
 DataTable table = new DataTable();
 table.Columns.Add("i.[InvoiceNumber]", typeof(string));
 table.Columns.Add("fncd.[CustomerNumber]", typeof(string));
 table.Columns.Add("fncd.[eBayBuyerID]", typeof(string));
 table.Columns.Add("fncd.[FirstName]", typeof(string));
 table.Columns.Add("fncd.[LastName]", typeof(string));
 table.Columns.Add("fncd.[ItemQTY]", typeof(int));
 table.Columns.Add("ist.[Description]", typeof(string));
 table.Columns.Add("i.[NetTotalAmount]", typeof(decimal));
 table.Columns.Add("i.[VATTotalAmount]", typeof(decimal));
 table.Columns.Add("i.[GrossTotalAmount]", typeof(decimal));
 table.Columns.Add("i.[InvoiceDate]", typeof(DateTime));

table.Rows.Add("INV0001", "CUS0001", "0", "And", "Tar", 2, "Deccriptio", 10, 2, 12, DateTime.Now);
            table.Rows.Add("INV0002", "CUS0002", "1", "And", "Tar", 2, "Deccriptio", 10, 2, 12, DateTime.Now);
            table.Rows.Add("INV0003", "CUS0003", "2", "And", "Tar", 2, "Deccriptio", 10, 2, 12, DateTime.Now);

radGridView1.DataSource = table;
-----------------------------------------------------------------------

when i ran this i see 3 rows in grid but all cells is empty(nothing data to display).
thanks.
Julian Benkov
Telerik team
 answered on 08 Aug 2008
1 answer
120 views
Hi:
I need to handle the client area when the user pick in the "Show below the ribbon", because the control expand and I don't take control over the new area. and the Quick Access Menu it's not accesible then.

Some idea for this:
|---------------------------
| Rad Ribboin Tooolbar
|---------------------------
| Client Area
|----------------------------

Thanks !
Peter
Telerik team
 answered on 08 Aug 2008
1 answer
184 views
Hello,

Im about to add a treeview to a winform that will load hierarchical information.  This data could get large at the root level, so ive started looking at ways to avoid loading it all at once.  Im familiar with the ASP.NET treeview, so I thought Id give the winform version a shot also. 

With the data I will be dealing with there will be a "level" indicator such as 1,2,3, 4 etc, that determines where in the hierarchy the item should be.  With the ASP.NET trees Ive used, I typically filter the data to the first level, then add those nodes.  Then do the same sort of thing when a node is clicked.

My question is - how do I attach data to the node, as well as simply give it a name. With the ASP.NET version, there would be a "value" attribute as well, which let me use that value to feed into other code that would go pull the next set of records.

Maybe im just not reading the right set of examples ?

help ?
Jordan
Telerik team
 answered on 08 Aug 2008
1 answer
155 views
Hi Telerik,

Please refer to both screenshot:
The position of RadLabelElement is messed up when you scroll the vertical scroll.

Screenshot 1:
http://img204.imageshack.us/img204/6533/screenshot1pp0.png

Screenshot 2:
http://img220.imageshack.us/img220/5131/screenshot2zn4.png
Here were the position of label is messed up when you scroll

Please help me with a solution.
Thanks
Boyko Markov
Telerik team
 answered on 08 Aug 2008
2 answers
156 views
I input data to new row,
I want to check input value data before a row add to grid! How to do it?
Tung
Top achievements
Rank 1
 answered on 07 Aug 2008
1 answer
510 views
Hi,

I have an urgent requirement from client in which we need to disable future dates on DateTimePicker Calender element. For Ex- if today's date is 6Aug., then all dates start from 7 Aug should be disabled (i.e All future dates should be shon diable), when user see calender element of DateTimePicker.

Please advice. Thanks in Advance

Rajeev Yadav
Boyko Markov
Telerik team
 answered on 07 Aug 2008
3 answers
336 views
2008Q2

If I move ListBoxItem objects from one Listbox to the other, for example with
code like that:

listbox1.Items.AddRange(listBox2.SelectedItems.ToArray())

and then remove those items from list box 2:

foreach(RadListBoxItem item in litstbox1.Items)
{
    if(listbox2.Items.Contains(item))
    {
        listbox2.Items.Remove(item)
    }
}

strange things happen. I can no longer select the moved nodes in listbox1 (even though the texts appear).

I guess a RadListBoxItem cannot be in two listboxes at the same time (but then, an Exception should be thrown).

I tried to avoid this by using an intermediate List<RadListBoxItem>, but this did not work either.

Finally ended up with creating code like this:

foreach(RadListBoxItem in listbox2.SelectedItems)
{
    listbox1.Add(new RadListBoxItem(item.Text,item.Value))
}

which works but IMHO is not very elegant.

BTW: The forum does not work well with latest versions of Firefox.







Martin Vasilev
Telerik team
 answered on 07 Aug 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?