Telerik Forums
UI for WinForms Forum
3 answers
99 views
Hi,

I've been following this example which works great
:
http://www.telerik.com/help/winforms/scheduler-appointments-and-dialogs-drag-and-drop-from-another-control.html

What I would like to do is once I have dropped the appointment I would like the apppointment dialog box to open so I can enter some addtional data. I am also using the CustomEditAppointmentDialog example so I can use my own fields etc.

Is this possible, I've tried firing the _AppointmentEditDialogShowing event but can't pas the appointment details ie times etc it comes up with a invalid cast.

Thanks

Ivan Todorov
Telerik team
 answered on 21 Mar 2012
2 answers
151 views
Hi,

I have problem with GridViewMultiComboBoxColumn. I using the latest version of telerik package (Q1 2012).

I have two objects:

public class Offer
{
  public Guid Id { get; set; }
  public string OfferNo { get; set; }
  public Customer Client { get; set; }
  public DateTime? DateFrom { get; set; }
  public DateTime? DateTo { get; set; }
}
 
public class Customer
{
  public Guid CustomerId { get; set; }
  public string Name { get; set; }
  public string ShortName { get; set; }
}

When i set GridViewMultiComboBoxColumn for "Client" property then I have exception: Converter can't convert.
If I dont't set ValuMember property, then is no exception, byt choose object in grid don't work.

public Form1()
{
    InitializeComponent();
 
    custs = GridData.GetCustomers(5);
 
    IList offers = GridData.GetGridData(custs);
 
    radGridView1.DataSource = offers;
    SetColumns();
}
 
private void SetColumns()
{
    radGridView1.Columns.Clear();
 
    GridViewDataColumn column = null;
    for (int i = 0; i < 4; i++)
    {
        switch (i)
        {
            case 0:
                column = new GridViewTextBoxColumn("Offer no");
                break;
            case 2:
                column = new GridViewDateTimeColumn("Date from");
                break;
            case 3:
                column = new GridViewDateTimeColumn("Date to");
                break;
            case 1:
                column = new GridViewMultiComboBoxColumn("Client");
                ((GridViewMultiComboBoxColumn)column).FieldName = "Client";                       
                ((GridViewMultiComboBoxColumn)column).DataSource = custs;
                ((GridViewMultiComboBoxColumn)column).DisplayMember = "Name";
                ((GridViewMultiComboBoxColumn)column).ValueMember = "CustomerId";
                break;
        }
 
        column.Width = 150;
        column.IsVisible = true;
        column.ReadOnly = false;
 
        radGridView1.Columns.Add(column);
    }
}

What am I doing wrong?

Best Regards
flisak
Top achievements
Rank 1
 answered on 20 Mar 2012
2 answers
202 views
How can I retrieve the Location (ideally the middle of the control) of radListView1.SelectedItem?
Froggie
Top achievements
Rank 1
 answered on 20 Mar 2012
3 answers
212 views
Hi,

What's the best approach to deselect all rows of a WinForms RadGridView when the user clicks on the empty (i.e. blank) area of the containing grid?

(Using RadGridView Q1 2012)

Thanks in advance,
Paolo

Richard Slade
Top achievements
Rank 2
 answered on 20 Mar 2012
8 answers
1.0K+ views

Hello,

  When I create a new report in new project. It shows error as below:
"Could not find type 'Telerik.Reporting.Report'. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU. "

 
Instances of this error (1)
1.
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)
at System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.Deserialize(IDesignerSerializationManager manager, CodeTypeDeclaration declaration)
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32 fReload)

Regards,
Saravanan.R

 

Kaustubh
Top achievements
Rank 1
 answered on 20 Mar 2012
2 answers
131 views
Hello,

is it possible to show lines that mark parent-child relation in self-reference grid, like it's done in RadTreeView by setting ShowLines property to true?
Yury Babaev
Top achievements
Rank 1
 answered on 20 Mar 2012
1 answer
168 views
Can any body help me how to print the telerik rad form.

it seems the code of http://msdn.microsoft.com/en-us/library/6he9hz8c.aspx 
is not working it will print blank data. 

but i try, not in telerik win form and it works.. 

it seems it have a reasons of compatibility of codes or something... 

just give i idea guys... 

TIA>.....


powerUp!!

Stefan
Telerik team
 answered on 19 Mar 2012
8 answers
570 views
Hi guys,

How can i databind the selecteditem/selectedvalue in a Dropdownlist allready bounded to a table.

Table looks like this:
int ID, string Name;

The DropDownlist is binded to a table of values (datasource). The DisplayMember is set to a "Name" and ValueMember is set to "ID".
I want to use the ValueMember in another kind of binding.

So i tried to do like this. radDropDownList1.DataBindings.Add("Value", MyDataObject, "TextID");

But then i found out that the raddropDownList1 do not contain the Property Value, but it have a SelectedValue.

So i tried to do like this. radDropDownList1.DataBindings.Add("SelectedValue", MyDataObject, "TextID");
But this did not work as expected.

So how do i do it?

Regards
Svein Thomas
Julian Benkov
Telerik team
 answered on 19 Mar 2012
3 answers
164 views
Hi All,

I'm using Q3 2001 SP1 and I'm trying to allow users to have an AutoComplete functionality with a GridViewComboBoxColumn element in my GridView.

Documentation here:

http://www.telerik.com/help/winforms/gridview-columns-gridviewmulticomboboxcolumn.html
(at the bottom of the page)

And the API reference here:

http://www.telerik.com/help/winforms/p_telerik_wincontrols_ui_gridviewcomboboxcolumn_filteringmode.html
 
Suggests that the FilterMode/FilteringMode property should be able filter based on the DisplayMember or ValueMember of the GridViewMultiComboBoxColumn or GridViewComboBoxColumn Control. The only properties I can find with "filter" in the name are:

AllowFiltering
AllowFilteringProperty
Filter
FilterDescriptor
PropertyFilter

Has the property been removed? or do I have to access this property another way?

Thanks
Mako
Top achievements
Rank 1
 answered on 19 Mar 2012
1 answer
119 views
Hello Telerik Support Guys,

When I try to paste some text copied from an excel sheet into a RadRichTextBox, it throws exception(exception details are attached with). The same exception comes when you try to copy from text box. However, if you try second time, every thing works fine.
Please help me out.

--Pawan
Svett
Telerik team
 answered on 19 Mar 2012
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
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
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
NavigationView
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
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
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?