Telerik Forums
UI for WinForms Forum
2 answers
139 views
Hi,

I'd like to ask how far is SP1 release for current version (Q2 2008) of telerik controls. Thx in advance.

Best regards,
Daniel
Daniel
Top achievements
Rank 1
 answered on 14 Aug 2008
5 answers
305 views
Hi telerik,

In RadPanelBar, I added dynamically RadLabelElement. Try to set the cursor but i couldnt do it.

How do i set the cursor?

Thanks
Boyko Markov
Telerik team
 answered on 14 Aug 2008
1 answer
157 views
Hello,

I have two questions.

  1. Can any one please tell me how do I do the content-based automatic sizing in radgridview?
  2. How can I set the datasource of grid as generic list or list?
            I tried to set a list as datasource which is returned from webservice and it doesnt show me any results. If I change the datasource to dataset then It shows me the results.

Example:

rad_grid_Interaction_View.DataSource = SelectMyFollowups(request);

Code for SelectMyFollowups:

Public Function SelectMyFollowups(ByVal request As SelectMyFollowupsRequest) As InteractionViewSimpleResponse
Try
Return peer.SelectMyFollowups(request)
Catch ex As Exception
log.Error(ex)
Throw ex
End Try
End Function
the return set InteractionViewSimpleResponse is a list called InteractionViewSimpleResponse. If I do this I dont get any results shown in grid.

If I change the return set of the method to dataset as shown below, then I am able to see results.

Public Function SelectMyFollowups(ByVal request As SelectMyFollowupsRequest) As dataset
Try
Return peer.SelectMyFollowups(request)
Catch ex As Exception
log.Error(ex)
Throw ex
End Try
End Function

Your help is very much appreciated.

Jack
Telerik team
 answered on 14 Aug 2008
2 answers
120 views

hi, Telerik

I write the code below:

bool AddControlItem()
{
  RadListBoxItem itemRepair = new RadListBoxItem();
  itemRepair.MouseDown += new MouseEventHandler(itemRepair_MouseDown);
  lstControlItemList.Items.Add(itemRepair);
}

void itemRepair_MouseDown(object sender, MouseEventArgs e)
{
   RadListBoxItem lstItem = sender as RadListBoxItem;
   if (lstItem == null) { return; }

   lstControlItemList.DoDragDrop(lstItem, DragDropEffects.Copy | DragDropEffects.Move);
}

And target-object DragDrop method :

        void Gridview1_DragDrop(object sender, DragEventArgs e)
        {
            RadListBoxItem lstItem = e.Data.GetData(typeof(RadListBoxItem)) as RadListBoxItem;
            if (lstItem == null) { return; }

            GridViewRowInfo rowInfo = Gridview1.Rows.AddNew();
            rowInfo.Cells["RepairNO"].Value = lstItem.Value.ToString();

     lstControlItemList.Items.Remove(lstItem);
        }

Then throw exception:

System.InvalidOperationException not process
  Message="Argument not found in the list box items collection"
  Source="Telerik.WinControls.UI"
  StackTrace:
       Telerik.WinControls.UI.RadListBoxElement.selectedItems_CollectionChanged(Object sender, RadListBoxItemCollectionChangedEventArgs e)
       Telerik.WinControls.UI.RadListBoxItemCollection.OnCollectionChanged(RadListBoxItemCollectionChangedEventArgs e)
       Telerik.WinControls.UI.RadListBoxItemCollection.OnInsertComplete(Int32 index, Object value)
       System.Collections.CollectionBase.System.Collections.IList.Add(Object value)
       Telerik.WinControls.UI.RadListBoxElement.SetSelectedIndex(RadItem item)
       Telerik.WinControls.UI.RadListBoxElement.listBoxItem_MouseDown(Object sender, MouseEventArgs e)
       System.Windows.Forms.MouseEventHandler.Invoke(Object sender, MouseEventArgs e)
       Telerik.WinControls.RadElement.OnMouseDown(MouseEventArgs e)
       Telerik.WinControls.RadItem.OnMouseDown(MouseEventArgs e)
       Telerik.WinControls.RadElement.OnCLREventsRise(RoutedEventArgs args)
       Telerik.WinControls.RadElement.OnBubbleEvent(RadElement sender, RoutedEventArgs args)
       Telerik.WinControls.RadItem.OnBubbleEvent(RadElement sender, RoutedEventArgs args)
       Telerik.WinControls.RadElement.RaiseBubbleEvent(RadElement sender, RoutedEventArgs args)
       Telerik.WinControls.RadItem.RaiseBubbleEvent(RadElement sender, RoutedEventArgs args)
       Telerik.WinControls.RadElement.RaiseRoutedEvent(RadElement sender, RoutedEventArgs args)
       Telerik.WinControls.RadElement.DoMouseDown(MouseEventArgs e)
       Telerik.WinControls.ComponentInputBehavior.OnMouseDown(MouseEventArgs e)
       Telerik.WinControls.RadControl.OnMouseDown(MouseEventArgs e)
       System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
       System.Windows.Forms.Control.WndProc(Message& m)
       System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       Telerik.WinControls.RadControl.WndProc(Message& m)
       System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

