Telerik Forums
UI for WPF Forum
10 answers
133 views
Hi all

By setting a control in a radwindows radbusy including radribbon the radbusy  overlaps and changes the display

see

http://www.gixsoftware.com/Telerik/RadBusyWithRadWindowsInWindows7.png

Thanks
Tina Stancheva
Telerik team
 answered on 10 Dec 2010
11 answers
333 views
Hello,

I have a visual studio like docking layout.
Right clicking on controls that are placed within a RadPane always triggers a context menu that belongs to the RadPane itself ("Movable, Dockable, ..., Hide") and is not the built in context menu of that particular control where the event was triggered from (eg TextBox, FlowDocument, TreeView).

Is there a way to stop this behaviour? I guess it must be something really trivial, I am sorry for that.

Thanks for your kind help.

Marc

Edit: Handling MouseRightButtonUp in the toplevel parent container under RadPane and setting Handled to true will suppress the radpane context menu, but the context menues for any other control like treeviews, textboxes and flowdocuments as well.
Konstantina
Telerik team
 answered on 10 Dec 2010
1 answer
117 views
I want to group my resouces like this

Depart 1   | peter
               | john
               | Ana

Depart 2   | carls
               | Tom
               | zé

Depart 3   | xpto
               | mussulini
               | Jorge

Its possible? how
Rosi
Telerik team
 answered on 10 Dec 2010
4 answers
130 views
Hi,

I am trying to work with RadGridView such that: when data in one (and only) editable column changes, it can change the data in other two or three columns in the same row.

Rebinding the grid in RowEditEnded event works fine, it changes the data in other columns. But the problem is that when I rebind the grid, I lose the keyboard navigation (it means that the column in the next row could not go in edit mode and also, RowEditEnded fires when I just press Tab or Tab+ Shift to move to editable column in the previous row).

My application need to provide most of the keyboard comfort to its users. So, I am looking for a way to rebind the edited row only (when the data in editable column changes and RowEditEnded fires).

Thanks,
Arpit Khandelwal
Yavor Georgiev
Telerik team
 answered on 10 Dec 2010
1 answer
124 views
Hi!

I have created a popup and from within the popup I have created a telerik docking window.  This works fine.  But the problem is if the user closes the telerik window by clicking on the "X" then the popup never comes back again.  This is because the popup's dependency property IsOpen is left set to true.  I want to set up a trigger event so I can hijack the telerik close event so I can first set this property IsOpen to false and then let Telerik to continue the close.  Can you please let me know how I can do this?  If possible I want to do this from within the XAML file.  I figured we can use an event trigger for PreviewClose event and when this event fires then I can set the popup.IsOpen to false.  Any help is greatly appreciated.

Thanks,

Sonia


Code for Popup:

<

 

 

Popup x:Name="FiberPopUp" Placement="Mouse" IsEnabled="True" IsOpen="False" Focusable="True">

 

 

 

 

<Popup.RenderTransform>

 

 

 

 

<ScaleTransform>

 

 

 

 

<ScaleTransform.ScaleX>

 

 

 

 

<MultiBinding Converter="{x:Static coreconverters:ArithmeticConverter.Default}" ConverterParameter="/">

 

 

 

 

<Binding Source="1.0" Mode="OneWay" />

 

 

 

 

<Binding Path="ContentScale" Source="{x:Static local:ViewModel.Instance}" Mode="OneWay"/>

 

 

 

 

</MultiBinding>

 

 

 

 

</ScaleTransform.ScaleX>

 

 

 

 

<ScaleTransform.ScaleY>

 

 

 

 

<MultiBinding Converter="{x:Static coreconverters:ArithmeticConverter.Default}" ConverterParameter="/">

 

 

 

 

<Binding Source="1.0" Mode="OneWay" />

 

 

 

 

<Binding Path="ContentScale" Source="{x:Static local:ViewModel.Instance}" Mode="OneWay"/>

 

 

 

 

</MultiBinding>

 

 

 

 

</ScaleTransform.ScaleY>

 

 

 

 

</ScaleTransform>

 

 

 

 

</Popup.RenderTransform>

 

 

 

 

<StackPanel Width="auto" Height="auto" >

 

 

 

 

<telerikDocking:RadPaneGroup>

 

 

 

 

<telerikDocking:RadPane Header="Fiber PopUp." ContextMenuTemplate="{x:Null}">

 

 

 

 

<TextBlock Text="This is a test " />

 

 

 

 

</telerikDocking:RadPane>

 

 

 

 

</telerikDocking:RadPaneGroup>

 

 

 

 

</StackPanel>

 

 

 

 

</Popup>


 

George
Telerik team
 answered on 10 Dec 2010
