Telerik Forums
UI for WinForms Forum
4 answers
159 views
Hi,

I have a gridview bound to a datatable with columns defined in the design view and autogenerate columns turned off.
Filtering is enabled on both the gridview and gridviewtemplate yet whenever the filter text is changed no filtering takes place even though the FilterChanged event is firing.
If i remove my defined columns and enable autogenerate the filtering works as expected.
Version is Q3 2009 SP1.

Regards,
Chris


Stefan
Telerik team
 answered on 16 Jul 2010
1 answer
177 views

Hi Guys:

I’m using telerik almost one year…. this is really an excellent tools for rapid development. However I’m facing a little issues and I’m stuck I can’t resolved this. The issues is I have a grid with five column, the first column contain the serial number of each record, and now I want to add drag & drop functionalities to swap column. For example I select the column number 5 and drag and drop it into the column 2 so I the column will swap and reorder the serial number, the column 5 will be column 2 and column will be column 5. How can I achieve this? I need your help / any suggestion.

Regards,

Md. Marufuzzaman

Martin Vasilev
Telerik team
 answered on 16 Jul 2010
2 answers
191 views

This property is removed in the Beta, however I could not find any reference in the Release Note. How can I find out the .net Type behind a DataColumn?

Regards
Erwin
erwin
Top achievements
Rank 1
Veteran
Iron
 answered on 16 Jul 2010
2 answers
137 views
Hi all;
I change my settings LocalizationSettings (Turkish). But when I run the program I see the original LocalizationSettings values. How do I change it?

How do I change the values of other objects LocalizationSettings?
Stefan
Telerik team
 answered on 15 Jul 2010
1 answer
94 views
Hello, I wrap text just like that:

radGridView1.AutoSizeRows = true;
foreach (GridViewColumn column in radGridView1.Columns)          
    {
               
column.WrapText = true;
    }


and in header cell last line is 1/2 cut (example in the image)
Thanks for help
Martin Vasilev
Telerik team
 answered on 15 Jul 2010
1 answer
191 views
Hello,

I have posted a message on this issue couple of days back, but it seems deleted from this forum without any update/reply. 

We are using Q1 2010, build 308. Found memory leak issue, once forms are loaded and release in RadDock. It was also found that if MDIForm is minimized and again maximized, it release huge memory. Like at the start application took 100,000K and once minimize/maximized, it result in 20,000 K....

We could not understand this behavior and would like to have an update from Telerik experts. How can this be achieved (releasing memory) thru code.... 

Thanks,
devoas
Boryana
Telerik team
 answered on 15 Jul 2010
1 answer
175 views
I have a hierachical grid with several generations of children and syblings. How do I define in an add, update, delete event of the current row which table is to be updated? 

Although there is  a command UserAddingRow, but how do I define that I am in a certain child to update that child?

Thankfull for directions and a fast response...

Karl 
 
Martin Vasilev
Telerik team
 answered on 15 Jul 2010
2 answers
160 views
Hi,

I have a hierarchical dataset being bound to the gridview and the binding works well.  The challenge I am running into is how to format the child gridview (child template).  I am formatting the parent row format (hiding columns, setting their widths, etc...) via the grid's DataBindingComplete event handler, but how do I format the children rows format?  As an example, I need to hide the first two columns in the child dataset.

Thanks
Ali M.


MORE INFO:  I am getting two datasets and binding the grid to them as shown in the code below.  I then depend on the DataBindingComplete event handler to control the visibility and size of the columns which works for the master dataset but don't know how to implement that for the child dataset.  I would change the formatting logic if this is the wrong way to do it.
Thanks

_adapter = New SqlDataAdapter()
_adapter.SelectCommand = _cmdSelect
_adapter.Fill(Me.dsSync, "Transactions")        ', "MBDeviceAuthorization")
_adapter.SelectCommand = _cmdSelect2
_adapter.Fill(Me.dsSync, "Details")
 
grdTransactionDetails.Tag = "checkouts"
grdTransactionDetails.DataSource = Me.dsSync.Tables("Transactions") ' Me.BindingSource1
Dim template As GridViewTemplate = New GridViewTemplate
template.DataSource = Me.dsSync.Tables("Details")
template.AllowAddNewRow = False
template.AllowEditRow = False
template.AllowDeleteRow = False
template.EnableGrouping = False
grdTransactionDetails.MasterGridViewTemplate.ChildGridViewTemplates.Add(template)
Dim relation As GridViewRelation = New GridViewRelation(grdTransactionDetails.MasterGridViewTemplate)
relation.ChildTemplate = template
relation.RelationName = "CheckoutItems"
relation.ParentColumnNames.Add("rowid")
relation.ChildColumnNames.Add("rowid")
grdTransactionDetails.Relations.Add(relation)
Martin Vasilev
Telerik team
 answered on 14 Jul 2010
1 answer
181 views

Please point me to (a) sample(s) to distinguish in the insert or update between a master / child the current selection is on.

        private void radGridView1_RowsChanged(object sender, GridViewCollectionChangedEventArgs e)  
        {  
            case ... I'm changing in the master... // what is the selection
            this.t_FilmTableAdapter.Update(this.pAS2DataSet.T_Film);  
            case .... I'm changing a child    //how do you select it
            case .... another child
            end case
        } 

Now, if I have scenes (as a child) and the child template works and I just wanted to update the scene row - where or how do I differentiate that?

Thanks in advance,
Karl
Alexander
Telerik team
 answered on 14 Jul 2010
2 answers
119 views
Hi,

Does the Winform Telerik Grid Supports displaying hierachial data from object collection.

I can give you a simple example in our application we have a Customer class which has Firstname and Surname and a List of Address details. The Address is a separate class which have properties like Town,Postcode and all

Customer
{
    string FirstName;
    string Surname;
    List<Address> Addresses;
}

the requirement is to display the customer forename and surname only in the main row and the list of address in the child table.

Does the winform grid supports displaying the above scenario?
Julian Benkov
Telerik team
 answered on 14 Jul 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
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
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
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?