I can not handled the exception. How can swallow that?

using Q1 2008 version.

KEN

Ken
Top achievements
Rank 1
 answered on 14 Aug 2008
1 answer
222 views
Hello,

weird enought... I found that RadDateTimePicker's Value property is of DateTime type where the corresponding ASP.NET AJAX is the nullable DateTime?

I use DataTime? property in all of my classes and I use DataBindings

RadDateTimePeaker rdp;
rdp.DataBindings.Add("Value", myObj, "MyNullableDataTimeFields");

this obviously fails

if (myObj.MyNullableDateTimeProperty== null) 
   rdp.SetToNullValue(); 
else 
   rdp.Value = myObj.MyNullableDateTimeProperty.Value; 
 

is quite hugly IMHO.

Any advice?

Thank you
Lorenzo

PS I use RadControls for Winforms Q2 2008
Boyko Markov
Telerik team
 answered on 14 Aug 2008
5 answers
377 views
Hi Telerik,

Is it possible to set nulltext like in combo box for RadMultiColumnComboBox?


Thanks
Dimitar Kapitanov
Telerik team
 answered on 14 Aug 2008
1 answer
330 views
We have been evaluating telerik rad controls for winform for our new Project.
I have been searching on this forum for paging functionality in GridView for WinForm, but really disappointed to know that it is not currently available in GridView Control. I would really appreciate if Telerik releases a GridView control for winform with paging functinality, if grouping, filtering and other features are hard to implement, I would suggest that make two controls, one gridview with advance features one basic with paging feature or make it a feature whatever but really it is required when data is in bulk say more than 20,000 records.
Martin Vasilev
Telerik team
 answered on 13 Aug 2008
1 answer
137 views
Hi Telerik.

My dataset look like this.

I have a main table (Passengers), which holds details of passengers connected to a group. in this table i have a GroupCabinsId which points to another table (GroupCabins) holding Available cabins for the specific group. In table GroupCabins i have an id called CabinId which points to another table (Cabins) where detials of the cabins is listed.

Below is listed the tables in the dataset.

Passengers            GroupCabins            Cabins
Id                            Id                               Id
Name                      CabinId                      Code    
Gender             
GroupCabinsId

i need to make a grid where i show the Name, Gender from passengers and Code from Cabins

This was no problem for me in version 5.0.3.0 of Telerik grid. where i manually added a GridviewTextBoxColumn and sat the DataField Property to GroupCabins.Cabins.Code

But as i have upgraded to version 6.1.0.0 this way no longer works. can anyone tell me what to do to make this work.?
Julian Benkov
Telerik team
 answered on 13 Aug 2008
1 answer
248 views
I am using Q2 2008. I have set EnableAlternatingRowColor to True.

I have two questions

    1. Where do you set the color for the alternate row.

    2. If you click on the column header to sort by that column, the alternate row color goes haywire, suddenly consecutive rows are colored. What is the fix?

Regards ... DP

Martin Vasilev
Telerik team
 answered on 12 Aug 2008
1 answer
308 views

Are FilterExpressions available for winform gridviews?... or is this a feature only for web applications?

In what class can I find the FilterExpression object?

Thanks,
Ryan

Martin Vasilev
Telerik team
 answered on 12 Aug 2008
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?