Telerik Forums
UI for WinForms Forum
1 answer
175 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
154 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
165 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
147 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
144 views
Help...
Ivan Todorov
Telerik team
 answered on 02 Jan 2014
3 answers
220 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
247 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
189 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
1 answer
198 views
I am using an older version of the RadControls (2011.3.1115.40). I would like to save the charts to jpeg format. I have a button on the form which invokes the following event: 

        protected void btnSaveChar_OnClick(object sender, EventArgs e)
        {
            RadChart1.Save(Server.MapPath("~/files/chart.jpg"), System.Drawing.Imaging.ImageFormat.Jpeg); 
        }

This definitely saves the chart, but its a blank chart with the label "There is no or empty series". What do I need to do to save the chart as it is displayed on the webform? 

Thanks! 
Ivan Petrov
Telerik team
 answered on 30 Dec 2013
1 answer
126 views
Can you globally set the theme name for all radMessagesBox in a project or do you have to do it for each case when one is to use the messagebox?

Dimitar
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)
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
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
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?