Telerik Forums
UI for WinForms Forum
4 answers
262 views
Hi,
I put a carousel on a form with transparent BackgroundColor,In runTime I see it like with light grey BackgroundColor.
why is this happen?
I want also the Carusel with no border/frame
How can I do that?
Thanks,
chaily pardes
Top achievements
Rank 1
 answered on 06 Sep 2009
3 answers
160 views
Hi
I downloaded the demo to check it out.

After i installed it and went into my Visual Studio.
Most of the controls when i drag onto my winform they give me an error.
When changing the theme i get erros aswell.

something like.

Failed to create component 'RadWaitingBar'.
The Error message as follows:

'Telerik.wincontrols.radPropertyNotFoundException: no such property registered: seperatorColor1

Is there something that i am missing.

I'm jst trying to test the controls out because i would like to purchase the winforms.

Kind Regards.
D.Kruger
Mike
Telerik team
 answered on 04 Sep 2009
2 answers
188 views
Newbie alert! Okay, maybe I am missing something simple here, but when I drop a a control like a radRibbonBar onto a form, dock it to the top, and then drop a RadDock on the form and tell it to fill, it ignores the control at the top and fills the entire area. What magic am I missing? Thanks.

-John
Mike
Top achievements
Rank 1
 answered on 04 Sep 2009
2 answers
507 views
Goal: I need be able to set the font size of a grid's cells at runtime based on user input.
Design: I have a user control with a telerik RadGrid on it.  The grid has a mixture of datacolumns and imagecolumns.  The user control exposes a property called FontSize.
Problem: I can't get Grid_CellFormatting to be hit once the FontSize Property is changed.  

I need some way to force the grid to reformat all the cells when the FontSize Property is set.
I can mouse over the cells which causes Grid_CellFormatting to fire, at which time the cell font is updated with the new font size, but i need this to happen programatically.

My User Control:

  Private Sub Grid_CellFormatting(ByVal sender As Object, _ 
        ByVal e As CellFormattingEventArgs) _ 
        Handles grid.CellFormatting 
        Dim f As New System.Drawing.Font("Arial", My.Settings.Grid_FontSize, _ 
            System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) 
        e.CellElement.Font = f 
    End Sub 


    Public Property FontSize() As Single Implements IReportGridView.FontSize 
        Get 
            Return My.Settings.Grid_FontSize 
        End Get 
        Set(ByVal value As Single) 
            My.Settings.Grid_FontSize = value 
            My.Settings.Save() 
            My.Settings.Reload() 
        End Set 
    End Property 


I've tried adding me.grid.Update, Me.grid.Refresh after the My.settings.reload, but nothing seemed to trigger the CellFormatting event.

Your help is appreciated.

Thanks.
Matt
Top achievements
Rank 1
 answered on 04 Sep 2009
1 answer
246 views
hello

when I try to copy an existing user control from one form to another, I get the following error:
"an error occurred while processing this command. the 'openaccess' section cannot be found in the application's configuration file"

when I try to add a new user control to a new form I get the following error:
Failed to create component 'AddEquipmentUC'. The error message follows:
'Telerik.OpenAcccess.Exceptions.ConfigurationException: The 'openaccess' section cannot be found in the application's configuration file. at Telerik.OpenAccess.Config.XML.ConfigFileReader.GetOpenAccessNode(Boolean fromAppConfig, String configFileName, XmlTextReader & xmlTextReader, Boolean throwException)................etc


I am using TortoiseSVN for source control. Everything works fine except for this. I suspect Tortoise is keeping it from authenticating the user/password specified in the openaccess element in the app.config section.

any ideas why this is occurring and how I can fix this? this is really not good for development schedules and I really hope there is a fix for this OTHER than removing source control.


Zoran
Telerik team
 answered on 04 Sep 2009
7 answers
217 views

Hi

I am using an example you provided in a previous reply to implement drag and drop from a radgridview. When using the mouse down event to pass row information into an array if the row being dragged is being edited the application crashes completely. How do I handle this (test for the row edit state) to prevent the crash?

