Telerik Forums
UI for WinForms Forum
3 answers
145 views

I have an application that on the main form (MainForm.cs) it is not honoring the following:

FormElement.TitleBar.MaximizeButton.Enabled = false;
FormElement.TitleBar.MaximizeButton.Visibility = ElementVisibility.Collapsed;

It does honor it not being enabled, but hiding altogether is not working.

If I edit the form properties in the Proerties Window, I can see it collapse. Running the application for the first time seems to undo this, but there is no code that explicitly sets its visibility back to ElementVisibility.Visible.

I have other forms with in the app that have it disabled without issue.

Help

Dimitar
Telerik team
 answered on 01 Dec 2015
5 answers
158 views

Hi!

 

Which action can I check after the users clicked on: " * Click here to add new row " and filled the collums, please?

 

The first collum is readonly because its a ID, but the others must be filled to execute the action.

 

I can't find the solution.

 

Thank you!

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 Nov 2015
3 answers
1.0K+ views

iam trying to upload some file on a server and i did it async it works just fine but i want to show the progress of the uploading on progress bar that i embed in a listview using this thread

i update the progress bar value on event progresschanged that i create for uploading this is the code am using

UploaderService ser = new UploaderService();
radListView1.Items.Add("1", "Test Video", "", "", 0, "");
ser.Authenticate("username", "password");
Uploader up = new Uploader(ser, @"C:\Users\public\Downloads\Video\E");
up.ProgressChanged += ((ss, rr) =>
{
    var PercentComplete = (rr.Progress * 100.0f) / up.Size;
    radListView1.Items[0][4] = Convert.ToInt32(PercentComplete);
});
i tried the updatelayout methode and Application.DoEvents() also the refresh, and to let you know its on the  radform thread and i make it work only on runtime by clicking on the headercell and its update the progress bar

 also i found a workaround but theres any other way withou making a loop while

while (true)
{
    var PercentComplete = (up.Progress * 100.0f) / up.Size;
    radListView1.Items[0][4] = Convert.ToInt32(PercentComplete);
    radListView1.RootElement.UpdateLayout();
    radListView1.Refresh();
    if (PercentComplete == 100)
    {
        break;
    }
}

Hristo
Telerik team
 answered on 30 Nov 2015
0 answers
386 views

How can I change left border width and color with the following code:

public class MyBorderPrimitiveSElement : RadElement { protected override void CreateChildElements() { BorderPrimitive borderPrimitive = new BorderPrimitive(); borderPrimitive.Class = "MyBorderPrimtiveClass"; borderPrimitive.BoxStyle = BorderBoxStyle.SingleBorder; borderPrimitive.Width = 3; borderPrimitive.ForeColor = Color.Red; borderPrimitive.GradientStyle = GradientStyles.Solid; this.Children.Add(borderPrimitive); base.CreateChildElements(); } }

Mohsen
Top achievements
Rank 1
 asked on 29 Nov 2015
2 answers
301 views

Hello,

Can we add icon to right-click context menus' left side? If yes, how?

Kind regards,

Mehmet.

SarperSozen
Top achievements
Rank 1
 answered on 27 Nov 2015
1 answer
269 views
Hi,

I’m experiencing some issue when using Windows Forms RAD Controls 2012 Q1 SP1 suite. Actually I can’t figure out how to solve a problem concerning the use of Scheduler control.

Since my project requires custom fields when adding appointments, I’ve decided to implement a custom appointment class. Everything works fine unless I configure a recurrence in some given appointment.

When I handle AppointmentFormatting event and it has been triggered after adding some recurrence to some appointment, once I access the appointment though e.Appointment the so-called appointed isn’t only upcasted to Appointment base class, but its actual type is also Appointment instead of my custom class (f.e. CustomAppointment).

What am I missing? I can’t figure out why other editing actions on the same appointment (or whatever one I try to edit) will receive an instance of CustomAppointment and a recurrence change provides an instance of Appointment.

Thank you in advance for your effort.
Hristo
Telerik team
 answered on 27 Nov 2015
1 answer
212 views

In my photoshop image I have put together a wish. Is this possible with Telerik?

1, the top of the page - the year, month, week number and the date.

2, where it is Text1, Text2, etc. to have free text and locked to the top, no scrollbar.

3, Be able to have multiple tasks on the same line.

4, can have different texts in the Title and tasks

 
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 27 Nov 2015
1 answer
174 views

Hi,

I am trying to clear formatting by using below command:

ClearFormattingCommand command = new ClearFormattingCommand(cEditor.RichTextBoxElement.ActiveEditor);
command.Execute();

However, font and size (bigger) different that set by:

private void SetDef(RadDocumentEditor editor)
{
    editor.ChangeFontFamily(new Telerik.WinControls.RichTextEditor.UI.FontFamily("Tahoma"));
    editor.ChangeFontSize(Unit.PointToDip(10));
    editor.ChangeFontStyle(Telerik.WinControls.RichTextEditor.UI.FontStyles.Normal);
    editor.ChangeFontWeight(Telerik.WinControls.RichTextEditor.UI.FontWeights.Normal);
    editor.ChangeParagraphSpacingAfter(0);
}

  

 

Dimitar
Telerik team
 answered on 27 Nov 2015
1 answer
259 views

Hi,

I would like to export a:

gridview, chartview

gridview, chartview

in this format like in my attached file to an Excel. How can I go about accomplishing this with Telerik Winform C#?

Hristo
Telerik team
 answered on 26 Nov 2015
2 answers
214 views

Hi,

How to hide caret? 

I want to stay with selection text possibility but without blinking caret.

konrad
Top achievements
Rank 1
 answered on 26 Nov 2015
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
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?