Telerik Forums
UI for WPF Forum
1 answer
131 views

Hello

Is there way that user can add items to combo Box from the text box of the combo?

Is there sample for this?

Best regard

Ehud

Yana
Telerik team
 answered on 11 Apr 2011
3 answers
375 views
Hello,

I'd like to set the height of a radsplitter container.

<telerik:RadSplitContainer InitialPosition="FloatingOnly" x:Name="ZoomContainer" > 
                <telerik:RadPaneGroup  > 
                    <telerik:RadPane CanDockInDocumentHost="False" CanUserClose="True" x:Name="paneZoom"   
                          Header="Zoom" > 
                            <Grid> 
  <myoject Width="200" Height="200"/> 
</Grid> 
</telerik:RadPane> 
<telerik:RadSplitContainer> 

My object has a fixed size, I'd like the RadSplitContainer to have the same....

And finally I don't want the user can resize splitcontainer. have you a property to do that ?

Thanks Aurore
Yana
Telerik team
 answered on 11 Apr 2011
1 answer
164 views
Dear Support!

Today we updated our telerik WPF controls from 2010 Q3 to 2011 Q1. Stumbled upon the problem that the header of our TabControl is disappeared. We using custom Theme based on Office_Blue.
What files needs to add / check to bring back the headers?

Look forward to your response,
Záby
Petar Mladenov
Telerik team
 answered on 11 Apr 2011
1 answer
168 views
If I use a GridView without TabControl, it is displayed fine:

<telerikgridview:RadGridView IsReadOnly="True" AutoGenerateColumns="False" ItemsSource="{Binding SelectedPatient.Weighings}" ShowGroupPanel="False" RowIndicatorVisibility="Collapsed">
    <telerikgridview:RadGridView.Columns>
        <telerikgridview:GridViewDataColumn DataMemberBinding="{Binding WeightDate}" Header="{lex:LocText S3.ParametersUE.PatientManagement:UIStrings:PatientDetailsView_GridWeighingsHeaderDate}" DataFormatString="{}{0:d}"/>
        <telerikgridview:GridViewDataColumn DataMemberBinding="{Binding Weight}" Header="{lex:LocText S3.ParametersUE.PatientManagement:UIStrings:PatientDetailsView_GridWeighingsHeaderWeight}"/>
    </telerikgridview:RadGridView.Columns>
</telerikgridview:RadGridView>

However, if I put it in a RadTabItem of a RadTabControl, not all horizontal gridlines are visible.

If I set ShowGroupPanel of the grid to True, all gridlines are visible!

Is there a drawing problem in the RadTabControl?

Edit: if i try a regular .NET TabControl, it has the same issue! So maybe it's a GridView issue...
Edit 2: if I set ShowColumnHeaders to False, all lines are visible
Maya
Telerik team
 answered on 11 Apr 2011
3 answers
155 views
I use a dataview as my itemsource. All columns show fine except for one. This data column has values that are mixture of strings, percentages and currency.

Sample values:
N/A
10%
$50


Any ideas why this column show as blank data in the radgridview?
Joshua
Top achievements
Rank 1
 answered on 11 Apr 2011
2 answers
260 views
I have a problem with my ClickOnce deployment that I am doing and I have had this problem multiple times with all of my new applications that are deployed this way. This same problem occurs every time a new Telerik controls version comes out and I am not sure what to do to fix it, or how I have fixed it in the past. The problem always just seems to go away after tweaking some unrelated things.

What is happening is that I have a lot of references to the Telerik.windows.controls dlls. When I use the ClickOnce deployment to deploy one of my projects, I usually get an error message after running the installer that says

'Unable to intall or run the application. The application requires that assembly Telerik.Windows.Controls.Input Version 2010.1.309.35 be installed in the Global Assembly Cache (GAC) first.'

I first check to make sure that the required version is not in the GAC and that is fine but I also check all of my projects and none of the have a reference to that version. Right now, they all have references to the Version 2010.1.603.35. I have also gone in and checked the ClickOnce manifest to see if the problem is present in that as well and sure enough I find both of the following records.

<dependency>
  <dependentAssembly dependencyType="preRequisite" allowDelayedBinding="true">
    <assemblyIdentity name="Telerik.Windows.Controls" version="2010.1.309.35" publicKeyToken="5803CFA389C90CE7" language="neutral" processorArchitecture="msil" />
  </dependentAssembly>
</dependency>
<dependency>
  <dependentAssembly dependencyType="preRequisite" allowDelayedBinding="true">
    <assemblyIdentity name="Telerik.Windows.Controls.Input" version="2010.1.309.35" publicKeyToken="5803CFA389C90CE7" language="neutral" processorArchitecture="msil" />
  </dependentAssembly>
</dependency>

as well as

