Telerik Forums
UI for WinForms Forum
2 answers
456 views

Good morning,

 

I would like to ask three questions concerning your radWebCam control.

1. We're using it within an application running on a Windows 10 tablet and I would like to ask if it's possible to move the control panel to the left or right side to have it vertical? As our tablet is pretty heavy (it's a Dell Latitude 7212 for rough environments), the usability of our app would improve a lot if our workers could keep their tablet in both hands while taking a photo.

2. Regarding the use on a tablet, I wanted to enlarge the control panel of the camera as well as the buttons on it. I noticed a kind of strange behaviour when I change the Control Panel Height via the smart tag. As soon as I modify this value to something else than 30, the camera doesn't launch anymore and VS 2019 says, that the application is in break mode due tu a System.InvalidOperationException that was thrown within External Code. Is that maybe related to the video format or to other parameters that I set when launching the camera? I attached you my demo project, you can download it here: https://easyupload.io/la69am

3. We would like to add a button to swap the camera (front and back). I just dragged a radButton with this functionality onto the control panel of the webcam and anchored it to the bottom. It works fine but the only problem which is left is that I would like to disable or hide this button when the user took a picture and has the choice of saving or discarding it. The event "SnapshotTaken" is fired only after clicking on the disc to save the snapshot. But how can I "catch" this state of the photo preview before saving it?

 

Thank you in advance for your help and have a nice day!

 

Jana
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 10 Nov 2021
1 answer
218 views

Hi,

I need to Hide or Remove 'New Recurring Appointment' option from RadScheduler. Can you show me an example of how to do this in VB?

Thanks and best regards,

Dominic

Dinko | Tech Support Engineer
Telerik team
 answered on 08 Nov 2021
1 answer
159 views

RadMemnuItems have a .showArrow propery, which shows a little triangle to the right of the item, to indiate there are sub-items.

Does anyone know how to make the arrow appear at the bottom of the item? There 's Direction property, but that changes where the wrrow points, which is useful, but does not change its position.

Dinko | Tech Support Engineer
Telerik team
 answered on 06 Nov 2021
1 answer
178 views

Is it possible to send mail report from RadGridView Telerik WinForms C#. I have button to print when the button is clicked the report should export to pdf also.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 05 Nov 2021
1 answer
1.1K+ views

Hi,

I'd like to customize the location of a MessageBox. Ideally, I would just set a parent control and the MessageBox would center itself to the parent.

I tried this ((0,0) to make it obvious) but it doesn't work:  


  'Dim pt As Point = New Point(Me.Parent.Location.X + Me.Location.X, Me.Parent.Location.Y + Me.Location.Y)
  'Telerik.WinControls.RadMessageBox.Instance.Location = New Point((pt.X + Me.Width / 2) - (Telerik.WinControls.RadMessageBox.Instance.Width / 2), (pt.Y + Me.Height / 2))
  Telerik.WinControls.RadMessageBox.Instance.Location = New Point(0, 0)
  Dim ds As DialogResult = Telerik.WinControls.RadMessageBox.Show(Me, "Are you sure?", "Clear form",
                                                                        MessageBoxButtons.YesNo, RadMessageIcon.Question,
                                                                        MessageBoxDefaultButton.Button1)

I've also found this bit of code (modified it according to my needs) from an older answer to someone else's similar question:

Private Sub Instance_LocationChanged(sender As Object, e As EventArgs)
        RemoveHandler RadMessageBox.Instance.LocationChanged, AddressOf Instance_LocationChanged

        Dim box As RadMessageBoxForm = sender
        Dim pt As Point = New Point(Me.Parent.Location.X + Me.Location.X, Me.Parent.Location.Y + Me.Location.Y)
        box.Location = New Point((pt.X + Me.Width / 2) - (box.Width / 2), (pt.Y + Me.Height / 2))

        AddHandler RadMessageBox.Instance.LocationChanged, AddressOf Instance_LocationChanged
    End Sub

But the problem here is that the MessageBox is then static and can't be moved.

Suggestions?

Using version 2021.1.326.40.

Jure

Dinko | Tech Support Engineer
Telerik team
 answered on 05 Nov 2021
1 answer
199 views

Hello,

I am using the RadSpreadProcessing library to create Excel reports: https://docs.telerik.com/devtools/document-processing/libraries/radspreadprocessing/overview

I'm using the DataValidation (i.e. ListDataValidationRule) to create dropdowns with a set of values: https://docs.telerik.com/devtools/document-processing/libraries/radspreadprocessing/features/data-validation

Here's the issue I'm seeing:

I go to try to create a dropdown with the ListDataValidationRule object, but when my string length is >255 characters for the Argument1 property and I export out the report, I receive an error when trying to launch the exported file:

Sample code:

CellIndex dataValidationRuleCellIndex = new CellIndex(0, 0); ListDataValidationRuleContext context = new ListDataValidationRuleContext(worksheet, dataValidationRuleCellIndex); context.ErrorStyle = ErrorStyle.Stop; context.ErrorAlertTitle = "Wrong value"; context.ErrorAlertContent = "The entered value is not valid"; context.InCellDropdown = true;

context.IgnoreBlank= false;

// Insert string length is > 255 characters context.Argument1 = <INSERT STRING OF LENGTH > 255 CHARACTERS>; ListDataValidationRule rule = new ListDataValidationRule(context); worksheet.Cells[dataValidationRuleCellIndex].SetDataValidationRule(rule); 

 

Dimitar
Telerik team
 answered on 04 Nov 2021
1 answer
147 views

Hi, How do I go about setting my own image for the help button shown in the title bar at run-time of a RadForm ? I can get the '?' button up but I want to change this form something else.

Thanks Toby

Dinko | Tech Support Engineer
Telerik team
 answered on 03 Nov 2021
1 answer
159 views

Hi,

I am using the Resource dropdownlist for my resouces (room/booth/oven selection). How do I remove "ANY" from Resource dropdownlist in the Dialog box? I want to allow the user to be able to select only one resource. Please refer to my attachment.

Best regards,

Dominic

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 03 Nov 2021
1 answer
168 views

How can I put one Image on the right side of RibbonBar?

Dinko | Tech Support Engineer
Telerik team
 answered on 03 Nov 2021
1 answer
156 views

Hi guys,

I would like to get the 4 coordinates for the displayed map on RadMap

Top Right (x, y) , Top Left  (x, y) , Bottom Left (x, y) , Bottom Right  (x, y) 

those values should change different when a user zoom in/out, or move the map with mouse.

is there a way to do that?

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Nov 2021
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
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
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
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?