Telerik Forums
UI for WinForms Forum
1 answer
143 views
I'm wondering whether it is possible to apply a filter expression created by a Winforms RadFilterDialog on a specific object programmatically.
It should return a bool value depending the filter is true or false for the object and execute different code depending on the result.  The idea is to implement a simple rule engine.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 28 Oct 2021
1 answer
140 views

Hi

I have found this Show Summary Values for Collapsed Groups in RadGridView | Telerik UI for WinForms

It kinda work but when you have a lot of rows and 3 levels of sub-groups, you just don't see much because of all the space that is lost.

Do you have anything that would display the aggregate values directly on the grouped row?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 27 Oct 2021
2 answers
73 views

I have set the resource colour using "Me.RadScheduler1.Resources(0).Color = Color.Green" but after I click SAVE, the resource colour disappears and becomes grey. Can you let me know what I need to do?

Thanks and best regards,

Dominic

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 27 Oct 2021
1 answer
2.3K+ 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
125 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
152 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
378 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
113 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
111 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
753 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
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
ComboBox and ListBox (obsolete as of Q2 2010)
ListView
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
Menu
PropertyGrid
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
Rotator
TrackBar
MessageBox
SpinEditor
StatusStrip
CheckedListBox
Wizard
ShapedForm
SyntaxEditor
TextBoxControl
LayoutControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
DataEntry
GroupBox
ScrollablePanel
WaitingBar
ScrollBar
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
ColorBox
Callout
FilterView
PictureBox
VirtualKeyboard
NavigationView
Accessibility
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
Flyout
ToolbarForm
NotifyIcon
Rating
TimeSpanPicker
BarcodeView
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
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?