Telerik Forums
UI for WinForms Forum
1 answer
181 views
Reporting what I think might be a bug.
When using a RadScheduler (2011 Q3) in MonthView, CellClick event of RadScheduler does not fire when a cell (corresponding to a day in monthview) is clicked. It fires only when the smaller day header is clicked.
One can overcome this issue by using RadScheduler MouseClick event like this:
private void radScheduler1_MouseClick(object sender, MouseEventArgs e)
{
   if (radScheduler1.FocusedElement is MonthCellElement)
   {
       //Do Stuff
   }
}
Ivan Todorov
Telerik team
 answered on 21 Mar 2012
1 answer
82 views
Hi im spanish and i apologice beacuse mi enlglish is no so well

The time format in AppointmentEditDialog is in 12 hours and I need see it in 24h
¿who can i chenge it?
Thanks.

Ivan Todorov
Telerik team
 answered on 21 Mar 2012
3 answers
169 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
185 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
252 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
299 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.2K+ 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
180 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
209 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
694 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
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
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
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
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
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?