Telerik Forums
UI for WPF Forum
8 answers
188 views

I'm using RadCartesianChart3d to show a surface.  I've written some background code to intelligently choose the Maximum and Minimum values for my Z axis to be on nice even numbers which exceed the boundaries of the data.  I then bind the LinearAxis3D for Z to these values.

The chart honors my Minimum value.  Unfortunately, it sometimes ignores my Maximum value and chooses its own.  

To be sure I wasn't wasting your time, before I posted this report, I tried to reproduce the problem using the sample application that Martin Ivanov attached in a reply in this other forum thread from just 2 weeks ago.  It's the attachment "WpfApp17"

https://www.telerik.com/forums/dynamic-colorizer-for-surfaceseries3d

What I did was change the Z axis  in the sample to use some arbitrary Minimum and Maximum values:

<telerik:RadCartesianChart3D.ZAxis>
    <telerik:LinearAxis3D Minimum="-800"  Maximum="900"/>
</telerik:RadCartesianChart3D.ZAxis>

At first, I could not reproduce the problem.  But then I tried updating the sample to use the very latest version of UI for WPF that I have on my machine.  It is R2 2019 SP1 which was literally released today, June 19, 2019.   

Once I changed the assembly references to use the this new version of UI for WPF, the problem did occur.  When I run the sample app with the changes above, my maximum axis value only shows 700, not 900.  

(I realize the data does not go that high but I still want the chart to show the maximum I give to it.)

That's not all.  It gets even stranger.  If you then change the Maximum value from 900 to 1200, suddenly, it *is* honored.


The forum software does not seem to want to let me attach my modified version of the sample to this thread, even though it's a ZIP file and it's only 350k so you'll need to make the changes on your own version to reproduce this.




Martin Ivanov
Telerik team
 answered on 10 Jul 2019
4 answers
568 views

We're using MapPolygon on the map, and we allow the user configure the map points, the stroke, the stroke thickness, the fill color and the fill opacity. Want to be able to control the stroke opacity separately from the file opacity. We've found that if the stroke thickness is greater than 1, then the stroke line overlaps the filled area. This results in the effect shown in the attached image mappolygon.png i.e. we see the fill color, the line color and a mix of the two colors where they overlap.

What we'd like to have is a filled polygon where the stroke does not overlap the filled area. Can you suggest a way to achieve this effect?

 

Vladimir Stoyanov
Telerik team
 answered on 09 Jul 2019
1 answer
137 views

Hey guys,

I have a RESTful server I've created which stores simple objects with a few fields. I have a WPF project that has a RadGridView. It loads these objects just fine from my server. I've also managed to use both the AddingNewDataItem and RowEditEnded listeners to be able to 1) listen for a user creating a new row, 2) create an object on the server with the user's specified fields and 3) store the newly created object returned from the server (with a unique ID) in an ObservableCollection linked to the GridView.

Here's the problem. If I submit the new object to the server via the AddingNewDataItem listener, I can successfully add it to my ObservableCollection. The way the GridView UI works, however, it immediately brings up a selected row with edit enabled upon hitting insert or clicking on the "insert new row" bar. I have not figured out how to update this UI element with the data from the server. I've tried this many, many different ways, but the UI element that opens remains the same. What I have been able to successfully do is replace that row **after** using the RowEditEnded listener. This kinda works but looks odd as certain fields change after the user is done editing and there's no reason I couldn't just show the unique ID retrieved from the server, for example, **before** editing is complete. I've also tried to use AddingNewDataItem listener to listen for the insert request, create a blank object on the server with a new unique ID, and show that object data in the newly created and displayed selected, editable row in the GridView. I have not figured out a way to do this, however. I am able to successfully create a new object on my server and to add that object to my Observable Collection, but I can't seem to find a way to update the data in the newly added row in the UI before the edit is complete. I feel like I've tried so many different ways of trying to find and replace the incorrect objects in the GridView.Items and GridView.Itemsource collections, but to no avail. 

