Telerik Forums
UI for WinForms Forum
1 answer
82 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
824 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
91 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
149 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
179 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
324 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
114 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
122 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
1 answer
134 views
Hi,

I want to use RadScrollBar for scintillaNET syntax editor. How can i use RadScrollBar as custom scintillaNET scrollbar? Is it possible

Thanks.
Dimitar
Telerik team
 answered on 22 Oct 2014
1 answer
155 views
Hi,

I'm sure this is an easy issue but i'm struggling to find a solution on my own. Basically I want to get the name of the column that i made groupby it.


example:
.
1- I have data in my radgridview and i drag and drop on of the column to make group by it.

2- I have an event 
   
Private Sub ReportingGridView_GroupByChanged(sender As Object, e As GridViewCollectionChangedEventArgs) Handles ReportingGridView.GroupByChanged

End Sub


my question is : how I can return the name of the column that I made group by it??????????????



PLZ Help...
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)
Chart (obsolete as of Q1 2013)
Form
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
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
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
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?