Telerik Forums
UI for WinForms Forum
3 answers
185 views
I apologize if I am missing something obvious but, I would like to have an individual cell change its backcolor when the mouse is over it not the entire row.  How can I do this with the theme builder or in the cellformatting event?

Thank you
Deyan
Telerik team
 answered on 25 May 2009
1 answer
193 views
Hello there,

I  am using "Radgridview export to excel" feature,  by ExcelML method....

My alignment of the grid columns is not exported the xml/excel file format.

Which means if a column in grid say "ContactName" is Left aligned then in the excel file it is exported to as right aligned..

I am exporting the grid with Visualsettings as TRUE flag, my grid theme is still exported but alignment is getting altered.

Please send me response at savan@i2m.com.au; sorry for the trouble but there is no option for Email-ID updation in Account Settings, Which I reckon because email-Id is the login ID.

Quick response shall be appreciated.

Many Thanks in advance.........
Savan
savan@i2m.com.au
Martin Vasilev
Telerik team
 answered on 25 May 2009
1 answer
241 views

HI,

I am using VS2008/C#/XP proffesional win application with MS Access DB.

I not sure what version i want to download to work perfectly(i have downloaded Telerik DLLs from Telerik site "RadControls for WinForms Q3 2008 SP2.zip".


I am getting lots of problem in RadScheduler control for winform integration. I have downloaded some samply aplication in Telerik site but its giving error.

 

Can anybody please guide me what is the problem in below code.

Error List:

  • I am not able to get the “Resource” propertly in appointmentMappingInfo
  • If I comment below 5 lines means its working but recurrence part will not work

          //appointmentMappingInfo.Resources = "Appointments_AppointmentsResources";

            //appointmentMappingInfo.ResourceId = "ResourceID";

         //appointmentMappingInfo.RecurrenceRule = "RecurrenceRule";

 

ResourceMappingInfo resourceMappingInfo = new ResourceMappingInfo();

            //resourceMappingInfo.Id = "ID";

         //resourceMappingInfo.Name = "ResourceName";

 

I am getting error like “Object reference not set to an instance of an object”.

 

 

 

 

CODE

 

private void BindToDataSet()

        {

            if (this.schedulerDataSet == null)

            {

                this.schedulerDataSet = new SchedulerDataDataSet();

 

                AppointmentsTableAdapter appointmentsAdapter = new AppointmentsTableAdapter();

                appointmentsAdapter.Fill(this.schedulerDataSet.Appointments);

 

                ResourcesTableAdapter resourcesAdapter = new ResourcesTableAdapter();

                resourcesAdapter.Fill(this.schedulerDataSet.Resources);

 

                AppointmentsResourcesTableAdapter appointmentsResourcesAdapter = new AppointmentsResourcesTableAdapter();

                appointmentsResourcesAdapter.Fill(this.schedulerDataSet.AppointmentsResources);

            }

 

            SchedulerBindingDataSource dataSource = new SchedulerBindingDataSource();

            AppointmentMappingInfo appointmentMappingInfo = new AppointmentMappingInfo();

            appointmentMappingInfo.Start = "Start";

            appointmentMappingInfo.End = "End";

            appointmentMappingInfo.Summary = "Summary";

            appointmentMappingInfo.Description = "Description";

            appointmentMappingInfo.Location = "Location";

            appointmentMappingInfo.BackgroundId = "BackgroundID";

            appointmentMappingInfo.StatusId = "StatusID";

            appointmentMappingInfo.Resource = "Appointments_AppointmentsResources";

            appointmentMappingInfo.ResourceId = "ResourceID";

            appointmentMappingInfo.RecurrenceRule = "RecurrenceRule";

 

            dataSource.EventProvider.Mapping = appointmentMappingInfo;

            dataSource.EventProvider.DataSource = this.schedulerDataSet.Appointments;

 

            ResourceMappingInfo resourceMappingInfo = new ResourceMappingInfo();

            resourceMappingInfo.Id = "ID";

            resourceMappingInfo.Name = "ResourceName";

 

            dataSource.ResourceProvider.Mapping = resourceMappingInfo;

            dataSource.ResourceProvider.DataSource = this.schedulerDataSet.Resources;

 

            this.radSchedulerDemo.DataSource = dataSource;

}

 

 

 

 

Can anybody please provide the code for saving scheduler appointment,resource and recurrence in MS Access DB?

Below code I have used but not able to get or save the recurrence details.

 

CODE

 

private void btnSave_Click(object sender, EventArgs e)

        {

            AppointmentsTableAdapter appointmentsAdapter = new AppointmentsTableAdapter();

            appointmentsAdapter.Update(this.schedulerDataSet.Appointments);

 

            AppointmentsResourcesTableAdapter appointmentsResourcesAdapter = new AppointmentsResourcesTableAdapter();

            appointmentsResourcesAdapter.Update(this.schedulerDataSet.AppointmentsResources);

        }

 

 

 

 

Yesterday I got email from Telerik team and they are telling like I need to download new version of sample application. So Can Anybody please send me the sample working(Appointment,recurrence) application to me? Or Tell me the URL where exactly I want to go for download that samply working application

 

 

Awaiting your reaply….

 

Advance thanks

Mahesh

Jordan
Telerik team
 answered on 21 May 2009
1 answer
257 views
HI,
Need Help :)

