Telerik Forums
UI for WinForms Forum
1 answer
2.6K+ views

Good afternoon!

 

I have a class object that has several properties. I have a RadGridView that I've created columns in with field names that match the class properties. When I assign the list of class objects as the datasource to the gridview, everything fills in correctly except the list of strings.  Everything shows up great except the combo boxes that have field names that corresponds with List<string> properties in the class object. The list of strings displays as "System.Collections.Generic.List". Each row is a distinct object with a different list of strings. How do i populate the combo boxes in the with the data in the class object's properties that are List<string>?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 26 Oct 2021
1 answer
171 views

I'm trying to understand and add a RadScheduler to my winforms app that has resources available.  I'm having issues trying to get the resources working.

First item, are the below tables being create correctly (Oracle DB backend using entity framework)?

CREATE TABLE APP_APT_SCHED
(
AAS_ID  RAW(16) default SYS_GUID(),
AAS_START  TIMESTAMP(0),
AAS_END   TIMESTAMP(0),
AAS_SUMMARY  NVARCHAR2(1000),
AAS_DESC  NVARCHAR2(1000),
AAS_LOC  NVARCHAR2(1000),
AAS_VISIBLE  NUMBER(1),
AAS_ALL_DAY  NUMBER(1),
AAS_ALLOW_DEL  NUMBER(1),
AAS_ALLOW_EDIT  NUMBER(1),
AAS_BACKGRND  NUMBER(10),
AAS_STATUS  NUMBER(10),
AAS_RECUR  NVARCHAR2(2000),
AAS_RECUR_ID  NVARCHAR2(2000),
AAS_EXCEPT  NVARCHAR2(2000),
AAS_REMINDER  NUMBER(10),
CONSTRAINT PK_APP_APT_SCHED PRIMARY KEY (AAS_ID)
);

CREATE TABLE APP_APT_SCHED_RES
(
ASR_ID  RAW(16) default SYS_GUID(),
ASR_RESOURCE  NVARCHAR2(100),
ASR_VISIBLE  NUMBER(1),
CONSTRAINT PK_APP_APT_SCHED_RES PRIMARY KEY (ASR_ID)
);

CREATE TABLE APP_APT_SCHED_RSCMAP
(
ASM_ID  NUMBER(38),
ASM_AAS_ID  RAW(16),
ASM_ASR_ID  RAW(16),
CONSTRAINT PK_APP_APT_SCHED_RSCMAP PRIMARY KEY (ASM_ID),
CONSTRAINT FK_ASM_AAS FOREIGN KEY (ASM_AAS_ID) REFERENCES APP_APT_SCHED (AAS_ID),
CONSTRAINT FK_ASM_ASR FOREIGN KEY (ASM_ASR_ID) REFERENCES APP_APT_SCHED_RES (ASR_ID)
);
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 26 Oct 2021
1 answer
226 views

Hi ,

 

I add Shape page. In page , can I add shape similar like pic. If I choose the triangle shape and shareholder can change triangle shape? How to write it . Please let me know. If that way can't do, how to do other way. I want to change shape because user want to change any of shapes.

 

 

Thanks,

Moe

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 21 Oct 2021
1 answer
535 views

Is it possible to Hide the Header Title In PageView When In Navigation View Mode?

 

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

Hi ,

I want to know Raddiagram shape and color and note move. My program will show below attach (Raddigarm)and user can change shape and color and note move. I would like to know how to do.

What I want in below attach file(want to change.PNG).

My question is below.

Is it possible for users to do the following once the diagram has been generated in the program:
  1. Move the nodes around
  2. Change the shape of nodes
  3. Add/change the color to the nodes
  4. Add comment nodes

 

 

Please reply to me asap.

 

Thanks,

Moe

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 21 Oct 2021
1 answer
154 views

Is there a way to set the DescriptionImage Image Alignment to TopLeft?

