Telerik Forums
UI for WinForms Forum
1 answer
104 views

Hi,

Is there an example or can someone assist me in creating a simple bar chart while consuming data using entity framework?
The query could be as simple as:

SELECT        COUNT(Invoice_Header_Id) AS [Total Invoices], Created_By<br>
FROM            Accounts_Payable.Invoice_Header<br>
WHERE        (Date_Created >= CONVERT(DATETIME, '2012-12-19 00:00:00', 102))<br>
GROUP BY Created_By


I don't have an entity created yet.  I would most likely use a store procedure and return a complex type.

Any help is appreciated.
George
Telerik team
 answered on 30 Sep 2013
4 answers
144 views
I am unable to get grouping to work, I can successfully create all the appointments I want but there is no indication of groups. I've copied source code from some Telerik documentation to populate the Resource property of the Scheduler, but no groupings ever show up.

Besides populating Resources and Properties I setup the Scheduler with
tlAvailability.ActiveViewType = Telerik.WinControls.UI.SchedulerViewType.Timeline
tlAvailability.GroupType = Telerik.WinControls.UI.GroupType.Resource

Also in some documentation (at least the Timeline Grouping in the Demo Application) calls are made to 
Me.radScheduler1.Appointments.BeginUpdate()
Me.radScheduler1.Appointments.EndUpdate()

What does this do? Are they necessary (I am populating appointments with out this call)? Why aren't they called before editing the Resources?

I'm using Telerik 2013.2.612.20, VB, .NET 2.0
Anton
Telerik team
 answered on 30 Sep 2013
2 answers
123 views
Hi
I want Change Node ForeColor In Node Formatting By Check Node Value. But I Get Value For Root Node Only.
Let Me Know How Can I Get All Node Value In Node Formatting PLS

TNXXXXXXXXXXXXX

private void RadTreeView1NodeFormatting(object sender, TreeNodeFormattingEventArgs e)
        {
            try
            {
                if (BSGroupRoleAccess.Cast<RoleAccess>().Any(x=>x.ID.ToString()==e.Node.Value.ToString()))
                {
                    ........
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 Sep 2013
1 answer
126 views
Could you please show me how to add the line number for each rows and also have the horizontal ruler in richtextbox for the text file.
I have latest Telerik Winform and write code in c#.
Thanks.
Tom
Dimitar
Telerik team
 answered on 30 Sep 2013
1 answer
117 views
We currently use the Breeze theme set through ThemeResolutionService.ApplicationThemeName, but it seems the theme does not fully support the new RadPivotGrid control.

Dimensions "groups" added to the pivot table does not have either filter buttons or context menus. Which they have in both the default theme and the Windows8 theme.

Setting the theme on the PivotGrid control does not help either, as the ThemeResolutionService has priority over this.

Is this a bug in the Breeze theme, or is the PivotGrid not supported? If not which themes support which controls, as we would prefer a theme which support all controls.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 Sep 2013
5 answers
279 views
Hi,

i have a problem concerning a standard radtextbox (Q2 2010 => 2010.2.10.914).
Sometimes, but not everytime, when i start entering a value into one of my radtextboxes the following error will be thrown.
There are no events associated with these radtextboxes and i have absolutely no idea why this error appears.
Any help appreciated.

System.NullReferenceException was not handled
  Message="Object Reference not set to an instance of an object"
  Source="Telerik.WinControls"
  StackTrace:
       at Telerik.WinControls.Keyboard.ChordMessageFilter.FindChordPattern(IList`1 list)
       at Telerik.WinControls.Keyboard.ChordMessageFilter.FindChordPattern()
       at Telerik.WinControls.Keyboard.ChordMessageFilter.ProccessChord()
       at Telerik.WinControls.Keyboard.ChordMessageFilter.System.Windows.Forms.IMessageFilter.PreFilterMessage(Message& msg)
       at System.Windows.Forms.Application.ThreadContext.ProcessFilters(MSG& msg, Boolean& modified)
       at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
       at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FPreTranslateMessage(MSG& msg)
       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.Run(ApplicationContext context)
       at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
       at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
       at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
       at MediaCenter.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:Zeile 81.
       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
       at System.Runtime.Hosting.ManifestRunner.Run(Boolean checkAptModel)
       at System.Runtime.Hosting.ManifestRunner.ExecuteAsAssembly()
       at System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext, String[] activationCustomData)
       at System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext)
       at System.Activator.CreateInstance(ActivationContext activationContext)
       at 
Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssemblyDebugInZone()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  InnerException: 

George
Telerik team
 answered on 27 Sep 2013
1 answer
555 views
I'm storing a DateTime in XML to tell an applicaton when it will shut down.  I intend to use the value of "01/01/0001 00:00:00" to mean that we have no shut down scheduled.  On the form that will get and set this value I am using two controls, a DateTimePicker and a TimePicker, to work with the value.  (I'm open to other options.)

You already taught me how to handle the DateTimePicker so I'm initializing that control like this:
dtpShutDown.NullDate = Convert.ToDateTime("01/01/0001");
dtpShutDown.NullText = "";
dtpShutDown.Value = Convert.ToDateTime("01/01/0001");

I'm not quite there with the equivalent for the time picker.  This gives me the "00:00 AM" text:
tpLogin.NullText = "";
tpLogin.Value = Convert.ToDateTime("01/01/0001 00:00:00");

I would like some way to just blank out the whole value.

I'm working with options while I wait for your response.  A single DateTimePicker with a custom format to include the time may work out better than I had initially thought.  (Regardless, I would like to know how to set the null time for the TimePicker.)

Thank you,
Gary


Dess | Tech Support Engineer, Principal
Telerik team
 answered on 27 Sep 2013
1 answer
256 views
Hello,

How can I export the data shown in RadGridView.
GridView.CellFormatting event is used to format and transformed the data (e.g., convert hours to seconds, change the format of the date, etc)

After exporting the data to excel using ExportToExcelIML I get the RAW data and NOT the transformed data shown in the gridview

Regards,
Bilal
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 27 Sep 2013
1 answer
126 views
I'd like to have my documents tab strip always show the same document in the first tab, but let the other tabbed documents be rearranged. I've got the close button functionality working (the first document cannot be closed, the others can), but I can't seem to get the drag/drop constraints working. I have made it so the first document cannot be dragged (by setting TabStripItem.AllowDrag), but it's still possible to drag a different document in front of the one I want locked as the first document. 

In approaching this problem, I haven't been able to find an event I could cancel to achieve the effect. Another approach might be to rearrange the tabs if I notice they've changed (e.g. when the ActiveWindowChanged event fires), but its not obvious how to rearrange the tabs programmatically. 

Any pointers?
George
Telerik team
 answered on 26 Sep 2013
5 answers
95 views
Hi, i want to show the print preview of one Grid Hierarchy, i found some examples but only show the first level.
I also used the suggested component named RadGridReportingLite but i could not took suitable result.
How can i show the print preview with HierarchyChildTemplate expanded?... 

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