Telerik Forums
UI for WinForms Forum
5 answers
285 views
I need to get only the filterd data from the grid to show it in a report
example: I have grid with 10 rows binded from data set then I have filtered the data, and now the grid is showing only 4 rows,
how can I get only these 4 rows?

thank you
Julian Benkov
Telerik team
 answered on 05 May 2010
3 answers
241 views
Hi:

I have a grid with several columns. Every column except the second one has a MaxWith specified (for the second one, the MaxWidth = 0). The grid is inside a TableLayoutPanel.

When the form first load, the size of the columns look as they should, but when the form is re-sized (maximized), the size of ALL the columns gets re-sized to a width that is LARGER than specified in the column's) MaxWidth property.

This is undesirable, since the last couple columns are command columns with MaxWidth specified to 120. But when the form is resize, those columns are now more like 300 in width - very ugly looking.  Is there anyway to fix that?

Also, is there anyway for you folks to add additional filters when searching for forum posts. There are SO MANY outdated post (for example, with I searched for "column Maxwidth", all the posts returned are at least 18 months old and do not apply to the newest version anymore). It amounts to a BIG waste of time.  At the very least, there should be a feature that allows the order of post from the newest to the oldest.  That should not be a difficult feature to implement. Can you folks do that?

Thanks
Svett
Telerik team
 answered on 05 May 2010
1 answer
138 views
Hi,

whenever I create 2 consecutive appointment boxes having the scheduled time like 0:00 - 0:45 (for the first appointment) and 0:45 - 1:00 (for the second one), the 2nd appointment box will be pushed to the next calendar day in the scheduler. This happens when the time interval in the scheduler is set to 30 minutes.

Anyone have time to look into this problem?


Thanks
Dobry Zranchev
Telerik team
 answered on 05 May 2010
3 answers
139 views
Hi,

I am trying Telerik's wonderful components for my next project, but there is only a problem for now that hasn't figured out yet.

Think about 2 business objects;

Product
Int32 - id
String - name
Category - category

Category
Int32 - id
Strıng - name

How to use Gridview component to add and edit new Products and use GridViewLookUpColumn to select Category for that product.

I tried Gridview columns ID,name,category.name and it shows correct name of category. But when I want to change the product's category from pre filled datasource resCategories, after selection, there appears an error says, cannot convert string to Category, which is because of it is trying to set category name to product.category field. But how to do it in correct way.

Sincerely,
Fuat AKGÜN
Nikolay
Telerik team
 answered on 05 May 2010
1 answer
68 views
Hi,

I am using the radribbonbar commandtabs in my page. But I didn't find the itemoffset property for the commandtabls just like we have for radtabstrip. My tabs are starting by leaving some blank space initially. In radtabstrip we set the itemoffset property to remove that space. Is there any way to remove that space in commandtabs. 

Thanks,
Ashish K
Martin Vasilev
Telerik team
 answered on 04 May 2010
1 answer
190 views
Below is the code segemnt to add data to RadGridView in unbound mode.
The added rows are not displayed unless I click an empty cell and press enter.
But vertical scroll bar is not appearing. What am I missing the commented line are just not working.

foreach (DataRow dataRow in reportsDataSet.TransDetailsExtendedView.Rows)
{
    GridViewDataRowInfo gridViewDataRowInfo = trDetailsEditRadGridView.Rows.NewRow();

    gridViewDataRowInfo.Cells["trId"].Value = dataRow["trId"].ToString();
    gridViewDataRowInfo.Cells["trStatus"].Value = dataRow["trStatus"].ToString();
    gridViewDataRowInfo.Cells["accCode"].Value = dataRow["accCode"].ToString();
    
    trDetailsEditRadGridView.Rows.Add(gridViewDataRowInfo);
}
//trDetailsEditRadGridView.EndEdit();
//trDetailsEditRadGridView.Update();
}
Julian Benkov
Telerik team
 answered on 04 May 2010
5 answers
997 views
Hi,
Is possible to have multiline grid header when using text in compatibile rendering mode?
Or is some asy way to remove antialiasing from text in grid when is in compatibile mode?

Best Regards
Rafal
Svett
Telerik team
 answered on 04 May 2010
1 answer
188 views
Hi All,

I am using gridview in my desktop application.
I want to show a hierarchical grid in the following manner,

+ Great-GrandFather
                      +GrandFather
                                       +Father
                                                 Children


My dataset has 4 tables like table1,table2,table3 and table4.
I am assigning the dataset to my gridview as


 ds = getGrandparent_to_child_Dataset(); 
//this will return me a dataset with 4 tables 
 
mygridview1.DataSource = ds; 
mygridview1.DataMember = ds.Tables[0].ToString(); 

               Now I am getting a hierarchy upto three level i.e. upto Father

So please help me to find out how to get Children also in Gridview i.e. 4th level of grid


Thanks in Advance
Rahul K.
Julian Benkov
Telerik team
 answered on 04 May 2010
1 answer
221 views
In the Q1 release of the Telerik WinForms the

listbox.SelectedIndices

is gone. Is there a equivalent or do i have to check against the values?
since i'm working with a static list in this case the index is the ID of the item, and
the performance of caching the indices is better than getting the object values of the raditem.
(Multiselection of course)

What do you guys suggest?
Victor
Telerik team
 answered on 04 May 2010
1 answer
247 views
Hi!

I'm having some troubles with my radcombobox. In the loading of my form I add the items dynamically in my radcombobox. But when I do so, the SelectedIndexChanged event is fired. To avoid this I have try to use BeginUpdate() and EnUpdate() methods but it does nothing !
How could I supend the events while I'm loading the items of my combobox ?

Thanks in advance,

[Nean]
Dobry Zranchev
Telerik team
 answered on 03 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
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
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
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?