2 answers
126 views
private void StateLayerReaderReadCompleted(object sender, ReadShapesCompletedEventArgs eventArgs)
{
    ScaleTransform scaleMap;
    scaleMap = new ScaleTransform(1.2, 1.2);
 
    TranslateTransform moveMap;
    moveMap = new TranslateTransform(-50, 0);
 
    TransformGroup tg = new TransformGroup();
    tg.Children.Add(moveMap);
    tg.Children.Add(scaleMap);
 
    RadMap1.RenderTransform = tg;
 
    if (eventArgs.Error != null)
        return;
 
    this.LabelLayer.Items.Clear();
 
    HotSpot hotSpot = new HotSpot();
    hotSpot.X = 0.5;
    hotSpot.Y = 0.5;
 
    foreach (MapShape shape in this.InformationLayer.Items)
    {
        string name = (string)shape.ExtendedData.GetValue("STATE_NAME");
        TextBlock lblState = new TextBlock();
        lblState.Text = name;
        lblState.FontFamily = new FontFamily("Trebuchet MS");
        lblState.FontSize = 9.5;
        lblState.FontWeight = FontWeight.FromOpenTypeWeight(750);
 
        if (
            (
                name.ToLower().Equals("alaska")
            )
           )
        {
            //ScaleTransform scaleAK;
            //scaleAK = new ScaleTransform(-4.5, -4.5);
 
            //TranslateTransform moveAK;
            //moveAK = new TranslateTransform(100, -200);
 
            //TransformGroup tgAK = new TransformGroup();
            //tgAK.Children.Add(moveAK);
            //tgAK.Children.Add(scaleAK);
 
            //shape.RenderTransform = scaleAK;
            TranslateTransform moveTransform;
            moveTransform = new TranslateTransform(800, 200);
            shape.RenderTransform = moveTransform;
        }

This worked for me on a map of Pennsylvania (I could move a county shape this way), but not for Alaska and Hawaii on the us ESRI shapefile. I want to scale down Alaska and move is closer so that its visible and scale up Hawaii and move it as well. The transforms seem to not work at all in this case, but, like I said, worked fine on a PA county.
Andrey
Telerik team
 answered on 10 Dec 2010
9 answers
618 views
HI guys,

I have menu items inside a dropdown button. Menus are bound to commands. The issue is once the item is clicked, commands are fired; but the menus are not closed afterwards. I have to click somewhere on the screen to make it close. How can I close the menu in the commands fired events?

thanks,
Hristo
Telerik team
 answered on 10 Dec 2010
1 answer
85 views
hi,
       thanks for read our thread.
we are using ur rad controls in our latest project.

here we are creating controls inside a rad grid view.
using cell template/cell edit template.

now i want to set visible false first row?
(first display all rows.after i click  button the first row will  unvisible).

pls give me some example code?
Vlad
Telerik team
 answered on 10 Dec 2010
4 answers
145 views
Hi!
I use VirtualQueryableCollectionView in my project (WPF Q3 2010).
public MainWindow()
{
    InitializeComponent();
    
    OraContext ctx = new OraContext();
    var view = new VirtualQueryableCollectionView(ctx.OSTs) { LoadSize = 5 };
    DataContext = view;
}

I get error, when grouping in GridView

Unable to cast object of type 'Telerik.OpenAccess.Query.GroupKeyAccessT' к типу 'OpenAccessRuntime.DataObjects.query.Node'

Thank you.
Denis
Top achievements
Rank 1
 answered on 10 Dec 2010
4 answers
295 views
I have a WPF radGridView populated with data.  There are 3 columns - "ID", "FirstName", and "LastName" for simplicity.

"ID" is a hidden column.  It's only there so I can reference the ID in code behind.

So the Grid is displaying FirstName and LastName.  In the interface, I have code-behind on the CellEditEnded event which is supposed to update the database with any changes in data.  The code is archaic still and I know there are validity checks that have to be added, etc., but my problem is I cannot obtain the ID of the row I'm in.  In this event, e is of type Telerik.Windows.Controls.GridViewCellEditEndedEventArgs

I'm trying to use e.Cell.ParentRow.Cells(0).ToString but that returns the value of the first visible cell.  Moreover, I don't want to use Cells(0), I'd rather use the cell name in case the index value changes - but this only takes index values.  I've tried going back to the grid itself using something like uxGRIDNAME.row(0)... etc but there doesn't seem to be any property that I can use to go to a specific row.  Moreover, "e" doesn't contain a rowindex anyway.  I'm baffled that this is so difficult to figure out - it seems like something that should be so simple.  I'm sure someone has some kind of insight here.  Thank you in advance!
Vlad
Telerik team
 answered on 09 Dec 2010
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
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
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
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?