Telerik Forums
UI for WinForms Forum
1 answer
58 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
164 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
886 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
159 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
176 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
172 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
5 answers
298 views

Hi,
I used your class MyAppointment in your trial example...

This is my code : 

String query;

query ="Select * from myTable";
SqlConnection myConn = new SqlConnection("Data Source=MyServer;Initial Catalog=MyCatalog;User Id=MyUser;Password=MyPassword;");
SqlCommand cmd = new SqlCommand(query, myConn);
SqlDataReader read; 
myConn.Open();
read = cmd.ExecuteReader();
while (read.Read())
{
MyAppointment app = new MyAppointment(Convert.ToDateTime(read.GetString(2)), Convert.ToDateTime(read.GetString(3)), Convert.ToString(read.GetInt32(0)), read.GetString(1), read.GetString(4));

appointments.Add(app);
}
myConn.Close();

SchedulerBindingDataSource dataSource = new SchedulerBindingDataSource(); 
AppointmentMappingInfo appointmentMappingInfo = new AppointmentMappingInfo();
appointmentMappingInfo.Start =
"Start";
appointmentMappingInfo.End =
"End";
appointmentMappingInfo.Summary =
"Subject";
appointmentMappingInfo.Description =
"Description";
appointmentMappingInfo.Location =
"Location";
appointmentMappingInfo.UniqueId =
"Id";
SchedulerMapping idMapping = appointmentMappingInfo.FindByDataSourceProperty("Id");  
dataSource.EventProvider.Mapping = appointmentMappingInfo;
dataSource.EventProvider.DataSource = appointments;

this
.ux_cedule.DataSource = dataSource;

But I have error message : impossible to convert object 'System.GUID to 'Telerik.WinControls.UI.EventId' type. Do you understand wath is my problem?

Thanks a lot again
Sophie

Dobry Zranchev
Telerik team
 answered on 03 May 2010
1 answer
125 views
Hi,

I have 7 columns and one gridviewcheckboxcolumn. I am grouping with "GroupByExpression". I have three expressions in order to group by the three columns. So, I have the "AutoExpandGroups" and "ShowGroupedColumns" properties to FALSE.

The problem is the following:

When I set one cell checkbox to true, and I am going to set other cell checkbox to true, I don't know why, but all the groups are expanded.

Please, help me!

Thanks,
Fernan
Top achievements
Rank 1
 answered on 03 May 2010
10 answers
1.5K+ views
Just trying out the Telerik Controls for Win Forms to see if it is worth switching to them from the ones I currently use. However I had a couple of problems when trying to manually enter dates on the DateTimePicker.  I found that if the date has been set to the null date by hitting the DEL key, then you tab off the control, then you cannot type in a date when you tab back to that control.  Also the DateTimePicker does not recognise partially entered years i.e. 1/1/08 for 01/01/2008.

Is there a way to get around these issues?
Thanks
Ruth Goldberg
Top achievements
Rank 1
 answered on 03 May 2010
1 answer
161 views

Hi,

    how to i set a different AppointmentTitleFormat for Alldayevent appointment and a normal appointment. I want to Show just AllDayEvent with "Subject" and normal appointment with "StartTime-EndTime Subject".

Boyko Markov
Telerik team
 answered on 30 Apr 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?