Surely there's an easy way to do this? Thanks in advance! Let me know if you need more info. I could provide code, but I think this is more of a conceptual issue I need to figure out as I've tried to do this like literally 15 different ways. They all sort of work, but don't let me update the UI when I want to do it, so I suspect I'm missing a method or event handler that is more suited to what I'm trying to do. 

Yoan
Telerik team
 answered on 08 Jul 2019
4 answers
349 views
Is there a way to force the combobox to open "UP" instead of the default of dropping the list of items "down"?
Thanks
Mark
Darshan
Top achievements
Rank 1
 answered on 08 Jul 2019
1 answer
138 views

Hi,

I'm working with VirtualGrid and I would like to send the selected row's data as a list to another page, when the user right clicks on a it.

Here is a simple version of my code:

List<xmlList> xmlListFilter = (xmlListMain.Where(x => x.Net == selectedNet).Where(x => x.Type == selectedType)).ToList();
DataProvider xml = new DataProvider(xmlListFilter);

virtualList.DataProvider = xml;

 

private void VirtualList_MouseRightButtonUp(object sender, MouseEventArgs e)
{
            EditPage editPage = new EditPage("The problem is here... How can I get the Values of the selected row");
            editPage.ShowDialog();
            editPage.Close();
}

 

Thanks in advance!

Dimitar Dinev
Telerik team
 answered on 08 Jul 2019
11 answers
1.1K+ views
I defined an editable RadComboBox with IsEditable="True" IsReadOnly="False"

 

 

 

 

    <Grid> 
        <telerik:RadComboBox Height="23" HorizontalAlignment="Left" Margin="99,136,0,0" Name="ComboBox1" VerticalAlignment="Top" Width="120" IsEditable="True" IsReadOnly="False" /> 
        <Button Content="Button" Height="23" HorizontalAlignment="Left" Margin="52,230,0,0" Name="Button1" VerticalAlignment="Top" Width="75" /> 
    </Grid> 

and added some items in code behind:

    Private Sub ComboBox1_Loaded(...  
        ComboBox1.Items.Add("aaa")  
        ComboBox1.Items.Add("bbb")  
        ComboBox1.Items.Add("ccc")  
    End Sub 

When the user enters a new value in the edit box this value disappears when leaving the RadComboBox to click a button.
The standard WPF ComboBox does not loose the new value.

Hot can I allow the user to enter a value that is not in the drop down list?

Valentin
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 08 Jul 2019
6 answers
513 views

Hi to all,

I would create a new custom column.

I need a column to show Item No. and user need to write a code of article or click on button to lookup by articles list, click one and write into cell.

How can I do to do this?

Dinko | Tech Support Engineer
Telerik team
 answered on 05 Jul 2019
6 answers
398 views

I am having some trouble with maximizing a RadRibbonWindow with the taskbar is at the top or on the left of the screen. I have set the maximum height and the maximum width of the window, which raises some other issues such as when the task bar is moved (which would rarely happen so I can overlook that at the moment).

In the attached Maximized.png image, you can see that it is only scaling to the size of the screen area without the taskbar, but the top is right at 0,0 on the screen which puts it under my taskbar.

How can I make it so that it will not be under the task bar?

Thanks

Dimitar Dinev
Telerik team
 answered on 04 Jul 2019
1 answer
312 views

I'm building keyboard navigation for our grids that relies heavily on the ordering of items in the visual tree. The problem I'm having is that the GridViewToggleButton for a GridViewRow with a nested grid comes after the nested grid in the visual tree.

 

I've been searching through Telerik.GridView.xaml of the appropriate theme to try to find the control template where I could change the ordering of controls, but I have been unable to find the control template responsible.

 

Can you tell me which control template I need to edit for a row inside a grouping that has a nested grid inside?

Dinko | Tech Support Engineer
Telerik team
 answered on 04 Jul 2019
1 answer
392 views

hi

i used fluent theme for radwindow

but that is transparent!

Dimitar Dinev
Telerik team
 answered on 03 Jul 2019
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?