Telerik Forums
UI for WPF Forum
18 answers
550 views
Hello-

I'm getting the following exception in the Visual Studio designer in both XAML and Design views:

IOException was thrown on 'RadProgressBar': Set property 'System.Windows.ResourceDictionary.Source' threw an exception.

Cannot locate resource 'themes/generictransparent.xaml'.

at MS.Internal.AppModel.ResourcePart.GetStreamCore(FileMode mode, FileAccess access) at System.IO.Packaging.PackagePart.GetStream(FileMode mode, FileAccess access) at System.IO.Packaging.PackWebResponse.CachedResponse.GetResponseStream() at System.IO.Packaging.PackWebResponse.GetResponseStream() at System.IO.Packaging.PackWebResponse.get_ContentType() at MS.Internal.WpfWebRequestHelper.GetContentType(WebResponse response) at MS.Internal.WpfWebRequestHelper.GetResponseStream(WebRequest request, ContentType& contentType) at System.Windows.ResourceDictionary.set_Source(Uri value) at System.Windows.Baml2006.WpfSharedBamlSchemaContext.<Create_BamlProperty_ResourceDictionary_Source>b__1c4(Object target, Object value) at System.Windows.Baml2006.WpfKnownMemberInvoker.SetValue(Object instance, Object value) at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(XamlMember member, Object obj, Object value) at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst, XamlMember property, Object value)


This also occurs with other Telerik controls.

The code compiles and runs fine but the error appears at design-time only.
Tina Stancheva
Telerik team
 answered on 30 Jul 2010
3 answers
188 views
Hi,
   Good Afternoon. I am trying to use the Transition Control to implement a transition between forms with a simple Slide and zoom transition. I might use a button on the mainpage, so the onclick of the button will move from form to form. Do you guys have a simple example of that sort? Please let me know.

Thanks
Miroslav Nedyalkov
Telerik team
 answered on 30 Jul 2010
1 answer
260 views
Is there a way to make some rows readonly and other editable? Even better would be on the individual cell level.

I have the following scenario. I have a list of items that I need to display both horizontally, which is the normal grid behaviour, and vertically.

To accomplish this I have to build a datatable dynamically based on which option is selected. (horizontal or vertical).

When horizontal is selected I do not have a problem because I can set columns to be readonly. However when I display the data vertically I need the top row, with the exception of the first column which now acts as the headers, to be editable and all other rows to be readonly. I have attached screen shots to demonstrate

Thanks,

Billy Jacobs
Maya
Telerik team
 answered on 30 Jul 2010
4 answers
919 views
Hi there

Here is my problem and I hope someone could help me please:
- How can I turn a RadGridView Row with all cells in edit view and validate all entries at once?
The problem with the RadGridView is that we can only turn editable a single cell from a column that is at ReadOnly = false.
If there is a solution, please informe me ;-)
Thx

Windows Vista
WPF
C#

Valerio
Valerio
Top achievements
Rank 1
 answered on 29 Jul 2010
8 answers
316 views
Hi,

I want to check with you what is the right way to programmatically expand and select a node in a tree view which is using virtualization in recycling mode. The tree may be full of nodes and those nodes may not be visible on the screen at that moment.

Can you please provide a sample application which demonstrates how to achive that.

Thank you,
Ruben.
rubenhak
Top achievements
Rank 1
 answered on 29 Jul 2010
2 answers
195 views
Is there anyway to ignore the SelectionChanged event from the GridViewSelectColumn when the grid is loading?
 
When the grid is loading, I make the row selected during the rowloaded event based on a value in the row (to indicate something was "selected" in past use of the grid). I then want to have code in the selectionChanged method that kicks off based on what happens to these rows after the grid is loaded from the user interaction, but i can't seem to figure out how isolate the code to run only during this time and not every time it is selected in the rowloaded event.

Thanks.
Chet Watkins
Top achievements
Rank 1
 answered on 29 Jul 2010
1 answer
109 views
Guys,

not sure if this is something thats possible, but is it possible to make only certain parts of an item "Draggable"... having an area / control that is the drag point of the control... see exampeitem imaeg for the kinda of area i'm talking about on my control..

Hope this makes sense.

Cheers guys
Miroslav
Telerik team
 answered on 29 Jul 2010
18 answers
999 views
hy everybody,

I can not figure out how to change the column header caption of a column which was autogenerated since the radviewgrid's itemsource property is bound to a datatable. My code as listed below does not do the job.

with me.radgridview1
    .columns(3).HeaderText = "Name"
end with

The headertext still shows the fieldname of the datatable.

Any suggestion is highly appreciated.

best regards,

Michael Lutz
BITsoft
Michael
Top achievements
Rank 1
 answered on 29 Jul 2010
3 answers
185 views

I have a problem which only seems to occur when using the Telerik RAD tree views , instead of the standard WPF treeview control

On a basic level, I have an application that loops through an OLAP cube and returns data to the interface treeview.  The treeview then displays the data in a format like below 

 + Measure
  Measure1
Measure2
Measure 3
Measure 4 etc

I want to be able to drag each individual node (e.g Measure 2 or Measure 3) into another treeview. However when dragging the measures, it drags the whole root (Measure) preventing me from separating the nodes.

Any idea how it could be made possible to drag individual nodes instead of the whole root??


The relevant XAML and XAML.cs is shown below

XAML
 <Telerik:RadTreeView x:Name ="treeCube" IsDragDropEnabled ="True" Margin="250,174,41,158" Background="White" Telerik:StyleManager.Theme="Windows7" ToolTip="Drag" AllowDrop="True">       
        </Telerik:RadTreeView>

        <Telerik:RadTreeView x:Name ="treeCubeTwo" IsDragDropEnabled ="True" Margin="0,174,-491,158" Background="White" Telerik:StyleManager.Theme="Windows7" Width="509" HorizontalAlignment="Right">        
        </Telerik:RadTreeView>

XAML.cs

 private void LoadCube_Click(object sender, RoutedEventArgs e)
            {

                // get the cube schema
                Helper helper = new Helper("demo01");
                helper.Catalog = "Adventure Works DW 2008R2";
                helper.Cube = "Adventure Works";

                _cube = helper.GetCubeSchema();

                // create an empty parameter set
                _params = new ParameterSet();

                // populate the left-hand treeview with cube schema

                // measures
                TreeViewItem measuresItem = new TreeViewItem();
                measuresItem.Header = "Measures";

                foreach (Measure measure in _cube.Measures)
                {
                    TreeViewItem measureItem = new TreeViewItem();
                    measureItem.Header = measure.Caption;
                    measuresItem.Items.Add(measureItem);
                }

                treeCube.Items.Add(measuresItem);




Hristo
Telerik team
 answered on 29 Jul 2010
3 answers
110 views
Hi!

Is there an autocomplete textbox component for WPF interface with telerik? 

Thank you!
Rossen Hristov
Telerik team
 answered on 29 Jul 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
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
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?