Telerik Forums
UI for WPF Forum
0 answers
120 views
hi,

i'm working with a RdaGridiView and i want so write my changes in a sqlite Database. I use your Example from the wpf help files "Using in-memory Data" ..

public class RadGridViewSampleData
{
    public RadGridViewSampleData()
    {
        Cars = new ObservableCollection<Car>();
    }
    public ObservableCollection<Car> Cars
    {
        get;
        set;
    }
}

Now i like to write back the changes to the database. How can i get the column details after "RowEditEnded"?

Thanks
Regards
ww
ITA
Top achievements
Rank 1
 asked on 20 Feb 2012
3 answers
172 views
Hi

I've tried using inspiration from a Silverlight question, but to no avail (http://www.telerik.com/community/forums/silverlight/richtextbox/get-hyperlink-from-selected-text.aspx)

What I'm trying to do is find any bookmarks within the current selection, or that surround the current caret position.  I'd settle for just the last, but I'm struggling!

e.g, say I had a bookmark where the "[" and "]" are in the following sentence:

"The quick brown fox [jumped over] the lazy [dog]"

If the caret was anywhere within jumped over (either no text selected, or anywhere up to all of "jumped over" selected), I'd be able to get the bookmark name of the surrounding bookmark.

If I selected the whole sentence, I'd hope to get both bookmarks returned - but the first part is more important!

Thanks for any help.

Charlie
Ivailo Karamanolev
Telerik team
 answered on 20 Feb 2012
4 answers
212 views

Good evening,

Is it possible to assign tags to the "Span" element in a RadDocument (or something similar)?

For example :

<telerik:Span Tag="myValue" Text="Hello world" />

I'm trying to construct a document where the data is drawn from a database. Some how I need to assign a value to each span so that I can identify which database row ID it belongs to. Quite difficult to explain.

Thank you for your time,

Rob




Ivailo Karamanolev
Telerik team
 answered on 20 Feb 2012
1 answer
57 views
When designing the RibbonView using both Design and XAML views, the visual for the RibbonView switches tabs automatically and does not stay in synch with the XAML that you are working on.    For example, if you have 5 RibbonTabs and are adding RibbonButtons to the second tab using XAML, the design view will switch to the last tab.    So you then have to click the second tab in the Design view so that you can see the new button you just added via XAML.

Is there a fix or workaround for this?
Tina Stancheva
Telerik team
 answered on 20 Feb 2012
1 answer
140 views
I upgraded my system from 2011 Q3 to 2012 Q1 (downloaded WPF MSI and installed, used the upgrade Wizard to upgrade my project).

The chartview control does not show in either the toolbox (forced refresh during upgrade and again using the menu option 'Launch Toolbox configurator') nor within the VS2010 Choose Toolbox Items dialog, list of WPF controls.

The chart control is listed, and it would seem everything else - just not RadChartView.
It was in the toolbox in the 2011 Q3 package.

Can you advise what DLL it is in so I can check for that on my system?
Giuseppe
Telerik team
 answered on 20 Feb 2012
0 answers
253 views
hi,

i'm using RadgridView to display my Databaseitems from a sqlite Database. I bind the Data like that:

DataTable dt = new DataTable();
dt = ITA_CRM.Klassen.sqlite.Verbindungen_GET();
MyradGrid.ItemsSource = dt.DefaultView;

Now i want to insert Items, Delete itmes and change items. I would like to use the "telerikGrid:RadGridViewCommands.CancelRowEdit" or
telerikGrid:RadGridViewCommands.CommitEdit"

<telerik:RadButton Width="Auto" Content="save changes" Margin="0,0,5,0" Command="telerikGrid:RadGridViewCommands.CommitEdit" CommandTarget="{Binding ElementName=VerbindungenRADGRID}" Padding="5"/>
 
 <telerik:RadButton Width="Auto" Content="undo changes" Command="telerikGrid:RadGridViewCommands.CancelRowEdit" CommandTarget="{Binding ElementName=VerbindungenRADGRID}"  Padding="5"/>

Is it the right why? Is it better to bind the Data on an other way? how? Can't find a good example to do that.

Thanks a lot
regards
ww
ITA
Top achievements
Rank 1
 asked on 20 Feb 2012
1 answer
220 views

Hi,

I need to build a vertical bar chart that needs to be refreshed every second.

See attached file to check what I got until now.


The RadChart is bound to a Queue<int> that is refreshed every second.

 

The problem is that the BarSeries doesn’t get updated.

I manage to force it to be updated by calling RadChar.Rebind() method.

But it redraw the BarSeries instead of updating it.

 

Could you help me on this?
Thanks,
Hugo.

 

Petar Marchev
Telerik team
 answered on 20 Feb 2012
7 answers
2.1K+ views
I'd like to display dates in the grid in a short format, and then have a hover over tooltip that displays the full date.  For example, a cell might have 13/09, and the tooltip will display 13/09/2009.

Is this possible in the RadGridView?

Thanks,
Dan
Maya
Telerik team
 answered on 20 Feb 2012
2 answers
69 views
Hi,

I have an existing system using RadMap which works well. It displays a shapefile with MapPinPoints overlayed on top. One problem we had was that we couldn't zoom beyond zoomlevel 20; however I have downloaded the latest trial version which has a fix for this (setting MaxZoomLevel).

The problem is that when I now zoom beyond zoomlevel 20, all the MapPinPoints disappear but the shapefile is still rendered in the background. The shapefile is loaded using a DynamicLayer and the MapPinPoints are loaded onto an InformationLayer.

Is this a known issue or am I missing something?

Thanks,
Stuart
Stuart
Top achievements
Rank 1
 answered on 20 Feb 2012
0 answers
118 views
Hi,
I have tried the example, ICollectionView Synchronisation whereby u have a grid and a dataform.

Now i want to save a new record, and edit a new record and want my changes to be saved to sql server database and also reflect the changes in the datagrid that is if i add a new record i should see it.
Can anyone please guide me on how to do this ?

Also i wanted to know, if i have a class , say employee, and all the content on my dataform , labels and textboxes have been generated based on the properties of this class, then how do i do if i want to get the valye from a particular textbox at runtime ? since it is generated, will there be an id or name associated with it ?

I hope to get some help very soon.
Regards,
Shaimaa
Shaimaa
Top achievements
Rank 1
 asked on 19 Feb 2012
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?