<dependency>
    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Telerik.Windows.Controls.dll" size="1207296">
      <assemblyIdentity name="Telerik.Windows.Controls" version="2010.1.603.35" publicKeyToken="5803CFA389C90CE7" language="neutral" processorArchitecture="msil" />
      <hash>
        <dsig:Transforms>
          <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
        </dsig:Transforms>
        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <dsig:DigestValue>e4iP0pIbW/339jWRaqDifRptJ0E=</dsig:DigestValue>
      </hash>
    </dependentAssembly>
  </dependency>
<dependency>
    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Telerik.Windows.Controls.Input.dll" size="770560">
      <assemblyIdentity name="Telerik.Windows.Controls.Input" version="2010.1.603.35" publicKeyToken="5803CFA389C90CE7" language="neutral" processorArchitecture="msil" />
      <hash>
        <dsig:Transforms>
          <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
        </dsig:Transforms>
        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <dsig:DigestValue>3Wibpvrir1Btx4aXnHuzt82AWO0=</dsig:DigestValue>
      </hash>
    </dependentAssembly>
  </dependency>

If anyone has any idea why this keeps happening to me then please tell me what I can do to fix it or prevent it from happening again.

As further information, this problem also only seems to occur when I publish and not when someone else publishes the exact same project.

Thank you,
Alex
taras
Top achievements
Rank 1
 answered on 11 Apr 2011
4 answers
180 views
I am trying to use the icon images that are retrieved from the ShGetFileInfo API call.  In this way, for my file explorer I can use all of the windows default images without having to extract them and then place them into separate files.  I would appreciate it if anyone could let me know if this is possible?  Also, is it possible to use an ImageList collection with the TreeView?

Thanks.

Martin Reich

Update:

I have created a set of classes that will place the Shell32.dll icons (or from any other file the user wishes) into an images directory below the executable.  I then point DefaultImageSrc to the file in the images directory.  This works fine except for the 'light yellow' color in the icons.  When the icon is saved to a file, the 'light yellow' is being transformed into white.  If someone can help with his issue, I will post the code for others to use.

Update 2:

I have gotten the correct colors working.  Using an ImageList, I put the icon into the ImageList and then save the icon from the ImageList instance.  This process handles all of the color issues.  If someone would like this code just let me know and I will send it on.
fred williams
Top achievements
Rank 1
 answered on 10 Apr 2011
1 answer
206 views
Custom Controls:
public class CustomGridView : RadGridView
    {
        public CustomGridView()
        {
        }
          
    }
  public class RadGridViewCommands
    {
  
    }
  
  
<framework:CustomGridView x:Name="gvCustomerOrder" ItemsSource="{Binding Orders}" 
               CanUserDeleteRows="{Binding IsChecked, Mode=TwoWay, ElementName=CanUserDeleteRowsCheckBox}"
               IsReadOnly="{Binding IsChecked, Mode=TwoWay, ElementName=IsReadOnlyCheckBox}" 
               SelectionMode="Extended" VerticalAlignment="Stretch" AutoGenerateColumns="False">
                <framework:CustomGridView.Columns>
                    <framework:CustomGridViewToggleRowDetailsColumn/>
                    <framework:CustomGridViewSelectColumn x:Name="gvcSelect"/>
                    <framework:CustomGridViewDataColumn DataMemberBinding="{Binding Name" Header="S.no" />
                </framework:RTPOGridView.Columns>
 </framework:RTPOGridView>
  
<Button Content=" Delete" Style="{StaticResource GreyButtonStyle}" Command="framework:RadGridViewCommands.Delete" CommandTarget="{Binding ElementName=gvCustomerOrder}"/>
  
  
But In Run Time it gives an Error:
'Provide value on 'System.Windows.Baml2006.TypeConverterMarkupExtension' threw an exception.' Line number '141' and line position '60'
Hi,
We are using a custom controls inheriting from telerik base controls.
E.g. In case of datagrid,(Please find attched code Block), Command property is not accesible. It gives an Error.
We use a MVVM Pattern.
Please help on this.

Rahul
Top achievements
Rank 1
 answered on 09 Apr 2011
0 answers
143 views
Hello Telerik Team,
                                I have one clarification about radcombo box.
I want multiple columns in radcombobox.is it possible?
or how to achive using telerik controls?

(ex)I have two objects Names like LedgerID(Integer) and LedgerName(String).
Both values retrieved from database and display in single radcombobox..

After i am setting IsEditable=True
if i put ledgerID in radcombobox mean the drop down will open with LedgerID in assending order
corresponding ledgerName also display in second column.

or

if i put LedgerName in radcombobox mean the drop down will open with LedgerName in assending order
corresponding ledgerID also display in first column.

how to achive using radcombobox?
pls give me any suggestions?

sundhar
Top achievements
Rank 1
 asked on 09 Apr 2011
2 answers
129 views
Hello,

It seems that the stock editor that the Data Filter provides for double values allows only 2 decimal places.  Is there any way to change this, or do I need to implement a custom editor?

Thanks,
Mark.
Mark
Top achievements
Rank 1
 answered on 08 Apr 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
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?