Telerik Forums
UI for WinForms Forum
1 answer
103 views
Hi
i am working asp.net project with c# and i want to print the report or show as PDF to the client. report have Two parameters.
can any body help me in this how to do it.

Thanks
Dimitar
Telerik team
 answered on 08 Jan 2014
3 answers
146 views
Is it possible to set a combobox column to null?  I currently have the following shell of code:

private void RadGV_Records_KeyDown(object sender, KeyEventArgs e)
        {
            if (RadGV_Records.CurrentColumn.GetType().ToString() == "Telerik.WinControls.UI.GridViewComboBoxColumn")
            {
                if (e.KeyCode == Keys.Delete)
                {
                   
                    
                }
            }
        }

Inside the "if (e.KeyCode == Keys.Delete)", I want to set the current combobox value to null or empty, like it is before the user selects anything from the box.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 08 Jan 2014
1 answer
130 views
I will be really glad if I can get some direction on this:
I have a radGridView in a winform in which I have also 4 decimal columns of which 1 (Balance) is calculated with an expression (Balance=Paid-Due+Expenses). All columns are bound to an sql table.
Id-----Date------Due-----Paid-----Expenses-----Balance

How can I generate a new empty row just below the active row if the value of balance is different than 0?
The problems I have are:
-how to get the value contained in "Balance" of the active row
-how to add a row below the active row

Thanks a lot,
Felice
 
George
Telerik team
 answered on 08 Jan 2014
1 answer
127 views
How do I fix up all the references to Telerik in the courseware solution?   When I build the Getting Started project under Buttons, I get the following errors.  When I expand the references branch in the project all the Telerik references have yellow exclamation points.   Do I need to fix up all the references manually?

FYI, I'm a long time C++ developer who is transitioning to c# so I'm not too familiar with visual studio and C#.


Thanks,



1>------ Build started: Project: GettingStarted (Courseware\Calendar\CS\GettingStarted), Configuration: Debug Any CPU ------
1>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Telerik.WinControls, Version=2011.2.11.712, Culture=neutral, PublicKeyToken=5bb2a467cbec794e, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
1>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Telerik.WinControls.Themes.Aqua, Version=2011.2.11.712, Culture=neutral, PublicKeyToken=5bb2a467cbec794e, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
1>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Telerik.WinControls.UI, Version=2011.2.11.712, Culture=neutral, PublicKeyToken=5bb2a467cbec794e, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
1>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "TelerikCommon, Version=2011.2.11.712, Culture=neutral, PublicKeyToken=5bb2a467cbec794e, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
1>C:\Telerik\Courseware\Courseware\Calendar\CS\GettingStarted\GettingStarted\RadForm1.cs(8,7,8,14): error CS0246: The type or namespace name 'Telerik' could not be found (are you missing a using directive or an assembly reference?)
1>C:\Telerik\Courseware\Courseware\Calendar\CS\GettingStarted\GettingStarted\RadForm1.cs(9,7,9,14): error CS0246: The type or namespace name 'Telerik' could not be found (are you missing a using directive or an assembly reference?)
1>C:\Telerik\Courseware\Courseware\Calendar\CS\GettingStarted\GettingStarted\RadForm1.cs(13,37,13,44): error CS0246: The type or namespace name 'RadForm' could not be found (are you missing a using directive or an assembly reference?)
1>C:\Telerik\Courseware\Courseware\Calendar\CS\GettingStarted\GettingStarted\RadForm1.Designer.cs(112,17,112,24): error CS0246: The type or namespace name 'Telerik' could not be found (are you missing a using directive or an assembly reference?)
1>C:\Telerik\Courseware\Courseware\Calendar\CS\GettingStarted\GettingStarted\RadForm1.Designer.cs(113,17,113,24): error CS0246: The type or namespace name 'Telerik' could not be found (are you missing a using directive or an assembly reference?)
1>C:\Telerik\Courseware\Courseware\Calendar\CS\GettingStarted\GettingStarted\RadForm1.Designer.cs(114,17,114,24): error CS0246: The type or namespace name 'Telerik' could not be found (are you missing a using directive or an assembly reference?)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========



Thanks,


Dimitar
Telerik team
 answered on 07 Jan 2014
2 answers
135 views
I have a GridView with around 6k rows in it.  When I click the column header to sort the rows, some columns are fast (a second or two) and some are very slow (45 seconds or so).  it looks like the difference is that the slow ones only have a tiny number of distinct values in them.  For example my "Name" column is mostly unique per row, and it sorts in a couple second, but my "Excluded" column only shows "No" or "Yes" (about 98% "No" and 2% "Yes") and it takes 45 seconds to sort by. 

It looks like the problem is that your sort algorithm does not deal with this problem scenario well due to almost all the items being identical.  My profiler shows that with the Name column most of the time from HybridIndex.PerformQuickSort is in List.BinarySearch and that GridViewRowInfoComparer.Compare only gets called about 100k times.  But with the "Excluded" column most of the time is in GridViewRowInfoComparer.Compare which is called a whopping 17M times.

I don't think this data scenario is uncommon, so I think there should be some way to handle this.  If I could tell this column to use a different sort algorithm that would be fine. 
John
Top achievements
Rank 1
 answered on 03 Jan 2014
3 answers
115 views
I have set use mnemonic property of LiveTile to true and use ampersand(&) for making the letter mnemonic but its not working.
Ivan Todorov
Telerik team
 answered on 02 Jan 2014
1 answer
121 views
Help...
Ivan Todorov
Telerik team
 answered on 02 Jan 2014
3 answers
181 views
Hi
How can I change the image of center circle in clock, which is in LightVisualElement in hierarchy?

What I mean is, if you pay attention to clock, there is little circle in center of clock, which is an image.

Thanks
George
Telerik team
 answered on 02 Jan 2014
9 answers
217 views
Hi, I am trying to do a printview of a grid with 24 columns and they dont fit in the page event if I do it LandScape.
What the printview is doing is just cuting the columns and just showing some of them. (see attach, you will see 11.5 columns)

How can I do to organice the columns in differents pages (like 12 columns in 1 page and other 12 in other page, or how it fit better)

This is my code

 public static void PrintPreview(RadGridView grdView, bool landscape, string header)
        {
            if (!CheckPrintingValidation(grdView)) return;  //this check that the gridView have data

            RadPrintDocument printDoc = new RadPrintDocument();
            printDoc.Landscape = landscape;
            printDoc.RightHeader = header;
            printDoc.HeaderHeight = 100;
            SetPrintStyle(grdView);
            grdView.PrintPreview(printDoc);
        }
Ivan Petrov
Telerik team
 answered on 30 Dec 2013
1 answer
164 views
Hello Support Team,

First, i would thank you for the greatest Tool i ever seen "Telerik Dev Tools ", really it's amazing :)
 am new user with Telerik, and i want to convert all my project default System Controls to RadControls
Is there any tool to automatically covert these controls ?
i tried This Topic but this adding Telerik DLLs fils to my reference, didnt actually transform the controls themselves.

Note*: um using VS2012 and Q3 2013 Telerik 
Thanks in advance
Mina 
Ivan Petrov
Telerik team
 answered on 30 Dec 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?