Telerik Forums
UI for WinForms Forum
1 answer
106 views
hi
i m new in red controls i m using rotate for move pic in left to right and right to left in circle on button click

but i dont know this is posible in window form or wpf

please help me
Peter
Telerik team
 answered on 18 May 2010
3 answers
222 views
Hello,

I'm wondering if it isn't possible to add a ScreenTip to the StartButton like in Office 2007.

Please tell me how I can create a ScreenTip there, if it's possible.
(VB please)

Thank you so far

Dennis Dieckmann
Nikolay
Telerik team
 answered on 17 May 2010
1 answer
280 views
Hi,
 
I'm using Telerik RAD Grid for WinForms.
How can I change font/color/backcolor and other graphic properties at design time?
I want to set background color for some whole row or single cell or whole column at design time.
I tried using and customizing themes but unsuccessfully
 
Thanks.

Jack
Telerik team
 answered on 17 May 2010
1 answer
105 views
Dear All,

Is RadControls for win forms verison 2009.3 1203 (Dec 3, 2009) compatible with visual studio 2010 professional running on Windows 7?

Sorry if my question is dumb.... i am new to telerik... thanks for your support..!
Peter
Telerik team
 answered on 17 May 2010
1 answer
252 views
Here is the scenario.  I want to use a tool strip to have 10 Image buttons on one tab strip Item.  I want this tab strip item to be as big as the parent container that holds it and to dynamically grow if the form gets bigger.   Basically docking the tool strip item to both the top left and right.  The tool strip does this,  but the toolstrip item is only as big as the 10 buttons that are put in it.   Is this possible using the Tool strip. 

Thanks,

Don
Martin Vasilev
Telerik team
 answered on 17 May 2010
0 answers
114 views
Can anyone tell me what's wrong with the following code.  When it gets to the line of code
grdStations.DataSource = taStations.GetData(1) I get a run time error for a "login failure for User5" .  The tableadapter is a call to a stored procedure, and User5 has permissions to execute the procedure.  Any help would be appreciated.

Thanks
Tom

 Private Sub LoadStationGrid()
         Dim taStations As New stationsTableAdapters.GetStationsByDeptTableAdapter
        Dim dsTrucks As New stationsTableAdapters.TruckTableAdapter   

        grdStations.DataSource = taStations.GetData(1)

        Dim template As GridViewTemplate = New GridViewTemplate
        template.DataSource = dsTrucks.GetData()
        grdStations.MasterGridViewTemplate.ChildGridViewTemplates.Add(template)

        Dim relation As GridViewRelation = New GridViewRelation(grdStations.MasterGridViewTemplate)
        relation.ChildTemplate = template
        relation.RelationName = "StationTrucks"
        relation.ParentColumnNames.Add("sID")
        relation.ChildColumnNames.Add("StationID")
        grdStations.Relations.Add(relation)
        

    End Sub
tcl4p
Top achievements
Rank 1
 asked on 17 May 2010
8 answers
432 views
Another MaskedEditBox question...is the following behavior by design, and if so is there a hack I can employ to stop it:

I have a MaskedEditBox set up with the mask of "(###) ###-####".  I enter "(800) 555-1212" in the control.  I select all of the text and attempt to type over it to enter a new number.  Nothing happens.  I have to select the text, delete it, then type again or overwrite one character at a time.

I would like to be able to select the text and begin typing to overwrite it, as with a normal textbox.

Josh
Marina Vision
Top achievements
Rank 1
 answered on 16 May 2010
1 answer
126 views
Hello
i got this situation:
i have a textbox and a combo, i filled the combo in the form_load event
 the combo properties:
   DisplayMember = "Test1"
   ValueMember = "Test2"

i want when i choose a item in the combo the textbox get the SelectedValue but
the problem with SelectedIndexChanged or SelectedValueChanged event, is this events fires even when i filled the combo
there are any event like ItemClick or else that only fires when you click on an item not every time you filled the combo?

if you have a query under this events, the query will be executed even if you don't want to
and this will affect the performance of your application because if you need to update the combo values often
the event will fire again and again

any help
thanks

P.S.
Sorry about my english, is not good enough
 
Victor
Telerik team
 answered on 15 May 2010
1 answer
232 views
Hi Telerik team,

I have a scenario where in my gridview i need to show up combox for some cells and hide them for some other cells based on a
condition.

I tried this using Cell_formatting event using the following code but it doesnt seem to work fine.

 

private void radGridView2_CellFormatting(object sender, CellFormattingEventArgs e)

 

{

 

 

if (e.CellElement.ColumnInfo.HeaderText == "Amount" && customers.ToList<Customer>()[e.CellElement.RowIndex].Amount < 10 )

 

{

check =

true;

 

}

if

 

(this.radGridView2.Columns[e.CellElement.ColumnIndex].UniqueName == "Type1")

 

{

 

if (check)

 

{

((Telerik.WinControls.UI.

GridComboBoxCellElement)(e.CellElement)).Visibility = ElementVisibility.Hidden;

 

check =

false;

 

}

}


Here check is a class level boolean variable and I have a customer collection with 3 properties.  And the Type1 and Amount columns are dynamically added at runtime.

 

GridViewComboBoxColumn combo = new GridViewComboBoxColumn();

 

combo.HeaderText =

"Type1";

 

combo.UniqueName =

"Type1";

 

combo.DataSource =

this.BindData();

 

combo.DisplayMember =

"KeyValue";

 

combo.ValueMember =

"StringValue";

 

 

this.radGridView2.Columns.Add(combo);

 

 

 

GridViewTextBoxColumn data = new GridViewTextBoxColumn();

 

data.HeaderText =

"Amount";

 

data.UniqueName =

"Amount";

 

data.FieldName =

"Amount";

 

 

this.radGridView2.Columns.Add(data);

 



Kinldy help me  out in doing this.

Thanks
KrisYs
Svett
Telerik team
 answered on 15 May 2010
1 answer
134 views
Hi,
i use the RadListBox that comes with WinForms Q3 2009 SP1 in my C# project. One major difficulty i face now is i want to  perform a condition on adding items to the radListBox. i.e, all items must be added only once.no duplication of same item must be present. In the standard listbox of Windows Forms i used if(!listbox1.item.contains(s)) to enter a string s, but i need to know how to implement this using RadListBox.
Dobry Zranchev
Telerik team
 answered on 14 May 2010
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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
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
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?