Telerik Forums
UI for WinForms Forum
2 answers
133 views
I am using a larger screen with enlarged fonts for older users. I would like to antialias my RadLabels but do not know how.

I got a code snippet for doing this on a RadButton a while ago, but I cannot seem to make it work also for a RadLabel.

Can someone please post a snippet that allows me to antialias the text in a RadLabel?

Thanks,

David
Nick
Telerik team
 answered on 18 Feb 2009
0 answers
144 views
Hi!!

I would like to test label changing standard mode of visualization (left-right) to from bottom to top, that is, vertical label, i used TextOrientation = vertical and fliptext = true to show vertical label beginning from bottom to top way, but my problem is in this way whole text is not shown and is truncated putting (...) at end of the text. I used bold and 14pt or 16pt font face and left-side-form docking and label size has enough space to render whole text,

How can I do to show whole text?

thanks
Aldemar
Top achievements
Rank 1
 asked on 17 Feb 2009
4 answers
227 views
Question - is it possible to maintain the visual state of a RadButtonElement or a RadImageButtonElement once the button is clicked?  By this I mean exactly the same thing that happens in the text editor for posting something to this forum, if you click the  bold, italics or underline button.  It stays "selected" until you click the button again.

I am having a hard time getting similar functionality out of button elements on RadRibbonBar to show that a specific option is in use currently...

Thanks!

Justin
Justin
Top achievements
Rank 1
 answered on 17 Feb 2009
1 answer
151 views
Hi,

How can I bind a runtime value in description text property of ListBox Item !
Like there should be databind property (field name) for description text !

Regards,
Divyesh Chapaneri
Nikolay
Telerik team
 answered on 17 Feb 2009
2 answers
143 views
Hello,

I am using the RowFormatting event to set an image to the GridRowHeaderCellElement. This is working. However when a user hovers the mouse over the header cell, the image gets removed, and it will only get reset if he clicks a row again.

Here is the code I use for RowFormatting:

void RowFormatting_ImageChanging(object sender, Telerik.WinControls.UI.RowFormattingEventArgs e) 
        { 
            GridRowHeaderCellElement grhce = e.RowElement.Children[0] as GridRowHeaderCellElement; 
 
            if (grhce != null
            { 
                GridViewEditableEntry aa = e.RowElement.RowInfo.DataBoundItem as GridViewEditableEntry; 
                if (aa != null
                { 
                    if (aa.Changed) 
                        grhce.Image = myimage1; 
                    else if (aa.IsEditable) 
                        grhce.Image = myimage2; 
                    else if (!aa.IsEditable) 
                        grhce.Image = myimage3; 
                } 
                else 
                { 
                    grhce.Image = null
                } 
            } 
        } 

How can I prevent the header cell image to get reset?
Peter Luth
Top achievements
Rank 1
 answered on 17 Feb 2009
2 answers
378 views
Hi whenever I 'reset' a RadGridView to see the latest data, I get duplicate rows by filling again. My RadGridview is filled dynamically. An help would be appreciated.

 

 

 

If DBConn.ConnectionString <> "" Then

 

 

 

 

 

daDataAdapter =

New SqlDataAdapter(CurrentBeo.sCurrentSql, DBConn)

 

daDataAdapter.Fill(DSData, CurrentBeo.sTableToUpdate)

bsMaintenance.DataSource = DSData

bsMaintenance.DataMember = CurrentBeo.sTableToUpdate

grdMain.DataSource = bsMaintenance

bnMain.BindingSource = bsMaintenance

 

End If

 

Derek
Top achievements
Rank 1
 answered on 17 Feb 2009
2 answers
189 views
Hello experts!

I have a GridView, with a column that is filtered like this:

protected override void OnLoad(EventArgs e)
{
     base.OnLoad(e);
     ..............
     gridview1.DataSource = data;
    
     string fString = "filter";
     FilterExpression filter = new FilterExpression(FilterExpression.BinaryOperation.AND, GridKnownFunction.Contains, fString.ToString());
     gridview1.Columns["filtered_column"].Filter = filter;
     ...............
}

It works fine, but when I try to set the No Filter option to that column, it does nothing. It's supposed to show all the rows, but it still shows the filtered ones.

How I can solve this?

Thanks for your help!
itWorks itWorks
Top achievements
Rank 1
 answered on 16 Feb 2009
0 answers
204 views
hi!

I have styled radComboBox using Aqua theme, but I notice something. When I click on open dropdown button first time, combo shows a dropdown list under it but not shows shadow around it, some times dropdown list is bigger than radcombobox width size; at second time when dropdown list is displayed, shadows is shown and dropdown list is width sized like radcombobox width size.

Thanks for your help about this
Aldemar
Top achievements
Rank 1
 asked on 16 Feb 2009
1 answer
149 views
Hello experts!

I have a main window that is a shapedform, that uses panels, buttons, treeviews, etc ... all of them are your controls.
I also have a custom message box, that is a shapedform as well.

When the message box is closed all the application flickers, and you also can see the applications that are behind (messenger for example) for a short moment.

I've read a lot of information about flickering here. Is this solved? Any workaround?

Please help! The users are complaining about this disturbing behavior.
Nick
Telerik team
 answered on 16 Feb 2009
7 answers
338 views
Hi,

When a CellClick Event gets fired, I want to get the focus on the Filter of the Column where the user has clicked so that the user is able to directly type in Filter values.

How can I do that?
Jack
Telerik team
 answered on 16 Feb 2009
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?