Telerik Forums
UI for WPF Forum
4 answers
749 views
is there a way to disable the animation in all the telerik controls?,
for example RadExpander.IsExpanded

igal a
Top achievements
Rank 1
 answered on 03 Dec 2009
1 answer
141 views
I have a need for short paragraphs on the nodes/leaves of a RadTreeView.  I was readily able to bind a (wrapping) TextBlock's Text to in-memory objects, and all works fine.

The next step was to get multicolor text, instead of plain text, on these nodes.  Now I have hit a snag ... can't figure out how to use that TextBlock (or what to replace it with) to get bindable multicolor text.  Searching on this a bit, evidently "bindable Run" is a bit of an issue, and won't be resolved until WPF 4.0.

I'd really appreciate any suggestions that would work, prior to WPF 4.0.  Is there something in the Telerik suite that works around this? 

Thanks in advance for any help!
Miroslav
Telerik team
 answered on 03 Dec 2009
2 answers
207 views
Hi,

We have several RadGridViews set up with manually defined columns.  Our column widths were defined to support relative sizing, ie Width="20*".  ColumnWidthMode for the grid was set to "Fill".  The reason for this was that we did not want certain fields to wasting space.  For example in the example below the "Date of Birth" and "Licence Number" are only narrow columns allowing for the other columns to take up more space. 

After installing the Q3 release all the columns appear on screen with the same width, ignoring the column widths that we have defined.  I don't want to change the columns to be fixed width as this will cause problems on different sized screens and/or when user resizes the window.  Is there anything we can do to get this functionality back?

Here is the XAML for the column definitions from one of our grids.
<telerik:RadGridView.Columns> 
                        <telerik:GridViewDataColumn Header="Name" 
                                                    DataMemberBinding="{Binding PersonDetails}" 
                                                    Width="35*" 
                                                    IsFilterable="False" 
                                                    ShowDistinctFilters="False"/>  
                        <telerik:GridViewDataColumn Header="D.O.B." 
                                                    DataMemberBinding="{Binding BirthDate}" 
                                                    Width="15*" 
                                                    ShowDistinctFilters="False"/>  
                        <telerik:GridViewDataColumn Header="Address" 
                                                    DataMemberBinding="{Binding ResidentialAddress}" 
                                                    Width="35*" 
                                                    ShowDistinctFilters="False"/>  
                        <telerik:GridViewDataColumn Header="Licence Number" 
                                                    DataMemberBinding="{Binding LicenceNumbers}"   
                                                    Width="15*" 
                                                    ShowDistinctFilters="False"/>  
                    </telerik:RadGridView.Columns> 



Nedyalko Nikolov
Telerik team
 answered on 03 Dec 2009
10 answers
1.3K+ views
Hello,
I've Problems with binding a comman for a Button inside a RadGridView-Column. I'm using the Q3 Release.

This is my XAML:
<telerik:GridViewDataColumn Header=""  UniqueName="Product.ProductID" IsReadOnly="True"  Background="{StaticResource ProductColumnsBackground}" HeaderCellStyle="{StaticResource DefaultHeaderStyle}">
  <telerik:GridViewDataColumn.CellTemplate>
    <DataTemplate>
      <Button Margin="2" Command="{Binding Path=DataContext.AddDefectCommand, ElementName=productGrid}" CommandParameter="{Binding }">
        <StackPanel Orientation="Horizontal">
          <Image RenderOptions.BitmapScalingMode="NearestNeighbor" Width="16" Height="16" Source="../Resources/Defect_16.png"/>
          <TextBlock Margin="5" Text="Neuer Mangel"/>
        </StackPanel>
      </Button>
    </DataTemplate>
  </telerik:GridViewDataColumn.CellTemplate>
</telerik:GridViewDataColumn>



"productGrid" is the name of the RadGridView.
Vlad
Telerik team
 answered on 03 Dec 2009
1 answer
137 views
Already used more brain cycles than I want to just evaluate the product :(

System.Security.SecurityException was unhandled by user code
  Message="Request for the permission of type 'System.Security.Permissions.EnvironmentPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."
  Source="mscorlib"
  StackTrace:
       at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
       at System.Security.CodeAccessPermission.Demand()
       at System.Environment.GetCommandLineArgs()
       at System.Windows.StartupEventArgs.GetCmdLineArgs()
       at System.Windows.StartupEventArgs.get_Args()
       at Telerik.Windows.Examples.App.OnStartup(StartupEventArgs e)
       at System.Windows.Application.<.ctor>b__0(Object unused)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
  InnerException:
Boyan
Telerik team
 answered on 02 Dec 2009
1 answer
95 views
Hi,
i have created a new style for my panel items. within the style (in the RD) everything is working as i need but in the project itself the behavior isnt as requested. for example:
the text foreground is usually black but when selected- white. that how it looks as i work in blend, but in run time is stays black....
any idea why....?
Valentin.Stoychev
Telerik team
 answered on 02 Dec 2009
3 answers
95 views
Hi.
I was playing with the Q3 DatePicker Demo. I noticed the following:
When I open the picker after having enterd a date using the keyboard the picker alway closes after the first click. Even when this click is no date selection (i.e. clicking the header, to go to "month-choose-mode")

Is this inentionally ?

Yours, Nils
Kaloyan
Telerik team
 answered on 02 Dec 2009
3 answers
57 views
Is there a way to generate a printer friendly view of the displayed calendar?
Kaloyan
Telerik team
 answered on 02 Dec 2009
1 answer
244 views
how can i rotate it 180 degrees
on expanded and on collapse
Dimitrina
Telerik team
 answered on 02 Dec 2009
3 answers
91 views
Hi
        Please help me out in a issue. I am placing Telerik's Date time picker in Telerik's TabControl Item and also has set its selected datetime to DateTime.Now but when i run the page, DateTimePicker doesn't show any selected date in its textBox.It remains Blank on any selection of date from the calendar.

Thanks in advance.

Regards
Shreya Goyal
Kaloyan
Telerik team
 answered on 02 Dec 2009
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
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
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?