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

Hi, I've got  a TabControl, with several TabPages, with RadGridViews i nthem.

I pretty much let the GUI do most of the wiring up of the grids & data..

Everything seems to be working except, I'm getting the above message when I

Add a new Row.

As soon as the row is added, I get the icon on the row, and that message.

The row adds just fine, and I can update it, & delete it as well.

 

Without posting the entirety of the projects code, is there a place I might look to first, to find why I've

apparently got two datareaders open?

Attached is what I see after adding that new row, and scrolling to the bottom of the data grid.

Rich

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 21 Apr 2020
4 answers
301 views
Hello,  I apologize if I am missing something obvious here but, should the radButton be resizing to the text it contains?  If I take a standard button, put long text into it and set autosize = true the button will expand to the size of the text.  Can I do this with the radButton? 

Thank you,
Tyler
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 21 Apr 2020
2 answers
69 views

Hello,

I use radrangeselector to quick scroll and zoom-in my radchartview.

At first, I show a part of my chart by using radrangeselector. The export as image works great. Only the part that I zoomed is exported.

But when I print by calling "RadChartView1.printpreview()", the image which I got is shifted.

Please find the photos in attach files.

You can download my demo in this link:

https://www.dropbox.com/s/kjabhazib59wfrd/DemoPrintChart.zip?dl=0

 

Great Regards,

Kun

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 20 Apr 2020
13 answers
289 views
Is it possible to change the height of appointments in the schedulers timeline view?

Either a fixed size or a "fill" option - where the appointment would fill the day/resource cell- would be great. In the case of the fill option, multiple appointments would divide available space between them until such time as the text becomes unreadable, then they scroll.

If either of these options are possible, can someone please point me in the right direction so I can implement it on my control?

Thanks,
Karl
Giovanni
Top achievements
Rank 1
 answered on 17 Apr 2020
3 answers
551 views

Hi

I have 2 treeviews.

When i highlight one item on treeview 1 and drag and drop to tree view 2. While the mouse button is kept pressed, and i hover on treeview 2, i would want the hovered node to be highlighted or style changed.

In the example in the attachment, the node "jacket" is to be highlighted..when the node "car" is dragged over it.

May I know if this can be done?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Apr 2020
5 answers
373 views

Hi Team,
       On the cell end edit mode the enter key event is working fine and it is firing the keydown event from the CellEditorInitialized and gets updated with the given value on the other grid. - This is the actual process.

Is it possible to have the same functionality while pressing the tab key?

 

Video Link
Dev
Top achievements
Rank 1
Veteran
 answered on 17 Apr 2020
1 answer
90 views

I created custom shape

    public class LineShape : ElementShape
    {
        public override GraphicsPath CreatePath(Rectangle bounds)
        {
            var path = new GraphicsPath();
            path.AddLine(bounds.X, bounds.Y + 1.0f, bounds.X + bounds.Width, bounds.Y + bounds.Height);
            return path;
        }
    }

When I add a ScatterSeries, then assigned Shape = LineShape. But these points are not drawn on the chart!!!

However, if I add an event

        private void LegendElement_VisualItemCreating(object sender, LegendItemElementCreatingEventArgs e)
        {
            e.ItemElement = new LegendItemElement(e.LegendItem);
            if (!(e.LegendItem.Element is ScatterSeries seria)) return;
            e.ItemElement.MarkerElement.Shape = seria.Shape;
        }

then LineShape drawn in the legend

 

Nadya | Tech Support Engineer
Telerik team
 answered on 15 Apr 2020
2 answers
96 views

HI,

I have set the data source in my grid view. When I add the next data source, I want the new data source add, not the existing data source to be cleared.

Append with previous. it's possible?

waiting for your favorable response.

Thanks

Shanti 😎
Top achievements
Rank 2
Veteran
 answered on 15 Apr 2020
1 answer
95 views

Hello folks.  I've been dealing with this for several years now and cannot crack this nut so hopefully I can properly explain the issue.

1) Create a new Telerik VB Windows Forms Application

2) Click OK to select Telerik VB Windows Forms Application

3) Select 'Word-Inspired' from the "Create New Project Wizard"

4) Open MainForm in the Designer

5) Add VisualStudio2012LightTheme

6) Select MainForm in the Designer and change the ThemeName property to "VisualStudio2012Light"

7) Click 'Apply current form's theme to controls'

Everything looks good so far!

Run the Ap...there's a quick compile and our simple one form ap launches and looks great!!!

Upper-Left-Normal.png shows the upper left corner.  It's perfect.  I opened this small image in photoshop so I could put a contrasting color around the button group so you can see where it is more clearly.  This is shown in Upper-Left-Normal-Enhanced.png

Same for Upper-Right except the Control Box has the same background as the menu bar so instead I highlighted the Close button.  These are Upper-Right-Normal.png and Upper-Right-Normal-Enhanged.png

Now...this is where the Magic Happens...MAXIMIZE the form.

You can clearly see the top several pixels of the form are getting chopped off - and what makes things even more untidy are if you are running on two monitors when this form is MAX size the "sliver of missing pixels" on the right are actually there...but they are on the 2nd monitor having bled over!  Max should never cross monitors...it should fill just the active monitor minus any space taken up by Window's status bar.

You can see this in the screen shots:

 

I have not tried this with all of the themes but I have tried with several and every one I've tried does this.

Any thoughts, suggestions, help would be VERY helpful!!

 

Kindest regards...stay home!

-Curtis

 

 

 

 

 

 

Nadya | Tech Support Engineer
Telerik team
 answered on 14 Apr 2020
5 answers
948 views

Hi, I have a RadGridView where I want to add a custom filter operator to the alternatives that is already existing.

If a "-" is between two strings (like "03-15"), would like it to look something like this:

           

 

I have all the filter logic, but I can't figure how to add a new filter operator. Is it possible? Then, how to do it?

If it is not possible, then I would want to make a custom filtering row that has only the custom filtering method, how should I then create a filter row that has only the filter functionality that I want?

If I could use the filter row as I wanted without the existing filter logic, then I could use the text in the filter text box to make a custom filter, or try to build a composite filter with many BeginsWith that covers the desired range.

So what I need is a custom filter operator (would be the best in my mind), or a way to customize the filter row to do only the operation I need.

Regards,
Joar

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 Apr 2020
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
DateOnlyPicker
TimeOnlyPicker
+? 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?