Telerik Forums
UI for WinForms Forum
2 answers
162 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
175 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 ?






Missing User
 answered on 29 Dec 2012
14 answers
486 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
157 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
174 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
198 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
201 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
177 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?
Missing User
 answered on 28 Dec 2012
5 answers
496 views
I am making important chanages to a vs 2010 app.

I used the upgade wizard fo winforms and ajax

now..............
I cannot find Telerik.WinControls.UI.RadComboBoxElement

Please tell me where it is. I've spent 2 days trying to find it and have searched
the web.  I have to have my portion of the project complete by Thursday... Job at stake

Isaac
Stefan
Telerik team
 answered on 28 Dec 2012
2 answers
619 views
Hi,I am using RadGridView to show some data,anyone has any idea about how  to add a column of sequence number like this:
#,col1,col2,col3
1,v1_1,v1_2,v1_3
2,v2_1,v2_2,v2_3
3,v3_1,v3_2,v3_3
...
the # column have no much meaning,just show the sequence number of current row in the grid..
and I want the # column fixed no matter which column is the sort column..
thx.
phil huang
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)
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
Marco
Top achievements
Rank 4
Iron
Iron
Iron
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
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
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
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?