Telerik Forums
UI for WinForms Forum
4 answers
180 views
I have a problem
in rtl language such as arabic or persian we can not delete dot(.....) in telerik demo
when we want to delete dot in word or paragragh , corsur jump to other line or word.
video:
http://yekupload.ir/.../bandicam_2019-02-13_15-38-11-599.mp4
please help me
best regurde for you
Peshito
Telerik team
 answered on 20 Feb 2019
4 answers
789 views

Hello,

I'm trying to show and hide groups and single items of a PropertyGrid depending on the answers inside the same propertyGrid.

I've seen that a good place to set the visibility of the group is in when the grid is created, in this function:

private void RadPropertyGridOnCreateItemElement(object sender, CreatePropertyGridItemElementEventArgs e)
        {
            if (e.Item is PropertyGridGroupItem groupItem)
            {
                var myItem = (MyItem)groupItem.Group.GroupItem.GridItems[0].Value;
                   groupItem.Visible = myItem.EnableGroup;
            }
            if (e.Item is PropertyGridItem item)
            {
                var myItem = (MyItem)item.Value;
                item.Visible = myItem.EnableItem;
            }
        }

 

However, I'm not able to change the visibility at a second time, since this function is not called again later.

If I try to change the visibility of the VisualItem in OnItemFormatting, the items are hidden, but the spaces are not recalculated and the design is messed up.

Also, if I try to change the visibility of an item at the end of OnEdited, OnItemFormatting goes on loop.

 

Any hint? :)

Thanks!

Hristo
Telerik team
 answered on 20 Feb 2019
1 answer
78 views

Hello,

I use a RadGalleryElement in my ribbonbar. I found that after I expanded gallery and then re-collapsed, the collapsed gallery size will be changed automatically. Please see the first attached photo. How can I keep the size of gallery unchanged (original one or the smaller one) ?

FYI,

My gallery is autosize = true, the items are added dynamically at the form loading.

I've tried autosize=false, the gallery is completely disappeared. Weird.

Second question, how can I display selected item effect as the second attached photo ? I found few theme can support selected item effect, like windows 7 theme. But I use windows 8 theme.

How can I show selected item effect in program ? If not possible, please tell me which property I can modify in theme.

Thank you.

 

 

Hristo
Telerik team
 answered on 20 Feb 2019
8 answers
198 views
I have a word file with the docx extension; it is used in the file from the text box of the msword .
When I open the file by RichTextEditor, the text box controls are not displayed.
Hristo
Telerik team
 answered on 20 Feb 2019
4 answers
249 views

Hi ,

I want to control tab button disable or enable in different condition, is there any way I can do this ?

Fishhhh
Top achievements
Rank 1
 answered on 20 Feb 2019
0 answers
73 views

hi

How can this space be reduced?

asghar
Top achievements
Rank 1
 asked on 19 Feb 2019
1 answer
84 views

Hello, I'm trying to find the Parent container of CurrentBitmap inside of CanvasElement.

I want to ignore the current zoom and window location of the image for a custom control's mouse position relative to the image. Any help would be appreciated.

Thank you.

Dimitar
Telerik team
 answered on 19 Feb 2019
2 answers
256 views
private void button1_Click(object sender, EventArgs e)
        {

            ExportToPDF exporter = new ExportToPDF(this.radGridView1);
            exporter.FileExtension = "pdf";
            //exporter.HiddenColumnOption = Telerik.WinControls.UI.Export.HiddenOption.DoNotExport;
            exporter.FitToPageWidth = true;
            string fileName = "c:\\Directory-information.pdf";
            exporter.RunExport(fileName);

        }

Im beginner in .net, what ever experienced people teach is me what I learn. Help me with this issue , I will be very much thankful to you all.
Jeremiah
Top achievements
Rank 1
 answered on 19 Feb 2019
2 answers
55 views

Hi there,

I'm using a RadGridView with a DateTime column. The property for this column is a nullable DateTime property. I read on a few forum posts that I need to add a FilterDescriptor for the nullable DateTime columns manually. So I added the descriptors the following way:

FilterDescriptor desc = new FilterDescriptor();
desc.Operator = FilterOperator.IsEqualTo;
desc.Value = null;
desc.IsFilterEditor = true;
col.FilteringMode = GridViewTimeFilteringMode.Date;
gv.Columns["WishDate"].FilterDescriptor = desc;

When the data binding is complete, it instantly filters for null value in this column. But I don't want to filter right away. When I don't add the FilterDescriptor, the default FilterOperator for this column is "None".
What I need on startup is this nullable DateTime column with "Equal To" filter and not already filtered data.

I hope you know what I mean :)

Regards,
Danilo

 

Danilo
Top achievements
Rank 1
 answered on 19 Feb 2019
5 answers
304 views

Hello,

Hello,
Is there a way to set font style; size, font family (with html option or another way) of Caption Text and ContentText?

Kind regards...

Dimitar
Telerik team
 answered on 18 Feb 2019
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
ComboBox and ListBox (obsolete as of Q2 2010)
ListView
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
Menu
PropertyGrid
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
Rotator
TrackBar
MessageBox
SpinEditor
StatusStrip
CheckedListBox
Wizard
ShapedForm
SyntaxEditor
TextBoxControl
LayoutControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
DataEntry
GroupBox
ScrollablePanel
WaitingBar
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
ColorBox
Callout
FilterView
PictureBox
VirtualKeyboard
NavigationView
Accessibility
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
Flyout
ToolbarForm
NotifyIcon
Rating
TimeSpanPicker
BarcodeView
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
DateOnlyPicker
TimeOnlyPicker
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?