Telerik Forums
UI for WinForms Forum
4 answers
105 views
i have three dropdownlist,the start 2nd and 3rd is disable
when i change the 1st,then the 2nd is enable and list data from 1st selected value
the same to 3rd.
how can i do this,i use sql server.
thanks
Plamen
Telerik team
 answered on 02 Jan 2013
1 answer
71 views
I have a RadTextBoxElement control within a RadRibbonBarGroup within a RadRibbonBar.

The problem is that when I click on the TextBoxElement and drag to select some text, if the mouse is move outside of the TextBoxElement and over an adjacent RadButtonElement, the ButtonElement click event fires when the mouse button is released.

Is there any wat to prevent this?  The problem is that the user will casually drag across to select a bunch of text but won't necessarily be careful not to move the mouse out of the TextBoxElement control.
Peter
Telerik team
 answered on 02 Jan 2013
2 answers
129 views
This is somewhat complicated for me to explain (q3 2012) .Pardon me if it my error
I had added radScheduler and Navigator.Binded it.then bined with a database SchedulerData.mdb
done every step as per latest help file.Then i had created a button and write the update script provided in the help.
Added new appointments it saves fine.
 Now in the DayView/week view/Month view i tried to resized an appointment using mouse(time is in the positive direction that is this time to future time)It resized and shown perfectly.But after hilting the update button it will regain it's previous state.the problem is not present in time line view also if i manually in put schedule time there will be no error.Did i forget some thing or is it an error ?
Peter
Telerik team
 answered on 02 Jan 2013
2 answers
123 views
I am using sql server database.
1. It is a self referencing database created as per Binding to Self Referencing Data in help document
2.Table definition is given below.
CREATE TABLE [dbo].[Node] (
[ID] INT IDENTITY (1, 1) NOT NULL,
[ParentID] INT NULL,
[Name] TEXT NULL,
[Note] TEXT NULL,
PRIMARY KEY CLUSTERED ([ID] ASC)
);

3.code binded as folws
this.radTreeView1.DisplayMember = "Name";
this.radTreeView1.ParentMember = "ParentID";
this.radTreeView1.ChildMember = "ID";
this.radTreeView1.ValueMember = "ID";
radTreeView2.TreeViewElement.EditMode =TreeNodeEditMode.Text;

4.Error occurs in these case.Run project and select first root node rename it ,object reference not set to an instance of object error
5.if i rename any other node and rename first root node error will not occur.Did i done any thing wrong ?






Anoop
Top achievements
Rank 1
 answered on 29 Dec 2012
14 answers
371 views
Self Reference Hierarchy only seems to work on MasterTemplate.  I would like to have the following hierarchy:
Group
> Category
   > Category
      > Product
Where category can have any number of levels.  If I make MasterTemplate the categories and then AddSelfReference, it works fine, but if I have groups at the MasterTemplate level and then have a CategoryTemplate and AddSelfReference I only get one level of categories.

GroupCategory relation is Group.id = Category.groupId

I have tried this:
this.radGridView1.Relations.AddSelfReference(this.CategoryTemplate, "id", "parentId");
and
this.radGridView1.Relations.AddSelfReference(this.radGridView1.Templates[0], "id", "parentId");
and these both show only one level of categories.

With categories at the root (MasterTemplate) this works:
this.radGridView1.Relations.AddSelfReference(this.radGridView1.MasterTemplate, "id", "parentId");
I get several levels of categories.
Boryana
Telerik team
 answered on 28 Dec 2012
3 answers
123 views
Hi:

I'm trying to use the ListControl. I have two on my form and I use the DragDropManager to join them. However, it seems that I am unable to get any of the events associated with drag and drop to fire. I've created them using the properties list and everything in code is correct. Yet if I put a break point in the dragdrop event, it never gets there. (allow dragdrop is set to true).

Anyone know what gives ?

Thanks,
Ken
Jack
Telerik team
 answered on 28 Dec 2012
2 answers
143 views
I have a custom Appointment dialog because the one I use is very different from the default. I'm interrupting the default dialog by using e.cancel in RadScheduler1_AppointmentEditDialogShowing, and then displaying my custom form. This works great for new appointments but I need it to populate existing appointments when they are selected in the calendar. How can I retrieve the SQL ID of the appointment being selected? I need to pass this value to my custom form.


Boryana
Telerik team
 answered on 28 Dec 2012
4 answers
161 views
Hello,

I would like to use the functionality of the RadTextBox and SpellChecker, but I also need to use my framework's databinding interface. So I created a subclass of the RadTextBox control and implemented the interface for binding.

public partial class SFRadTextBox : RadTextBox, IBusinessBindable

After calling spellChecker1.Check(sfRadTextBox1) I get the following error:

NotSupportedException
  No spell check for GKGInc.i2Catalog.Controls.SFRadTextBox is not supported.
   You should implement IControlSpellChecker interface.
 
Source     : MicroFour StrataFrame Business
 
Stack Trace:
   at Telerik.WinControls.UI.RadSpellChecker.Check(Control editControl)

Why isn't it picking up on the fact that the base class has the IControlSpellChecker interface implemented arleady?
Can someone please tell me what I'm doing wrong here and what I should be doing to get this working.

Thank You,
Govinda
Stefan
Telerik team
 answered on 28 Dec 2012
7 answers
160 views
Hello

In a Gridview, is there a way to use the same kind of tool than ".IsOdd", but applied to a particular cell's data? In short, I want the row color to change everytime the value in a particular column changes. Said columns happens to be my "ORDER BY" column.

private void radGridUsagers_CellFormatting(object sender, Telerik.WinControls.UI.CellFormattingEventArgs e)
{
    e.CellElement.DrawFill = true;
    e.CellElement.GradientStyle = GradientStyles.Solid;
    if (e.CellElement.ColumnInfo.ReadOnly)
    {
        if (e.CellElement.RowElement.IsOdd)
            e.CellElement.BackColor = clsColor.ReadOnlyOdd();
        else
            e.CellElement.BackColor = clsColor.ReadOnlyEven();
     }
     else
     {
         if (e.CellElement.RowElement.IsOdd)
             e.CellElement.BackColor = clsColor.WritableOdd();
         else
             e.CellElement.BackColor = clsColor.WritableEven();
     }
}
Stefan
Telerik team
 answered on 28 Dec 2012
4 answers
140 views
You had provided the Programatically mapping in scheduler help.But i want to create scdulerdatdataset, apointmentsBindingsource,apointmenttableadpet etc using code not but design form
Is it possible.My application need to create a database then save the scheduler data to the newly created database and save .Each time i want the user to determine database name& location.If some part is done in design it is not possible.Any way?
Anoop
Top achievements
Rank 1
 answered on 28 Dec 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
CheckedDropDownList
ProgressBar
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
NavigationView
VirtualKeyboard
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?