Telerik Forums
UI for WPF Forum
3 answers
533 views
Hello!

Sometimes we get following exception while creating chart:

System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
   at MS.Win32.UnsafeNativeMethods.RegisterClassEx(WNDCLASSEX_D wc_d)
   at MS.Win32.HwndWrapper..ctor(Int32 classStyle, Int32 style, Int32 exStyle, Int32 x, Int32 y, Int32 width, Int32 height, String name, IntPtr parent, HwndWrapperHook[] hooks)
   at System.Windows.Threading.Dispatcher..ctor()
   at System.Windows.Threading.Dispatcher.get_CurrentDispatcher()
   at System.Windows.Media.Visual..ctor(ResourceType resourceType)
   at System.Windows.FrameworkElement..ctor()
   at System.Windows.Controls.Control..ctor()
   at System.Windows.Controls.ContentControl..ctor()
   at Telerik.Windows.Controls.RadChart..ctor() in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\Charting\Chart\RadChart.cs:line 252

Telrik doesn't install on the machine. We use dll from library. What does this path ment?

If you need more information - please, tell what is it - I try to get it for you.

Thanks!

Giuseppe
Telerik team
 answered on 26 Mar 2012
1 answer
121 views
Hi

Seems to me Permissionranges have their own background color
(probably to indicate an editable range).
I'd like to actively set this color, but don't know how.
PermissionRangeInfo.Color is readonly.
How can I do it? By a StyleDefinition?

Regards,
Chris
Martin Ivanov
Telerik team
 answered on 26 Mar 2012
3 answers
134 views
Hi,

I have 2 forms, FormA & FormB, both was created but only one at a time can be visible. Each form have an existing StoradId property. When I click on my button "Save persistence" in my FormB, both forms persistence are save at the same time on disk???

If it's normal, can you tell me if it's possible to only save the persistence of the form from where the code is called?

Here is my persistence class:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Telerik.Windows.Persistence;
using Telerik.Windows.Persistence.Storage;

namespace WpfApplication_Docking
{
    static public class PersistenceStorage
    {
        #region Public methods.
        /// <summary>
        /// Load/Save all controls that contain "telerik:PersistenceManager.StorageId="..."
        /// The file location is "$APPDATA\IsolatedStorage\..."
        /// </summary>
        /// <param name="pPersistenceAction">Load/Save</param>
        /// <param name="pErrorMessage">Error received during the persistence.</param>
        /// <returns>true if successfull otherwise false</returns>
        static public bool Persist(PersistenceAction pPersistenceAction, out string pErrorMessage)
        {
   

            pErrorMessage = string.Empty;
            PersistenceManager manager = new PersistenceManager();
            //manager.PropertyPersisting += new Telerik.Windows.Persistence.Events.PropertyPersistingEventHandler(manager_PropertyPersisting);
            IsolatedStorageProvider storage = new IsolatedStorageProvider(manager);

            try
            {
                try
                {
                    if (pPersistenceAction == PersistenceAction.Load)
                    {
                        storage.LoadFromStorage();
                    }
                    else if (pPersistenceAction == PersistenceAction.Save)
                    {
                        storage.SaveToStorage();
                    }

                    return true;
                }
                catch (Exception ex)
                {
                    pErrorMessage = ex.Message;
                    return false;
                }
            }
            finally
            {
                //manager.PropertyPersisting += new Telerik.Windows.Persistence.Events.PropertyPersistingEventHandler(manager_PropertyPersisting);
            }
        }

        /// <summary>
        /// Event triggered when the stream persistence didn't worked.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        static void manager_PersistenceError(object sender, Telerik.Windows.Persistence.Events.PersistenceErrorEventArgs e)
        {
            mErrorMessage = e.Exception.Message;
            mResult = false;
            throw new NotImplementedException();
        }

        /// <summary>
        /// This event is used to prevent any BroderBrush to have a transparent color when we persist an object.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        static void manager_PropertyPersisting(object sender, Telerik.Windows.Persistence.Events.PersistingPropertyEventArgs e)
        {
            //Not needed since version 2011.3.1116.35 of Telerik
            //if (e.Name == "BorderBrush")
            //    e.Cancel = true;
        }
        #endregion

        #region Enumerators.
        public enum PersistenceAction { Load, Save }
        #endregion

        #region Private declarations.
        static private string mErrorMessage;
        static private bool mResult;
        #endregion
    }
}



Thank's
Alex Fidanov
Telerik team
 answered on 26 Mar 2012
3 answers
370 views
When you have no text in your RichTextBox  and you hit the 'tab' key, it looks like it jumps from Tab position to Tab position withinin the textbox.

When you have text and you hit 'tab' key after you type a character, then it looks like it just adds a few spaces. Why does it not jump to the next Tab position?

Is there a setting to change this behavior?

My users would like to be able to line up text(of variable font sizes) across different lines based on these tab postions.
Iva Toteva
Telerik team
 answered on 26 Mar 2012
2 answers
288 views

Hi there,

In my Radgridview, I have populated a list of objects.
I have added a culomn that contains a radButton with content = "Edit".
I have a nother window that will take an object as parameter, and opens it in the new window after clicking on Edit button.

The problem is:
when i click on Edit button inside the radgridview, It always sends the top row in the grid. I'm using "CurrentItem".
the selectedItem is always null unless i select the row by clicking it before pushing the Edit button.

My Question is:
How do i send the current row object (the row where the button was clicked) to the new window?

Thank you...
YSF
aa
Top achievements
Rank 1
 answered on 26 Mar 2012
1 answer
185 views
Hi,

Any update on this product? Is it in the plans to support 2d? Also, any plans to add the ability to read barcodes from an image, pdf, etc?

Thanks for an awesome toolset!

Bill
Yavor
Telerik team
 answered on 26 Mar 2012
1 answer
118 views
Hi,

Is it possible to export the images that are inside a pdf?

Thanks!

Bill
Kammen
Telerik team
 answered on 23 Mar 2012
4 answers
268 views
I have a RadGridView that displays summary data for a group of parent records.

On it I have a HierarchyChildTemplate, defining another RadGridView that displays summary data for a group of child records. In this inner grid, I have a RowDetailsTemplate that contains a RadDataForm that displays detailed data for the child records. The inner grid has RowDetailsVisibilityMode="VisibileWhenSelected".

What I want is to add a context menu that toggles RowDetailsVisibilityMode to "Collapsed".

I have a reference to the parent grid. What I can't figure out is how to get a reference to the child grids that are generated from the template.

Jeff
Top achievements
Rank 1
 answered on 23 Mar 2012
1 answer
92 views
Hello,

is there a way to use the event ElementExported to write over the exported table?
The Element "Table is unfortunitly under the table.

Regards,
Thomas
Dimitrina
Telerik team
 answered on 23 Mar 2012
1 answer
125 views
Does the calendar control support only selection of date ranges?It should not allow users to deselect any dates in between a selected date range.
Thanks
Georgi
Telerik team
 answered on 23 Mar 2012
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
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
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?