Regards

Joe

Private Sub RadGridView1_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles SubContractgrd.MouseDown

        Try

                downpoint = e.Location

                rowtodrag = GetRowAtPoint(Me.SubContractgrd, e.Location)

                ContArray(0, 0) = (rowtodrag.Cells(0).Value)

                ContArray(0, 1) = (rowtodrag.Cells(1).Value)

                ContArray(0, 2) = (rowtodrag.Cells(2).Value)

                If Not IsNothing(rowtodrag.Cells("Text").Value) Then

                    ContArray(0, 2) = Replace(StrConv(rowtodrag.Cells("Text").Value, VbStrConv.Uppercase), " ", "")

                Else

                    ContArray(0, 2) = (rowtodrag.Cells(1).Value)

                End If

 

                If Not IsNothing(rowtodrag.Cells("D").Value) Then

                    ContArray(0, 3) = "SD"

                End If

                If Not IsNothing(rowtodrag.Cells("V").Value) Then

                    If Not IsNothing(ContArray(0, 3)) Then

                        ContArray(0, 3) = "SDV"

                    Else

                        ContArray(0, 3) = "SD"

                        End

                    End If

                End If

            End If

        Catch ex As Exception

            If Err.Number = 91 Then

                Err.Clear()

                Exit Sub

            Else

                MsgBox(Err.Description & Err.Number)

            End If

 

        End Try

    End Sub

Jack
Telerik team
 answered on 04 Sep 2009
2 answers
186 views
I have a STATUSSTRIP placed on a form called DESKTOP, which is always ON TOP and present.  This form calls and runs everything in my VB.NET application, and happens to be the STARTUP form.  I call an PROC which is one of my MODULES instead of CLASS.  This PROC happens to run for a long time.  I would like for the PROC to post an update to the STATUSSTRIP located on my DESKTOP form (calling form) using the STATUSSTRIPLABEL.VALUE1 and STATUSSTRIPLABEL.TEXT properties.  How would I accomplish this?

I tried using DESKTOP.STATUSSTRIP.TEXT = "Something..." and it would not work from my SUB.  Basically, my code would look like this on the FORM side.

PRIVATE SUB DESKTOP_ONLOAD() HANDLES FORM_LOAD

    ....
    Call gsDoSomething
    ...
    
    ME.STATUSSTRIPLABEL.TEXT = "Ready..."
    
END SUB

The PROC being called will live in a MODULESOMETHING.VB file in my project and its code will resemble...

PUBLIC SUB gsDoSomething()

    ....
    DESKTOP.STATUSSTRIPLABEL.TEXT = "Doing something..."
    ...

END SUB

Any help or suggestion would be greatly appreciated.
sayyed mahdi khadishi
Top achievements
Rank 2
 answered on 04 Sep 2009
3 answers
190 views
I crated custom radcombobox in EditAppointmentDialog. I don't know how to change color of Scheduler's cell when I select custom radcombobox?

How I change background color which display on appointment schedule? help me please.

Thank you,
Pum+
Boyko Markov
Telerik team
 answered on 04 Sep 2009
1 answer
125 views
Hello
   Help me please!!! I need to add value and change color of AppointmentStatus and AppointmentBackgroundInfo.
   I don't know how to do.
    
           The following method, I need to add value and change color!!!
           protected virtual void FillDefaultBackgrounds(SchedulerBackgroundCollection backgrounds)
           protected virtual void FillDefaultStatuses(SchedulerStatusCollection statuses)

Pum+
Boyko Markov
Telerik team
 answered on 04 Sep 2009
3 answers
184 views
On the calendar with multi-select disabled...

when i click on a date, the selected date is set to the date i selected but when i unselect, rather than go back to today's date, it is set to
1/1/1980.

I have changed this in code so that on click, if the date it 1/1/1980 it sets it to today's date.

on load i even change the focused and selected dates to today but i still see 1/1/1980 register when i unselect a date.

Can someone explain this behavior?
Boyko Markov
Telerik team
 answered on 04 Sep 2009
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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
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
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?