Telerik Forums
UI for WPF Forum
0 answers
87 views
Hello,
 I have a grid view where i have displayed my results. I have a double click event by which i try to find the clicked item. But the clickedItem returns null at times. The same code gives porper clicked items most of the times, but once in a while it returns null for the clicked item. Many of my colleauges are facing similar difficulty with Grid View.

private

 

 

void RadGridViewMouseDoubleClick(object sender, MouseButtonEventArgs e)

 

{

 

 

if (radGridView.CurrentItem == null) return;
//
// some code
//

 

}

here the  ( radGridView.CurrentItem ) returns null at times, even though the current item details could be seen while debugging.

Chandan
Top achievements
Rank 1
 asked on 23 Nov 2011
0 answers
88 views
can anyone plz help me to disable the match case button present in the rad data filter for dtring data types.
Chandan
Top achievements
Rank 1
 asked on 23 Nov 2011
2 answers
675 views
In this blog post the author describes populating a datagrid in a SilverLight application dynamically at runtime. I'm wondering how the same might be accomplished in a WPF application using RadGridView. Porting her solution shouldn't be too difficult I'm just not sure as to the XAML, in particular the item templates. Can some one offer some insight?  Thanks.

http://msmvps.com/blogs/deborahk/archive/2011/01/23/populating-a-datagrid-with-dynamic-columns-in-a-silverlight-application-using-mvvm.aspx
Vlad
Telerik team
 answered on 23 Nov 2011
1 answer
180 views
I would love to have an easy way to display the thumbnail preview of a file. The Windows Shell does it, but the pInvoke code required to make this work is excessive.

Something like this:
http://stackoverflow.com/questions/1439719/c-sharp-get-thumbnail-from-file-via-windows-api

Perhaps a "RadFileThumbnail" control?

The Windows API Code Pack for Windows 7 has something like this, but you lock yourself into Windows 7 by using it.
http://archive.msdn.microsoft.com/WindowsAPICodePack

-Mike.
Tina Stancheva
Telerik team
 answered on 22 Nov 2011
3 answers
121 views
Hi,

I've been reading the Q3 2011 Public Roadmap (http://www.telerik.com/products/wpf/whats-new/roadmap.aspx) and it mentions a new control "Timeline Beta". I'm wondering if Telerik can provide more details about this control (maybe an idea of what it will look like and function?) and when this control might be able to be tested.

I'm working on a project that is looking to visualize a sequence of events over time graphically and it sounds like this may be the ideal control for this purpose, however I would like to check whether this control provides what I require and if it would work within our development timelime.

Kind regards,
Dave.
Giuseppe
Telerik team
 answered on 22 Nov 2011
1 answer
108 views
Hey,

The XAML format provider (Telerik.Windows.Documents.FormatProviders.Xaml) requires System.Web for HttpUtility.HtmlEncode.  This basically means we cannot use it because our companies SOE only has the .net Client Profile installed.  WPF apps really shouldn't need System.Web.  Is there a technical reason that you cannot use an alternative such as SecurityElement.Escape?

Thanks,

Brock
Boby
Telerik team
 answered on 22 Nov 2011
1 answer
126 views
Hello,
It is recommended that you include a Drawing control to your WPF control collection.
Drawing control to draw different shapes and diagrams like those on MS Visio.
It would be great that you have it.

Thanks.

Hristo
Telerik team
 answered on 22 Nov 2011
1 answer
203 views
Hi, 

I currently am using a RadWindow as a ModalDialog in a WPF application. The content in the window expands as the user clicks buttons and unlocks more menus. I need the window to adjust automatically to the expanding size of the content.
Here are my window settings from the xaml file:

MaxHeight="800"  MaxWidth="730"  SizeToContent="True"  telerik:CanMove="True" telerik:ResizeMode="CanResizeWithGrip" ModalBackground="Transparent" CanClose="False" 
        Background="{x:Null}" Foreground="{x:Null}" WindowStartupLocation="Manual" Style="{DynamicResource LoginWindowStyle}" BorderBackground="{x:Null}" BorderBrush="{x:Null}" MouseLeftButtonDown="MoveLoginBox" HeaderTemplate="{DynamicResource HeaderTemplate}">

Is there something I am doing wrong or is there a bug somewhere?
Also, I'm not sure if this is related, I am not able to re-size the window at all. 


Thanks
Don 

Konstantina
Telerik team
 answered on 22 Nov 2011
0 answers
227 views

Hello,

I've developed a RadGridView as follow :

 <telerik:RadGridView Grid.Row="1" ItemsSource="{Binding SecuritiesNoteResult}" AutoGenerateColumns="False">
            <telerik:RadGridView.Columns>
             <!-- some other grid-->
                <telerik:GridViewDataColumn UniqueName="FileOpen" Header="Visualizza" x:name="test">
                    <telerik:GridViewDataColumn.CellTemplate>
                        <DataTemplate>
                            <Button HorizontalContentAlignment="Center" Click="Button_Click" >
                                <Button.Content>
                                    <StackPanel Orientation="Horizontal">
                                        <Image Source="/DOME;component/Media/pdfDocument.png" Height="20" Width="20" />

                                    </StackPanel>
                                </Button.Content>
                            </Button>
                        </DataTemplate>
                    </telerik:GridViewDataColumn.CellTemplate>
                </telerik:GridViewDataColumn>
            </telerik:RadGridView.Columns>       
        </telerik:RadGridView>

and in the viewmodel I've :

        public void test()
        {
            _windowManager.ShowWindow(new ReportViewModel(_repository));
        }

The event is not fired... I've tried both to put x:name on the Button and in the GridViewDataColumn...
What am I doing wrong?

Thanks

Michele
Top achievements
Rank 2
 asked on 22 Nov 2011
1 answer
82 views
Hi,
I have a gridview having a grid in its rowdetail, when row detail visibility changes i fetch data from database to load the row detail grid.
But the problem here is that when i sort or filter on the main grid, the data is removed from the already opened row detail grid.

Same thing happens when we have some controls in our rowdetails, and the values of expanded row details sets to blank when filtered or sorted.

Using "RowDetailsVisibilityChangedevent" to populate the rowdetails, due to some constraints not using "LoadingRowDetails".

Please let me know is there anything i can do so that those row detail grid data does not get removed when I do sorting or filtering on main grid.

Please reply its urgent.
Thanks
Manishkumar
Top achievements
Rank 1
 answered on 22 Nov 2011
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
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?