Telerik Forums
UI for WinForms Forum
1 answer
159 views
Hi, 

I want to know how to apply the key press on print preview style of the scheduler.
If user press arrow up/down it will go to next/previous page.

Thanks.
Stefan
Telerik team
 answered on 23 Jun 2014
1 answer
308 views
I get the following error:

The type or namespace name 'ImageContainer' does not exist in the namespace 'Telerik.QuickStart.WinControls' (are you missing an assembly reference?)
Stefan
Telerik team
 answered on 20 Jun 2014
10 answers
1.9K+ views
Hi there,

I'm trying to set up a MaskedEditBox that takes in digits only and displays a null text instead of the default place holder value and I cant seem to get it to work.

It seems that when I change the masktype, the null text doesnt work anymore :(

Can I get some sort of tips to fix this?

relevant attributes:
Mask = "000000" --> (6 digits)
MaskType = "Standard"
NullText = "Enter Digits Here"
PlaceHolder = "_"

cheers,
Jonathan
Dimitar
Telerik team
 answered on 20 Jun 2014
1 answer
176 views
When I run the following code I get the attached error. If I comment out this line the PDF does load and display correctly so I know that is now the issue. It can also be printed if I click the print button on the navigator. I want to be able to send it print automatically (either via print preview or directly with print). Not sure why this error is occurring.

Imports iTextSharp.text.pdf
Imports System.IO
Imports iTextSharp.text
 
Public Class Form1
 
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
 
        Dim document As New Document()
        Dim pdfStream As New MemoryStream()
        Dim pdfwriter As PdfWriter = pdfwriter.GetInstance(document, pdfStream)
 
        document.Open()
 
        Dim over As PdfContentByte = pdfwriter.DirectContent
        over.BeginText()
 
        'Add logo.
        'Dim imagelog As iTextSharp.text.Image = iTextSharp.text.Image.GetInstance(My.Resources.manalivelogo, System.Drawing.Imaging.ImageFormat.Jpeg)
        'imagelog.ScalePercent(20)
        'imagelog.Transparency = New Integer() {255, 255}
        'imagelog.SetAbsolutePosition(25, 800)
        'over.AddImage(imagelog)
 
        document.Add(New iTextSharp.text.Phrase("More sample text for signature demo"))
        Dim tr As BaseFont = BaseFont.CreateFont(BaseFont.TIMES_ROMAN, BaseFont.WINANSI, BaseFont.EMBEDDED)
        Dim btr As BaseFont = BaseFont.CreateFont(BaseFont.TIMES_BOLD, BaseFont.WINANSI, BaseFont.EMBEDDED)
 
        over.SetFontAndSize(btr, 12)
        over.ShowTextAligned(iTextSharp.text.Element.ALIGN_MIDDLE, "2117 Maryland Avenue, Baltimore, MD 21218", 45, 780, 0)
        over.ShowTextAligned(iTextSharp.text.Element.ALIGN_MIDDLE, "Phone: 410-837-4892 Fax: 410-837-0639", 55, 768, 0)
 
        over.EndText()
        pdfwriter.CloseStream = False
        document.Close()
        pdfStream.Position = 0
 
        RadPdfViewer1.LoadDocument(pdfStream)
        RadPdfViewer1.PrintPreview()
 
    End Sub


Dimitar
Telerik team
 answered on 20 Jun 2014
1 answer
136 views
Hello,
I have problem with population DropDownList few times... First time is working, than I get first element choosed but rest of the list is empty:

                MainProgram.myConnectionHelper.Connection.Open();
                SqlCommand myCommand = new SqlCommand("SELECT Twr_Kod, Twr_Nazwa FROM Seven.TwrKarty WHERE Twr_Kod = 'W01 'or Twr_Kod = 'W06';", MainProgram.myConnectionHelper.Connection);
                //ddlRodzajMiesa.BeginUpdate(); 
                //ddlRodzajMiesa.DropDownStyle = RadDropDownStyle.DropDown;
                ddlRodzajMiesa.DataSource = null;
                ddlRodzajMiesa.ValueMember = "Twr_Kod";
                ddlRodzajMiesa.DisplayMember = "Twr_Nazwa";
                ddlRodzajMiesa.DataSource = myCommand.ExecuteReader();
                ddlRodzajMiesa.SelectedValue = 0;
                //ddlRodzajMiesa.DropDownStyle = RadDropDownStyle.DropDownList;
                //ddlRodzajMiesa.EndUpdate();
                MainProgram.myConnectionHelper.Connection.Close();



Thanks for any help in advance...







Dimitar
Telerik team
 answered on 20 Jun 2014
1 answer
267 views
I have a Windows Forms App and I want to change it to use Telerik UI, I would like to know how i can do that? Do I have to change each and every item or there is a way to convert my control to rad?

Thanks
Brian.
Dimitar
Telerik team
 answered on 20 Jun 2014
1 answer
176 views
I want to hide top row created by default. How do I do that ?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 20 Jun 2014
1 answer
242 views
Hi!
Is possibile put a radTextField into a RadMessageBoxForm, below MessageText?
Tks.
Maia.
Dimitar
Telerik team
 answered on 19 Jun 2014
2 answers
247 views
I've used RowFormatting event to change text color (in order of checking condition based on Tag of the row):

Private Sub GridView_RowFormatting(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.RowFormattingEventArgs) Handles GridView.RowFormatting
    Dim dataRow As Telerik.WinControls.UI.GridRowElement = e.RowElement
    If dataRow IsNot Nothing Then
        Try
            If dataRow.RowInfo.Tag IsNot Nothing Then
                If Is_Check_Some_Condition(dataRow.RowInfo.Tag) Then
                    dataRow.ResetValue(Telerik.WinControls.UI.LightVisualElement.ForeColorProperty, Telerik.WinControls.ValueResetFlags.Local)
                Else
                    dataRow.ForeColor = Color.Blue
                End If
            End If
        Catch ex As Exception
        End Try
    End If
End Sub

It works fine if version 2013.2.724. But when I changed it to 2014.1.402 - it is not working anymore. I mean, event is fired and dataRow.ForeColor = Color.Blue executed but text color is not changed.

Did I miss something for new version?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 19 Jun 2014
2 answers
172 views
can Setting it? tks.
Stefan
Telerik team
 answered on 18 Jun 2014
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
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?