Telerik Forums
UI for WinForms Forum
1 answer
93 views
I Use Telerik.WinControls.UI.RadRibbonForm.
My application must use F10 key to do something.
But when user press F10 twice ,UI show some other thing that user not wanted.
Dimitar
Telerik team
 answered on 14 Dec 2016
2 answers
128 views

Looking at some options for modernizing an old scheduling application.

Is it possible to set scheduler to put the time and date on the same axis? All the demos/documentation I can find do not show anything similar.

David
Top achievements
Rank 1
 answered on 13 Dec 2016
2 answers
130 views

I have a RadForm that contains multiple Radtextboxes. How can I have one of them be the focused box once the form has opened?

I have tried placing both lines of code below in the constructor but neither initialize the cursor in the iUSERNAME text box.

this-object:iUSERNAME:Focus(). 
this-object:iUSERNAME:Select(). 

 

Thanks

Mark

Mark
Top achievements
Rank 1
 answered on 12 Dec 2016
5 answers
286 views

Hi, I'm evaluating this control.

I'm opening a docx file in the control as a RadDocument. The file is right to left file and showing two pages on the screen in the wrong direction (page 1 on the left) - event when I change the control to RightToLeft=Yes (this only changes the scroll to the other side).

I would like one of two options:

1. Show only one page on the screen at a time (scroll down will go to second page). I found this can be done when making my window small but I'd like it to open maximized.

2. Show two pages but in the correct direction (page 1 on the right and page 2 on the left).

Any help?

Thanks!!

Hristo
Telerik team
 answered on 12 Dec 2016
11 answers
685 views
When I use RadPdfViewer1.Print() or RadPdfViewer1.Print(True) to print, the printed document has been shrunk. If I use the Navigator it prints fine.


I did some testing this morning and have discovered that I get the same results with using RadPrintDocument to print using RadPrintDocument1.Print. 

What do I need to do to make this work properly?
Hristo
Telerik team
 answered on 12 Dec 2016
4 answers
812 views
How can I change page margins before radGridView.PrintPreview()?
Hristo
Telerik team
 answered on 12 Dec 2016
7 answers
248 views

Hello ,

I am trying to use a radCheckedDropDown list in a winforms application (C#).  The list is working the way I want it to except for 1 thing.

When I click the dropdown list it shows (which is correct) however while it is open if I start to type in the text area the text popup shows in front of the dropdown popup, and as a result you can click through to the drop down list.  What I would like is to close the dropdown portion when typing, and vice versa when using the drop down list. 

If I use a standard combobox I can accomplish this by  hooking the preview and the droppeddown events, however the radcheckeddropdownlist does not have the droppeddown event.

private void comboBox_DropDown(object sender, EventArgs e)

{

ComboBox cbo = (ComboBox)sender; cbo.PreviewKeyDown += new PreviewKeyDownEventHandler(comboBox_PreviewKeyDown);  

}

private void comboBox_PreviewKeyDown(object sender, PreviewKeyDownEventArgs e)

{

ComboBox cbo = (ComboBox)sender;

cbo.PreviewKeyDown -= comboBox_PreviewKeyDown;

if (cbo.DroppedDown) cbo.Focus();

}

 

Thanks,

Jeff

Dimitar
Telerik team
 answered on 12 Dec 2016
1 answer
247 views

I am trying to use the html code generated by the RichTextEditor to embed it in a webpage and I have a problem with the style that the RichtTextEditor generates.

For example an simple "Hello World" creates the html code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" >
<html xmlns=>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled</title>
<style type="text/css">
p { margin-top: 0px;margin-bottom: 0px;line-height: 1.15; }
body { font-family: 'Verdana';font-style: Normal;font-weight: normal;font-size: 16px; }
.Normal { telerik-style-type: paragraph;telerik-style-name: Normal;border-collapse: collapse; }
.TableNormal { telerik-style-type: table;telerik-style-name: TableNormal;border-collapse: collapse; }
</style>
</head>
<body>
<p class="Normal ">Hello World</p>
</body>
</html>

 

This html code can not be embedded on any web since it is generating styles for <body> and <p> tags. This causes the style sheet itself to change from the original page.I need a simpler code, I would need you to not create any style for the general tags of a web. And just create styles for your own classes as you already do by putting some of the text in bold:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ><html xmlns=>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled</title>
<style type="text/css">
p { margin-top: 0px;margin-bottom: 0px;line-height: 1.15; }
body { font-family: 'Verdana';font-style: Normal;font-weight: normal;font-size: 16px; }
.Normal { telerik-style-type: paragraph;telerik-style-name: Normal;border-collapse: collapse; }
.TableNormal { telerik-style-type: table;telerik-style-name: TableNormal;border-collapse: collapse; }
.s_6C8EFA9D { telerik-style-type: local;font-weight: bold; }
 </style>
</head>
<body>
<p class="Normal ">Hello <span class="s_6C8EFA9D">World</span></p>
</body>
</html>

 

Is there any way to do it?

Regards.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 Dec 2016
9 answers
183 views
Hello,

I've upgraded today to version 2011.3.11.1116 and I'm experiencing a problem with treeview in existing projects.

I have this code to fill a treeview (for example, depending on the project choose by user):

Private Sub FillTree(Optional selPJerarquiaID As SqlHierarchyId = Nothing)
     treeEstructura.Enabled = False
     treeEstructura.DataSource = Nothing
     treeEstructura.Nodes.Clear()
     treeEstructura.DataSource = oProjects.Estructura.Items
     treeEstructura.Enabled = True
     treeEstructura.ExpandAll()
      
     If Not selPJerarquiaID.IsNull Then
         SelectNode(treeEstructura.Nodes(0).Nodes, selPJerarquiaID)
     Else
         treeEstructura.SelectedNode = treeEstructura.Nodes.First
     End If
 
 End Sub

The first time works fine. The user choose a project and the treeview shows all tasks assigned to this project. But it doesn't work for  second time and it crashed in the sentence treeEstructura.Nodes.Clear raising the next error:

"Object reference not set to an instance of an object"


If I ignored this clear sentence, the treeview is not rebound with the right content, and continues to show the content that belong to the first project.


Thank you in advance

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 Dec 2016
3 answers
240 views

Hello,

My company needs filter row to look like the attached image. Instead of the filter textbox to appear when user clicks on the filter cell, they want it always visible and also no filter icon visible. Is there way to achieve this in VirtualGrid ? Your assistance is greatly appreaciated.

Thank you,

Saji.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 Dec 2016
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
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
CollapsiblePanel
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
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?