Telerik Forums
UI for WinForms Forum
3 answers
74 views
I am using the RadMaskedTextBox for a phone number input.  For my situation, when a different country is selected, I am dynamically creating the mask to include the country code.  The behavior I would prefer would be that when the user starts to input numbers, the country code would be ignored.  This works great if the user starts with a number different then the country code.  But, if the user starts with the same number as the country code, the carat only moves through the mask.

To illustrate further.  If the mask is this:  +56 _____________  , and I start typing a phone number that doesn't start with 5, such as 345, the box will look like this : +56 345_______  .   This is fine, and what I would expect.

If, however, I would start typing and the input starts with 5, such as 595, the box will look like this:  +56 95____________ .

This is because the first 5 is being "eaten up" by the mask.   Is there an easy way to disable the mask from "eating up" this input?

Thank you!
Dimitar
Telerik team
 answered on 24 Oct 2014
5 answers
561 views
I want to change backcolour of the radgrid while printing the panel which contains this particular grid.
On click of print button , the grid backcolour should be none in the page being printed.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 24 Oct 2014
1 answer
100 views
I want my users to be able to see that there is a spot to enter the criteria for the filter without having to know to click on the empty space and a box will appear. Is there a simple way to show those boxes to the users even when they do not have focus?

Dimitar
Telerik team
 answered on 24 Oct 2014
4 answers
866 views
Hi,

I want to hide a one header (info header) but not the data like below, is it possible?

===============================
First Name          | Last Name                         --> Header
===============================
First Name 1       | Last Name 1
------------------------------------------------------       --> row 1
Info 1
===============================
First Name 2       | Last Name 2
------------------------------------------------------       --> row 2
Info 2
===============================

Thanks
Kaka
Top achievements
Rank 1
 answered on 24 Oct 2014
1 answer
110 views
Hello to everyone
i am using the following teleriks demo for touch events
and wan to make the radbuttonelemt to be a picture
my picture is big and i need to dinamicly zoom it .
so this is  the code 

Imports Telerik.WinControls
Imports Telerik.WinControls.UI

Public Class CustomPanel
    Inherits RadControl
    Public Class CustomPanelLayout
        Inherits Telerik.WinControls.Layouts.LayoutPanel
    End Class

    Public Sub New()
        Me.EnableGesture(GestureType.All)
    End Sub

    Private m_layout As CustomPanelLayout
    Private button As RadButtonElement
    Private WithEvents CustomShape1 As Telerik.WinControls.RadImageShape

    Protected Overrides Sub CreateChildItems(ByVal parent As RadElement)
        MyBase.CreateChildItems(parent)
        m_layout = New CustomPanelLayout()
        parent.Children.Add(m_layout)
        button = New RadButtonElement()
        button.AutoSize = False
        button.Size = New Size(100, 100)
        button.Location = New Point(100, 100)
        button.Text = "RadButtonElement"
        Me.m_layout.Children.Add(button)
        button.DoubleClickEnabled = True

   ...

So i try to make the button element from picture
and i cant find a way to do this. there is no background picture
propery for zooming picture 

please help

PS 
moje i na bulgarski :)
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 24 Oct 2014
1 answer
184 views
I fill this dropdown list in this way

public  void FillDropDownList(string connString)
        {
            String Query = "SELECT * FROM information_schema.tables where Table_Name like 'Table%'";
            using (var cn = new SqlConnection(connString))
            {
                cn.Open();
                DataTable dt = new DataTable();
                try
                {
                    SqlCommand cmd = new SqlCommand(Query, cn);
                    SqlDataReader myReader = cmd.ExecuteReader();
                    dt.Load(myReader);
                }
                catch (SqlException e)
                {
                   //TODO
                }
                radDropDownList1.DataSource = dt;
                radDropDownList1.ValueMember = "TABLE_NAME";
                radDropDownList1.DisplayMember = "TABLE_NAME";
            }
        }

Now I need to add at index 0 something like "Select a table..."

How do I do that?
I have tried something like this but I need to add it at index 0.
radDropDownList1.Items.Add("Select a table...");
radDropDownList1.SelectedIndex = 0;
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 23 Oct 2014
1 answer
286 views
I am using this line of code to allow the user to choose the page size:

private void radTextBox1_TextChanged(object sender, EventArgs e)
        {
             radGridView1.MasterTemplate.PageSize = Int32.Parse(radTextBox1.Text);
        }

It works fine until the textbook is empty. In such case the amount of rows get stacked to 1 and there is no more control. I mean, paging size does not work anymore. Is this an expected behavior? 
I solved it like this:
if (radTextBox1.Text != "")
            {
                radGridView1.MasterTemplate.PageSize = Int32.Parse(radTextBox1.Text);
            }


Thanks
Dimitar
Telerik team
 answered on 23 Oct 2014
7 answers
344 views
Hi
My Client has planned to buy the telerik controls for windows form. Before that, he like to check whether it has the below functionality

I'm populating a  rad GRid from an XML File,. I've a Numeric Column in my Grid.

When my user multi selects the numeric column, then it has to add the values and show it in a tool tip simultaneoiusly. Is it possible. Kindly help us.
Stefan
Telerik team
 answered on 23 Oct 2014
3 answers
132 views
Hi, 

Could anybody share an example of how to drag and drop selected rows from a RadGridView to another?

Regards

Francisco Morales
FMorales
Top achievements
Rank 1
 answered on 22 Oct 2014
1 answer
152 views
How I could remove in this code the blue header separator of a RadDesktopAlert?

http://www.telerik.com/help/winforms/media/desktopalert-overview005.png

With RadDesktopAlert1
 
    .CaptionText = "Caption Text"
    .ContentText = "Content Text"
 
    .FixedSize = New Size(width:=200, height:=100)
    .ScreenPosition = AlertScreenPosition.BottomRight
    .Opacity = 0.8F
 
    .PlaySound = True
    .SoundToPlay = Media.SystemSounds.Exclamation
 
    .CanMove = False
    .IsPinned = False
    .ShowCloseButton = True
    .ShowOptionsButton = False
    .ShowPinButton = False
    .AutoClose = True
    .AutoCloseDelay = 5 ' Seconds
 
    .FadeAnimationFrames = 80
    .FadeAnimationSpeed = 5
    .FadeAnimationType = FadeAnimationType.FadeIn Or FadeAnimationType.FadeOut
    .PopupAnimation = True
    .PopupAnimationDirection = RadDirection.Down
    .PopupAnimationEasing = RadEasingType.Default
    .PopupAnimationFrames = 50
 
 
End With
 
RadDesktopAlert1.Show()


Thanks in advance.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Oct 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
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
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?