I am doing the RADscheduler integration with one of my Win application using VS2008/C#.
Below is my code for Bind the scheduler data.
***************************************************************************************************************************
CODE:

 

private void BindToDataSet()

 

{

 

if (this.schedulerDataSet == null)

 

{

 

this.schedulerDataSet = new SchedulerDataDataSet();

 

 

 

AppointmentsTableAdapter appointmentsAdapter = new AppointmentsTableAdapter();

 

appointmentsAdapter.Fill(

this.schedulerDataSet.Appointments);

 

 

ResourcesTableAdapter resourcesAdapter = new ResourcesTableAdapter();

 

resourcesAdapter.Fill(

this.schedulerDataSet.Resources);

 

 

 

AppointmentsResourcesTableAdapter appointmentsResourcesAdapter = new AppointmentsResourcesTableAdapter();

 

appointmentsResourcesAdapter.Fill(

this.schedulerDataSet.AppointmentsResources);

 

}

 

SchedulerBindingDataSource dataSource = new SchedulerBindingDataSource();

 

 

 

 

 

AppointmentMappingInfo appointmentMappingInfo = new AppointmentMappingInfo();

 

appointmentMappingInfo.Start =

"Start";

 

appointmentMappingInfo.End =

"End";

 

appointmentMappingInfo.Summary =

"Summary";

 

appointmentMappingInfo.Description =

"Description";

 

appointmentMappingInfo.Location =

"Location";

 

appointmentMappingInfo.BackgroundId =

"BackgroundID";

 

appointmentMappingInfo.StatusId =

"StatusID";

 

appointmentMappingInfo.Resources =

"Appointments_AppointmentsResources";

 

appointmentMappingInfo.ResourceId =

"ResourceID";

 

appointmentMappingInfo.RecurrenceRule =

"RecurrenceRule";

 

dataSource.EventProvider.Mapping = appointmentMappingInfo;

dataSource.EventProvider.DataSource =

this.schedulerDataSet.Appointments;

 

 

ResourceMappingInfo resourceMappingInfo = new ResourceMappingInfo();

 

resourceMappingInfo.Id =

"ID";

 

resourceMappingInfo.Name =

"ResourceName";

 

dataSource.ResourceProvider.Mapping = resourceMappingInfo;

dataSource.ResourceProvider.DataSource =

this.schedulerDataSet.Resources;

 

 

this.radSchedulerDemo.DataSource = dataSource;

 

}

**************************************************************************************************************
In this above code, i am not able to get the "Resources" property in "appointmentMappingInfo" (appointmentMappingInfo.? not comming). But i can get all other properties except "Resources" property.

I have declared the all namespace like
**************************************************************************************************************

using

System;

 

using

System.Collections.Generic;

 

using

System.ComponentModel;

 

using

System.Drawing;

 

using

System.Data;

 

using

System.Text;

 

using

System.Windows.Forms;

 

using

Telerik.WinControls.UI;

 

using

Telerik.WinControls;

 

using

Telerik.WinControls.Enumerations;

 

using

RadSchedulerBinding.SchedulerDataDataSetTableAdapters;

 


