Telerik Forums
UI for WinForms Forum
6 answers
151 views
Hi on the following line I get an error message. (image attached)

bsSearchDebts.DataSource = _DSData

Julian Benkov
Telerik team
 answered on 07 Oct 2010
5 answers
253 views
Hi,

I have a RadLabel control, with the AutoSize property set to true, which contains some HTML text.

I have noticed that the RadLabel does not resize correctly. It resizes to the height necessary to display the plain text, so the HTML text is clipped.

The text I am using for my test example is:

"<html><p>Here is some question text.</p><p><strong>SOME VERY IMPORTANT NOTES.</strong></p><p>Here is some more question text.</p><p><strong>AND SOME MORE VERY IMPORTANT NOTES.</strong></p></html>"

Is this a known issue, and is there a work around?

Thanks in advance.

Matt.
Peter
Telerik team
 answered on 07 Oct 2010
4 answers
188 views
My customer wants to display a checkmark image in the column if the column is checked and no image in the column if the checkmark is unchecked.

Is there an easy way to do this? Or do I need to write code (formating event?) to replace the image as the data is binding and as the user clicks in the column?

Thanks!
Svett
Telerik team
 answered on 07 Oct 2010
5 answers
139 views
I am new to Windows Form application, I normally right web apps. so sorry to sound stupid.

I have a login window ("ShapedForm") that Opens a RadRibbonForm. 

RadRibbonForm1 FRM1 = new RadRibbonForm1()
FRM1.Show();
this.Hide();

Problem is, if you click the "x" in the upper right corner the RadRibbonForm it closes the Form but the "ShapedForm" (Hidden) stayes open. Can you help me fix it so if the "x" on any of the child forms it kills the application.

Thanks
Peter
Telerik team
 answered on 07 Oct 2010
2 answers
195 views

Hi,

I want to apply the filter to radgridview programatically. This is the piece of code I am using :

FilterExpression filter = null;
                object currentCellValue = null;
                if (grdSearch.CurrentCell != null) currentCellValue = grdSearch.CurrentCell.Value;
                if (grdSearch.Columns[grdSearch.CurrentColumn.HeaderText].Filter != null)
                {
                    filter = grdSearch.Columns[grdSearch.CurrentColumn.HeaderText].Filter;
                }
                else
                {
                    filter = new FilterExpression(grdSearch.CurrentColumn.HeaderText);
                }
                if (grdSearch.CurrentCell.Value != null)
                {
                    filter.Predicates.Add(FilterExpression.BinaryOperation.AND,
                                  GridKnownFunction.NotEqualTo,
                                  string.Format("@FilterEditor{0}",filter.Predicates.Count + 1));
                    filter.Parameters.Add(string.Format("@FilterEditor{0}",filter.Predicates.Count), currentCellValue);
                }
                else
                {
                    filter.Predicates.Add(FilterExpression.BinaryOperation.AND, GridKnownFunction.NotIsNull, null);
                }
                
                this.grdSearch.Columns[grdSearch.CurrentColumn.HeaderText].Filter = filter;

This code is executed when user clicks the contextmenu opened after right clicking one of the gridcell.

This piece of code works properly if the cell value has no special character. For example, it works if cell value is 'Microsoft Word' but
if the cell value is 'MS Visio 3/4 Document/Drawing/Shapes/Te', it is being stored as 'MS Visio 3[/]4 Document[/]Drawing[/]Shapes[/]Te' by the Filter object and thus Filter is applied but is not working.

Please check the attached image file to see how Filter is storing the parameters with special characters.

regards,
Bibek Dawadi

Alexander
Telerik team
 answered on 07 Oct 2010
1 answer
298 views
Hi,
i have the requirement to show the horizontal scroll bar on the rad grid in windows form application. i have checked the property horizontalscrollstate but it is not working.

thanks
Richard Slade
Top achievements
Rank 2
 answered on 07 Oct 2010
2 answers
111 views
I have in my developing environment two third party controlsets installed. (one of them is telerik winforms 2010)
Formerly I already had installed third party controls from other company. After installing Telerik, I've lost the easy editing of these controls.
The forms are locked in design time, all controls are put down on the control area

Is there any solution to solve this?

kissanya
Peter
Telerik team
 answered on 07 Oct 2010
1 answer
79 views
Hi:
I Know the parameters "BaseColor" and "TollStripColor" for the themes and I need to know more parameters because I'm using ColorBlend.

Thanks.
Nikolay
Telerik team
 answered on 07 Oct 2010
1 answer
122 views
Hi:
I'm add changes to my themes using ColorBlending, but I need have the original theme too.
then I need to know how restore a theme.

Thanks.
Stefan
Telerik team
 answered on 07 Oct 2010
1 answer
119 views
Dear Admin,

I use this code to remove an appointment:

RadScheduler1.Appointments.Remove(SelectedAppointment.Appointment)

but the RadScheduler1 seems to not refresh after removing the appointment.
Generally, I need to remove the Selected Appointment programmatically  which the SelectedAppointment is an AppintmentElement.

Could you help me please?

Thank you
Regards.
Kian
Dobry Zranchev
Telerik team
 answered on 07 Oct 2010
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)
Chart (obsolete as of Q1 2013)
Form
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
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
Localization
TimePicker
ButtonTextBox
FontDropDownList
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?