Telerik Forums
UI for WinForms Forum
1 answer
427 views
I'm looking for an alternative grid that is NOT based on Microsofts VERY POOR implementation of DataGridView.  The problem I'm having with the Microsoft DataGridView is summarized nicely in this YouTube Video:

http://www.youtube.com/watch?v=K-LhoDw9CmY


Basically if I set column visible and column formatting options in the designer/IDE and then during application runtime my code sets DataSource = myDataTable and then change the DataSource to another DataTable, ALL my column visible state and formatting information is reset to "default" state ... NOT good.  (note: ONLY when the DataSource is changed, first time it works fine and keeps visible/formatting info).

Per video, the only work around is to add a BUNCH of code to DataBinding_Complete event to set my columns back to the state I setup via designer/IDE.

So my questions:

1.  Is Telerik Grid based on the Microsoft's implementation?
2.  Is this same behavior "by design" in the Telerik Grid?

Thanks, Rob.
Martin Vasilev
Telerik team
 answered on 18 May 2010
1 answer
72 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
195 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
226 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
78 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
179 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
90 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
351 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
97 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
178 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
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
ProgressBar
CheckedDropDownList
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
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
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
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?