Telerik Forums
UI for WinForms Forum
1 answer
293 views
Hi. I want to add a separator (horizontal line) item to my radDropDownList. I've followed the approach at https://www.telerik.com/forums/adding-some-separator-in-the-list which works. However I have 2 items that have empty string as the text and I only want one of them to be shown as a horizontal line. I'm using a data bound list and I'd like to use either the item's value or it's tag to determine whether to show the item as a horizontal line or not. How do I get the item's value or it's tag from the VisualListItemFormatting event?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 26 Aug 2019
1 answer
1.0K+ views

Dear Admins.

I'm Using radGridView, It have Some Summay Columns Added using the Code Below.

1.GridViewSummaryItem sumAmount = new GridViewSummaryItem
2.{
3.       Name = "Amount",
4.       FormatString = "{0:N2}",
5.       Aggregate = GridAggregateFunction.Sum
6.};
7.GridViewSummaryRowItem summaryRowItem = new GridViewSummaryRowItem(new GridViewSummaryItem[] { sumAmount,});
8.radGridView1.MasterTemplate.SummaryRowsBottom.Add(summaryRowItem);

 

How can i Access the Summary Item Values.

Do i have to iterate the GridView rows to Calculate the Sum or is there any easy way to access the Value. 

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 26 Aug 2019
3 answers
192 views

Hi there

I'm trying to show a tooltip on a RadPanel. Normally I'm using the ToolTipTextNeeded event for every Telerik control I used before. But this seem not to work here. I also tried the ToolTipText property on RadPanel.PanelElement. I also set AutoToolTip to true, without any success. What I tried:

1.private void panFiles_ToolTipTextNeeded(object sender, ToolTipTextNeededEventArgs e)
2.{
3.    e.ToolTip.ToolTipTitle = "test1";
4.}

 

1.panFile1.ShowItemToolTips = true;
2.panFile1.PanelElement.AutoToolTip = true;
3.panFile1.PanelElement.ToolTipText = "test2";

 

1.panFile1.PanelElement.PanelFill.AutoToolTip = true;
2.panFile1.PanelElement.PanelFill.ToolTipText = "test";

 

However, the tooltip is still not showing up. I cannot find any information about it in the RadPanel documentation. Is this even possible for this control?

Best Regards,
Roman

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 26 Aug 2019
1 answer
349 views

I am using the RadCommandBar, and for the strip elements I have the overflow visibility set to collapse, as I don't want the user to turn the command items off or hide them.  When I resize, the Controls in the strip elements disappear and only a reduced-sized footprint of the right-most strip elements appear (see attached),  with no ability to select the control contained within.

I think the best solution would be to automatically move these to a new row in the CommandBar as the size of the form is reduced, then move them back to the top row as form is expanded again.  I assume I could do this in the form.resize event, checking the width of command bar, but i'm not sure all the nested properties I would need to manipulate to accomplish this.

Please let me know how to accomplish this, or if there is a setting I am missing that might achieve my described desired result.  Basically, I'm looking for a solution that prevents the user from hiding the buttons or strip elements, but still provide access to the buttons when the form is resized.

Thanks

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 23 Aug 2019
31 answers
692 views
Hi,

May I know whether it is possible to customize the printouts Header and Footer in the Print Preview and actual report?

I'm trying to print directly from the RadGridView as I have nicely formatted the look and feel, and I need to print exactly what I've formatted to display on screen, with my Header and Footer, for example Header could be Company Name and Report Title, while the footer would be company address and contact numbers.

Please kindly advise me accordingly.

Thank you!

Cheers,
Jenson 
Dimitar
Telerik team
 answered on 23 Aug 2019
7 answers
136 views
The data source for my main GridView object is a list of a custom object, which in turn contains child objects, and I want to be able to create a hierarchy grid that allows the user to drill into these child objects. I understand how to create the hierarchy if the entire row is a child record, but not how to accomplish this when a cell is the child record.

Example of my custom object is below.
public class Claim
{
    public Claim();
 
    //
    // Summary:
    //     Provider billing for services
    public Provider BillingProvider { get; set; }
    //
    // Summary:
    //     Claimant
    public Claimant Claimant { get; set; }
    //
    // Summary:
    //     Claim number
    public string ClaimNumber { get; set; }
    //
    // Summary:
    //     Member
    public Member Member { get; set; }
    //
    // Summary:
    //     Policy
    public Policy Policy { get; set; }
    //
    // Summary:
    //     Process date
    public DateTime ProcessDate { get; set; }
    //
    // Summary:
    //     Date claim was received
    public DateTime ReceiveDate { get; set; }
    //
    // Summary:
    //     Provider rendering services
    public Provider RenderingProvider { get; set; }
    //
    // Summary:
    //     List of services provided
    public List<Service> ServiceList { get; set; }
    //
    // Summary:
    //     Address where services were provided
    public Address ServiceLocation { get; set; }
    //
    // Summary:
    //     Worksheet / bill number
    public int Worksheet { get; set; }
}
//
// Summary:
//     Member
public class Member : Person
{
    public Member();
 
    //
    // Summary:
    //     Effective date
    public DateTime EffectiveDate { get; set; }
    //
    // Summary:
    //     Member ID
    public string MemberId { get; set; }
    //
    // Summary:
    //     Member's coverage policy
    public Policy Policy { get; set; }
    //
    // Summary:
    //     Termination date
    public DateTime TerminationDate { get; set; }
}
//
// Summary:
//     Person
public class Person
{
    public Person();
 
    //
    // Summary:
    //     Contact address
    public Address Address { get; set; }
    //
    // Summary:
    //     Date of birth
    public DateTime Dob { get; set; }
    //
    // Summary:
    //     First name
    public string FirstName { get; set; }
    //
    // Summary:
    //     Gender
    public string Gender { get; set; }
    //
    // Summary:
    //     Last name
    public string LastName { get; set; }
    //
    // Summary:
    //     Middle name
    public string MiddleName { get; set; }
    //
    // Summary:
    //     Social security number
    public string Ssn { get; set; }
}

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Aug 2019
1 answer
264 views

The below code works in a Tererik report

                    Me.txt001.Value = drw("int001")
                    Me.txt002.Value = drw("int002")
                    Me.txt003.Value = drw("int003")

where drw is a DataRow

I have around 600 controls on a report and need to be able to loop through the various textboxes.

The following works in a Visual Studio Form but not in a Telerik report

                    For intCounter As Integer = 1 To 3
                        Me.Controls("txt00" & CStr(intCounter)).Text = drw("int00" & CStr(intCounter)).ToString
                    Next

It does not like Me.Controls("txt00" & CStr(intCounter)).Text

Any ideas, otherwise I would have to painstakingly refer to all controls by name.

Thanks.

 

 

 

 

 

Eric R | Senior Technical Support Engineer
Telerik team
 answered on 21 Aug 2019
5 answers
131 views

i need when i add new row automatically the courser mouse go to the first column and first cell

 

Dimitar
Telerik team
 answered on 21 Aug 2019
9 answers
570 views
How do I select pages in a Pageview with the page index integer?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 21 Aug 2019
1 answer
102 views

I have a Winforms project that has been working just fine.

Recently, I decided to add an export to Excel spreadsheet feature. I am using the documentprocessing spreadsheet API. As soon as I perform a "new Workbook" call, my WinForms windows shrink if... and only if... I have the display font scaling set to 125% or more. It behaves fine at 100%.

Why if I instantiate a Workbook does it affect the WinForms views?

Dimitar
Telerik team
 answered on 21 Aug 2019
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
NavigationView
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
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
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?