********************************************************************************************
Can anybody help me on this issue?
Advance Thanks
Mahesh

Jordan
Telerik team
 answered on 21 May 2009
2 answers
221 views
What is the easy way to do this with the scheduler? Anyone have a sample project or any ideas on how to go about this? 

I want an "alert" to go out about 15 minutes before the start of the appointment...

an email to be sent out or even a msgbox pop up. it can even be at the time of the appointment. 

I am sure i am making this problem harder than it has to be. 

TwoLaJit
Top achievements
Rank 2
 answered on 21 May 2009
3 answers
204 views
Hey guys,

I'm trying to polish up the keystroke count in an application. I have a gridview. If the gridview is in focus and the enter key is pressed, I want the row context menu to be opened and the first item in that menu to be highlighted.

Here's my code:

        private void gvwManifestLines_PreviewKeyDown(object sender, PreviewKeyDownEventArgs e) 
        { 
            if (e.KeyCode == Keys.Return) 
            { 
                this.rowContextMenu.Show(this.gvwManifestLines, 15, 15); 
                this.rowContextMenu.Items[0].CanFocus = true
                this.rowContextMenu.Items[0].Focus(); 
            } 
            // remaining code omitted for brevity. 
 

Interestingly, if I just hit enter twice I am actually activating the menu item in question, so my Keystroke count has gone down by one (it cuts out a 'down' Keystroke). However, the item is not being highlighted when it is granted focus, and this is going to confuse my users.

Is there a way of getting the context menu to highlight the item?
Jack
Telerik team
 answered on 21 May 2009
1 answer
259 views
Hello,

I'm trying to format the Child Cells of a Hierarchical GridView via the CellFormatting event.

Here's the code I'm trying to use:

        private void grdRecord_CellFormatting(object sender, CellFormattingEventArgs e) 
        { 
            if (e.CellElement is GridDetailViewCellElement) 
            { 
                if (e.CellElement.ColumnIndex == (int)RecordScorpion.Column.Network) 
                { 
                    if (e.CellElement.Text.ToString().Contains("-")) 
                    { 
                        grdRecord.Rows[e.CellElement.RowIndex].Cells[(int)Record.Column.Value].CellElement.ForeColor = Color.Blue; 
                    } 
                    else if (e.CellElement.Text.ToString() != string.Empty) 
                    { 
                        grdRecord.Rows[e.CellElement.RowIndex].Cells[(int)Record.Column.Value].CellElement.ForeColor = Color.Purple; 
                    } 
                } 
                else if (e.CellElement.ColumnIndex == (int)RecordScorpion.Column.Item) 
                { 
                    e.CellElement.Text = ""
                } 
            } 

However, I'm finding that while the cellelement type sometimes is GridDetailViewCellElement, the columnindex is typically negative. In addition, I'm finding that the rowindex is out of range as well. Any help would be appreciated.

Thanks!
Jeremy


Jack
Telerik team
 answered on 21 May 2009
1 answer
132 views
RadApplicationMenuButtonElement

in the toolstrip, there is a new item called RadApplicationMenuButtonElement1. 
i love the way it looks over the drop down menu buttons...

but there is no info about it in the documentation, 

what i am looking to do is customize the drop down portion which seems to be out of control. attached is a picture of the section i am trying to customize, the black part seems to be way to wide and out of place.

A picture Attached: here

Deyan
Telerik team
 answered on 21 May 2009
1 answer
228 views
I am using Hierarchy grid view
what i need is how can expand or collapse all childtemplates in the Hierarchy grid view 
And also suggest me how to know all the features of Hierarchy grid view (can i display total number of records on top of each childtemplate...)

Jack
Telerik team
 answered on 20 May 2009
1 answer
113 views
Hi,

after upgrading to the newest version of telerik controls I noticed that a couple of labels are not displayed as intended any more.
The text gets cut off though the label is definetely large enough to display the whole content.

i played around but I am not able to get the labels behaviour as it was before.

additionally I create labels dynamically on a form. suddenly the labels get rendered on a completly different location..
i changed the position where they get rendered... but why is this??

 -- suggestions how to fix this are appreciated.

thanks

best regards

tommy
Peter
Telerik team
 answered on 20 May 2009
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
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?