Telerik Forums
UI for WPF Forum
2 answers
88 views
Hi,

is there a way to merge the Telerik DLLs into my EXE-File? I want to have one single file that contains all libraries.

-simon
Vlad
Telerik team
 answered on 15 Jan 2013
3 answers
397 views

Hi

Am new at using Telerik for WPF,

so i created a WPF Telerik solution in VS and included the GridView component then
it referenced the 4 Telerik  DLL's. added the Grid to the Mainwindow.XAML build the solution
and all is Good.

The problem is the Compiler spits out a bunch of Folders(EN FR DE JA TR ES ETC...) with the .EXE
and Also included the 4 Telerik DLL's.

Is it possible to build the Application and produce only the .EXE with the assemblies embedded in it and
no Folder's for all those nations.i tried many methods with no success
EX.( ILMerge - SmartAssembly also tried to place dlls as resource did not work either)
I dont know what am doing wrong the app works but how to merge all those Dll's in it?


I search your forms most examples are for WinForms and no (Telerik.WinControls.RadTypeResolver.Instance.ResolveTypesInCurrentAssembly = true;)
similar method for WPF
.


Thank you regards


Vlad
Telerik team
 answered on 15 Jan 2013
2 answers
139 views
Hi. I'm attempting to use GridViewMaskedTextBoxColumn to create a column to contain numeric values with a maximum of 2 decimal places (for example 123.45), I'm not able to locate any documentation on how the Mask property works for this control. All I've been able to find are just random examples, and nothing I've tried so far seems to work correctly.

Can someone provide me with a link to this information? Thanks.

Editing for clarity -

I know there's API-level documentation for the GridView available at http://www.telerik.com/help/wpf/n_telerik_windows_controls_gridview.html

What I'm not able to find is 1) any documentation for GridViewMaskedTextBoxColumn (or any column types at all, really) and 2) any documentation on what the Mask property's allowed values are. Those are the two things I'm hoping to get myself pointed to here.
Vlad
Telerik team
 answered on 15 Jan 2013
1 answer
158 views
I want to pass in value into the custom User Control "CustomerBilling " programmatically inside tab control for each row in RadGridView.  Which event should I call?  Is it RowLoaded?  How I could I access the User Control of "CustomerBilling" in C#?  In Xaml, I could just type the paramter "ModifiedBy", but I do not want to set the value in there.  How could I do it via RowLoaded event? Thanks.
<telerik:RadGridView.RowDetailsTemplate>
               <DataTemplate>
                   <telerik:RadTabControl Name="RadTabControl1" Width="702" HorizontalAlignment="Center"
                                          Margin="8" VerticalAlignment="Center" >
                       <telerik:RadTabItem Header="Billing Address"  >
                           <local:CustomerBilling ModifiedBy="adfdf" />
                       </telerik:RadTabItem>
                       <telerik:RadTabItem Header="Shipping Address" >
                           <local:CustomersShipping />
                       </telerik:RadTabItem>
                   </telerik:RadTabControl>
               </DataTemplate>
           </telerik:RadGridView.RowDetailsTemplate>

Vlad
Telerik team
 answered on 15 Jan 2013
1 answer
125 views
Hi

I'm trying to get DataForm validation up and running for my WCF Service based application. I'm using item level attribute-based validation according to http://www.telerik.com/help/wpf/raddataform-validation-item-level.html. This is working fine if I add the attributes directly to the DTO classes generated by the Open Access Service Wizard (i.e. directly in Transport.cs).

[DataMember]
[Required]
public virtual string Name {
    get {
        return this._name;
    }
    set {
        if (Name == value)
            return;
 
        this.OnPropertyChanging("Name");
        this._name = value;
        this.OnPropertyChanged("Name");
    }
}


However, as adding the metadata to Transport.cs is probably not the best idea, i tried to move the metadata to a seperate metadata class and inject it to the DTO via a MetaDataTypeAttribute.

[MetadataTypeAttribute(typeof(EmployeeDto.Metadata))]
public partial class EmployeeDto
{
    internal sealed class Metadata
    {
        private Metadata() {
        }
 
        [Required]
        public string Name { get; set; }
    }
}

But i couldn't get this to work, the DataForm ignores the metadata while validating. Is there something I've missed or is this fature not supported by RadDataForm?

Regards
Ivan Ivanov
Telerik team
 answered on 14 Jan 2013
3 answers
260 views
Greetings all,

I am using a RadTabControl.

I'd like to remove the little space to the left of the tab and the line at the bottom of the tab. What I'm trying to do is have a gradient that spans from the top of the tab through the bar where the toolbar is placed.

Image is attached.

Is this possible?

Thanks

Wade
Pavel R. Pavlov
Telerik team
 answered on 14 Jan 2013
4 answers
460 views
How could I use code to set the background color and icon image of each RadPane?

The RadPane is created in code and added to RandPanGroup with AddItem method.

For the background, I tried radPane.Background = brush but it has no effect.

For the icon, I can not find any properties for assigning values.

Thanks
Masha
Telerik team
 answered on 14 Jan 2013
1 answer
67 views
I'm sending the following request to a BingGeocodeProvider.

            var address = new Address
            {
                Locality = city,
                CountryRegion = "United Kingdom"
            };
            var request = new GeocodeRequest { Address = address };
            BingGeocodeProvider.GeocodeAsync(request);

This works but if I put the 'city' in the 'PostalTown' I don't get any results returned.

My question is why? It appears that if I put data in some fields (like PostalCode) it works, but other fields don't. Is there any documentation on what works/is required?
Andrey
Telerik team
 answered on 14 Jan 2013
1 answer
133 views
Hi, I have a problem with the gridView in that when I set the SelectedItem property via my view model the grid highlights the full row even though the selectionunit of the grid is set to cell. I was expecting the grid to just select the first column in the row, rather than the full row. If you click on the row in question the highlight is cleared and the selected cell highlighted. Can the SelectItem property not be used when the selectionunit is set to cell?
Nick
Telerik team
 answered on 14 Jan 2013
1 answer
104 views
I have a GridView which has 3 columns:
  • CheckBox: if the row is active;
  • TextBlock: row id;
  • TextBlock: row name;

There are a object collection and a binding is made to the GridView.
Now when I active the checkBox, I would like have access to the row, ie, to the object which was allocate to the row.

This is the XAML code I have:
<telerik:RadGridView Grid.Row="0" Grid.Column="0" x:Name="mainRadGridView"
IsSynchronizedWithCurrentItem="True" IsReadOnly="True"
AutoGenerateColumns="False">
<telerik:RadGridView.Columns>
<telerik:GridViewDataColumn Header="" DataMemberBinding="{Binding isActive}" Width="Auto" >
<telerik:GridViewDataColumn.CellTemplate>
<DataTemplate>
<CheckBox IsChecked="{Binding isActive}"
 Checked="checkBox_Checked"
 Unchecked="checkBox_Unchecked"/>
</DataTemplate>
</telerik:GridViewDataColumn.CellTemplate>
</telerik:GridViewDataColumn>
<telerik:GridViewDataColumn Header="id" DataMemberBinding="{Binding id}" Width="Auto"></telerik:GridViewDataColumn>
<telerik:GridViewDataColumn Header="name" DataMemberBinding="{Binding name}" Width="Auto"></telerik:GridViewDataColumn>
</telerik:RadGridView.Columns>                                
</telerik:RadGridView>

Any suggestion?
Nedyalko Nikolov
Telerik team
 answered on 14 Jan 2013
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)
WatermarkTextBox
DesktopAlert
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
Security
VirtualKeyboard
HighlightTextBlock
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?