If not, then the TaskCardElement.DescriptionImage.ImageAlignment property is Missing

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 20 Oct 2021
1 answer
914 views

I am using the simple code below to load and image from SQL, then save it back to the Image datatype column.

I am able to load the image, but when I perform ANY edit feature (from the RadImageEditor control) the size of the image (relative size on disk in bytes) increases over 10x the original image.  Eventually it will consume all the memory and crash the application.  This behavior does not happen if I load a fixed image directly from disk.

The two attached images show the size of the image after immediately loading it, then the size of the image after performing a single Rotate 90 degrees.  

I cannot find any example of either loading an image from a DB nor saving to DB. Please review and provide any correction to loading and saving images (blob, image)  from SQL, or please provide a simple example of loading and saving a SQL image.

FYI: objAttach.ImageBlob is defined as Byte()

    Private Sub frmAttachmentViewer_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        Me.lblMessage.Text = ""
        mbImageChanged = False
        Dim ms As MemoryStream = New MemoryStream(objAttach.ImageBlob, 0, objAttach.ImageBlob.Length)
        Dim img As Image = Image.FromStream(ms)
        Me.RadImageEditor1.OpenImage(img)
        lblImgSize.Text = "Size: " & ms.Length & " KB"
    End Sub

    Private Sub RadImageEditor1_CurrentImageChanged(sender As Object, e As ImageChangedEventArgs) Handles RadImageEditor1.CurrentImageChanged
        Dim ms As New MemoryStream()
        Me.RadImageEditor1.SaveImage(ms)
        lblImgSize.Text = "Size: " & ms.Length & " KB"
    End Sub

    Private Sub cmdSave_Click(sender As Object, e As EventArgs) Handles cmdSave.Click
        Dim ms As New MemoryStream()
        Try

            Me.RadImageEditor1.SaveImage(ms)

            Dim iToInt As Integer = Convert.ToInt32(ms.Length)
            Dim imgBinaryData As Byte() = New Byte(iToInt - 1) {}
            imgBinaryData = ms.ToArray()
            objAttach.ImageBlob = imgBinaryData

            objAttach.save()
            Me.lblMessage.Text = "Image Saved"
        Catch ex As Exception
            MessageBox.Show("Error Saving Image: " & vbCrLf & vbCrLf & ex.Message)
        Finally
            ms = Nothing
        End Try
    End Sub

 

Todor
Telerik team
 answered on 20 Oct 2021
2 answers
142 views

Hello,

1. In the attached picture, the localization strings of the items with the red arrow are not in the LocalizationProvider. How can I localize them?
2. How can I turn off the DropDown button shown with the blue arrow in the picture?

Kind regards.

Bekir
Top achievements
Rank 1
Iron
 answered on 19 Oct 2021
1 answer
144 views

It's great being able to set the backcolor for userinfo() values.

However, the ForeColor property is missing or is hidden...
It appears that the "Hidden" Forecolor property is set to White.

Consequently, one cannot set a contrasting forecolor for the given backcolor that is used.

For Example:

Private user1 As UserInfo = New UserInfo()
user1.FirstName = _UserFirstName
user1.LastName = _UserLastName
User1.BackColor = Color.LightYellow

What is needed now for the contrasting ForeColor would be this:
User1.ForeColor = Color.Black

Currently, if the backcolor is set to a very light back color - one cannot read the White ForeColor text

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 19 Oct 2021
1 answer
226 views

Hello  All,

I am trying to enable scroll bar for the radsplitcontainer and I am having hard time. I set autoscroll to true but the scroll bar doesn't show up. I am able to get the scroll bar for the individual split panels. Is there a way I can get the scroll bar for the whole panel instead of the individual splits. basically, I split it into three panels and trying to stretch my controls as the size grows but on higher resolutions I may need scrollbars and that's the reason I want the scrollbars enabled. I have attached my sample application. Can I get some help please.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 19 Oct 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)
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
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
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
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?