Telerik Forums
UI for WPF Forum
9 answers
159 views

Hi,

i am thinking about a phonebook app for hour business software and i am not sure how to start. Using a TabControl for A-Z and just load data which
are in this chapter. Any ideas?

 

Thanks

Rene

Lance | Senior Manager Technical Support
Telerik team
 answered on 02 Mar 2017
23 answers
741 views
Does the GridView support live sort and/or live grouping?

By that I mean that if I'm sorting by a column, and one of the values gets updated in the underlying collection, the grid will resort and place that item correctly according to the sort. In other words, if I have a person class (assume INotifyPropertyChanged is implemented correctly, for the sake of brevity):

class Person : INotifyPropertyChanged{
    public int Age{get;set;}
    public string Name {get;set;}
}

and I have an ObservableCollection<Person> that the grid's ItemsSource is bound to, and let's say the grid looks like so:

| Name | Age |
 Tom     12
  Mark   18
  Sam    25

and Sam's age changes to 1 (a data update that happens outside of the grid), I would expect it to become the first row. Currently it does not.

The same question applies to grouping (supporting live updates).

Thanks.
Onno
Top achievements
Rank 1
 answered on 02 Mar 2017
1 answer
130 views

Hi,

is it possible to save a Text as html without classes? I just saved the word "TEST" in bold and this comes out:

 

TEST

;height:;overflow-y:auto;'>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Untitled</title><style type="text/css">
p { margin-top: 0px;margin-bottom: 10px;line-height: 1.14999997615814; }
body { font-family: 'Verdana';font-style: Normal;font-weight: normal;font-size: 16px; }
.TableNormal { telerik-style-type: table;telerik-style-name: TableNormal;border-collapse: collapse; }
.TableGrid { telerik-style-type: table;telerik-style-name: TableGrid;telerik-based-style-name: TableNormal;margin-bottom: 0px;line-height: 1;border-left: 1px solid #000000;border-top: 1px solid #000000;border-right: 1px solid #000000;border-bottom: 1px solid #000000;border-collapse: collapse; }
.Normal { telerik-style-type: paragraph;telerik-style-name: Normal;font-family: 'Calibri';font-size: 14.6666669845581px;border-collapse: collapse; }
.Heading1 { telerik-style-type: paragraph;telerik-style-name: Heading1;telerik-based-style-name: Normal;telerik-linked-style-name: Heading1Char;font-weight: bold;font-size: 18.6666660308838px;color: #4F81BD;margin-top: 32px;margin-bottom: 0px;border-collapse: collapse; }
.Heading1Char { telerik-style-type: character;telerik-style-name: Heading1Char;telerik-linked-style-name: Heading1;font-weight: bold;font-size: 18.6666660308838px;color: #4F81BD;margin-top: 32px;margin-bottom: 0px;border-collapse: collapse; }
.Heading2 { telerik-style-type: paragraph;telerik-style-name: Heading2;telerik-linked-style-name: Heading2Char;font-family: 'Calibri';font-weight: bold;font-size: 21.3333339691162px;color: #4F81BD;margin-top: 13.3333330154419px;margin-bottom: 0px;border-collapse: collapse; }
.Heading2Char { telerik-style-type: character;telerik-style-name: Heading2Char;telerik-linked-style-name: Heading2;font-family: 'Calibri';font-weight: bold;font-size: 21.3333339691162px;color: #4F81BD;margin-top: 13.3333330154419px;margin-bottom: 0px;border-collapse: collapse; }
.Heading3 { telerik-style-type: paragraph;telerik-style-name: Heading3;telerik-linked-style-name: Heading3Char;font-family: 'Calibri';font-weight: bold;font-size: 18.6666660308838px;color: #4F81BD;margin-top: 13.3333330154419px;margin-bottom: 0px;border-collapse: collapse; }
.Heading3Char { telerik-style-type: character;telerik-style-name: Heading3Char;telerik-linked-style-name: Heading3;font-family: 'Calibri';font-weight: bold;font-size: 18.6666660308838px;color: #4F81BD;margin-top: 13.3333330154419px;margin-bottom: 0px;border-collapse: collapse; }
.Heading4 { telerik-style-type: paragraph;telerik-style-name: Heading4;telerik-based-style-name: Normal;telerik-linked-style-name: Heading4Char;font-style: Italic;font-weight: bold;color: #4F81BD;margin-top: 13.3333330154419px;margin-bottom: 0px;border-collapse: collapse; }
.Heading4Char { telerik-style-type: character;telerik-style-name: Heading4Char;telerik-linked-style-name: Heading4;font-style: Italic;font-weight: bold;color: #4F81BD;margin-top: 13.3333330154419px;margin-bottom: 0px;border-collapse: collapse; }
.Heading5 { telerik-style-type: paragraph;telerik-style-name: Heading5;telerik-based-style-name: Normal;telerik-linked-style-name: Heading5Char;color: #4F81BD;margin-top: 13.3333330154419px;margin-bottom: 0px;border-collapse: collapse; }
.Heading5Char { telerik-style-type: character;telerik-style-name: Heading5Char;telerik-linked-style-name: Heading5;color: #4F81BD;margin-top: 13.3333330154419px;margin-bottom: 0px;border-collapse: collapse; }
.Heading6 { telerik-style-type: paragraph;telerik-style-name: Heading6;telerik-based-style-name: Normal;telerik-linked-style-name: Heading6Char;font-style: Italic;color: #4F81BD;margin-top: 13.3333330154419px;margin-bottom: 0px;border-collapse: collapse; }
.Heading6Char { telerik-style-type: character;telerik-style-name: Heading6Char;telerik-linked-style-name: Heading6;font-style: Italic;color: #4F81BD;margin-top: 13.3333330154419px;margin-bottom: 0px;border-collapse: collapse; }
.Heading7 { telerik-style-type: paragraph;telerik-style-name: Heading7;telerik-based-style-name: Normal;telerik-linked-style-name: Heading7Char;font-style: Italic;color: #000000;margin-top: 13.3333330154419px;margin-bottom: 0px;border-collapse: collapse; }
.Heading7Char { telerik-style-type: character;telerik-style-name: Heading7Char;telerik-linked-style-name: Heading7;font-style: Italic;color: #000000;margin-top: 13.3333330154419px;margin-bottom: 0px;border-collapse: collapse; }
.Heading8 { telerik-style-type: paragraph;telerik-style-name: Heading8;telerik-based-style-name: Normal;telerik-linked-style-name: Heading8Char;font-size: 13.3333330154419px;color: #000000;margin-top: 13.3333330154419px;margin-bottom: 0px;border-collapse: collapse; }
.Heading8Char { telerik-style-type: character;telerik-style-name: Heading8Char;telerik-linked-style-name: Heading8;font-size: 13.3333330154419px;color: #000000;margin-top: 13.3333330154419px;margin-bottom: 0px;border-collapse: collapse; }
.Heading9 { telerik-style-type: paragraph;telerik-style-name: Heading9;telerik-based-style-name: Normal;telerik-linked-style-name: Heading9Char;font-style: Italic;font-size: 13.3333330154419px;color: #000000;margin-top: 13.3333330154419px;margin-bottom: 0px;border-collapse: collapse; }
.Heading9Char { telerik-style-type: character;telerik-style-name: Heading9Char;telerik-linked-style-name: Heading9;font-style: Italic;font-size: 13.3333330154419px;color: #000000;margin-top: 13.3333330154419px;margin-bottom: 0px;border-collapse: collapse; }
.Caption { telerik-style-type: paragraph;telerik-style-name: Caption;telerik-based-style-name: Normal;font-family: 'Calibri';font-weight: bold;font-size: 12px;color: #4F81BD;line-height: 1;border-collapse: collapse; }
.FootnoteReference { telerik-style-type: character;telerik-style-name: FootnoteReference;border-collapse: collapse; }
.FootnoteText { telerik-style-type: paragraph;telerik-style-name: FootnoteText;telerik-linked-style-name: FootnoteTextChar;font-size: 13.3333333333333px;margin-bottom: 0px;line-height: 1;border-collapse: collapse; }
.FootnoteTextChar { telerik-style-type: character;telerik-style-name: FootnoteTextChar;telerik-linked-style-name: FootnoteText;font-size: 13.3333333333333px;margin-bottom: 0px;line-height: 1;border-collapse: collapse; }
.EndnoteReference { telerik-style-type: character;telerik-style-name: EndnoteReference;border-collapse: collapse; }
.EndnoteText { telerik-style-type: paragraph;telerik-style-name: EndnoteText;telerik-linked-style-name: EndnoteTextChar;font-size: 13.3333333333333px;margin-bottom: 0px;line-height: 1;border-collapse: collapse; }
.EndnoteTextChar { telerik-style-type: character;telerik-style-name: EndnoteTextChar;telerik-linked-style-name: EndnoteText;font-size: 13.3333333333333px;margin-bottom: 0px;line-height: 1;border-collapse: collapse; }
.TOC1 { telerik-style-type: paragraph;telerik-style-name: TOC1;telerik-based-style-name: Normal;margin-bottom: 6.66666650772095px;border-collapse: collapse; }
.TOC2 { telerik-style-type: paragraph;telerik-style-name: TOC2;telerik-based-style-name: Normal;margin-bottom: 6.66666650772095px;margin-left: 14.6666669845581px;border-collapse: collapse; }
.TOC3 { telerik-style-type: paragraph;telerik-style-name: TOC3;telerik-based-style-name: Normal;margin-bottom: 6.66666650772095px;margin-left: 29.3333339691162px;border-collapse: collapse; }
.TOC4 { telerik-style-type: paragraph;telerik-style-name: TOC4;telerik-based-style-name: Normal;margin-bottom: 6.66666650772095px;margin-left: 44.0000009536743px;border-collapse: collapse; }
.TOC5 { telerik-style-type: paragraph;telerik-style-name: TOC5;telerik-based-style-name: Normal;margin-bottom: 6.66666650772095px;margin-left: 58.6666679382324px;border-collapse: collapse; }
.TOC6 { telerik-style-type: paragraph;telerik-style-name: TOC6;telerik-based-style-name: Normal;margin-bottom: 6.66666650772095px;margin-left: 73.3333349227905px;border-collapse: collapse; }
.TOC7 { telerik-style-type: paragraph;telerik-style-name: TOC7;telerik-based-style-name: Normal;margin-bottom: 6.66666650772095px;margin-left: 88.0000019073486px;border-collapse: collapse; }
.TOC8 { telerik-style-type: paragraph;telerik-style-name: TOC8;telerik-based-style-name: Normal;margin-bottom: 6.66666650772095px;margin-left: 102.666668891907px;border-collapse: collapse; }
.TOC9 { telerik-style-type: paragraph;telerik-style-name: TOC9;telerik-based-style-name: Normal;margin-bottom: 6.66666650772095px;margin-left: 117.333335876465px;border-collapse: collapse; }
.TableofFigures { telerik-style-type: paragraph;telerik-style-name: TableofFigures;telerik-based-style-name: Normal;margin-bottom: 0px;border-collapse: collapse; }
.Hyperlink { telerik-style-type: character;telerik-style-name: Hyperlink;color: #0000FF;text-decoration: underline;border-collapse: collapse; }
.Title { telerik-style-type: paragraph;telerik-style-name: Title;font-family: 'Calibri';font-size: 37.3333320617676px;color: #093367;margin-left: 0px;text-align: left;border-collapse: collapse; }
.TOCHeader { telerik-style-type: paragraph;telerik-style-name: TOCHeader;font-family: 'Calibri';font-size: 21.3333339691162px;color: #74A6E2;border-collapse: collapse; }
.p_E2968D9D { telerik-style-type: local; }
.s_6C8EFA9D { telerik-style-type: local;font-weight: bold; }
.s_E2968D9D { telerik-style-type: local; } </style></head><body>

TEST

<p ><span><font weight="bold">TEST</font></span><span class="s_E2968D9D"></span></p>
</body></html>

Is it possible to save the Text without classes?

Thanks

Rene

 

Tanya
Telerik team
 answered on 02 Mar 2017
1 answer
184 views

Looks like few of the Excel functions are missing from the current WPF spreadsheet control, below are the few which we have found missing.

VALUE
MID
TRIM

Query 1: Does WPF spreadsheet control have an alternate names to these function which perform the same action?

Query 2: We are using a trial version for evaluation and may be the reason these have been omitted, could you please confirm the above/All of excel's default formulas are available in the retail version of Telerik WPF spreadsheet.?

Query 3: If not available, will Telerik plan to provide an update with these missing formulas implemented ?

 

However these missing formula appears to be in the ASP.NET version of the spreadsheet, which is quite strange, because i thought releases of WPF version and ASP.NET version of the spreadsheet control are in sync.

 

Regards

Manas

Tanya
Telerik team
 answered on 02 Mar 2017
10 answers
251 views

Hi,

I build a diagram solution used to model something which consists of parts.

The process is defined by:

  • I have ONE result
  • Design is Left to Right (result is last shape on the right side)
  • Every shape has ONE "output" and 1 to n inputs
  • Input position MUST be respected

Most (?) of the thing I got working - I used something like shown is this thread: http://www.telerik.com/forums/orthogonal-routing-service-10bb0662a995

The user can drag from the "output" (right connector) to an input (not opposite).
Each "input" (connectors on the left side) can hold ONE connection.

I attached a result image - which also shows my problem.

On top you can see my "handmade" result.

Below is what I get after a redraw.

My router is a AStartRouter because it respects the input positions and also the lines appear like I want.

So how can I achieve the desired result without writing my own layouter?

Manfred

Yana
Telerik team
 answered on 02 Mar 2017
14 answers
1.2K+ views
Hi,

We'd like to share our solution for bringing a RadWindow to the front of the view (for example, when it's been hidden by other windows). This function is included in a class that inherits from RadWindow:

        public void BringForward()
        {
            Window realWindow = ((Canvas)Parent).Parent as Window;
            realWindow.Activate();
            realWindow.Focus();
        }

HTH,
yonadav
Stefan Nenchev
Telerik team
 answered on 02 Mar 2017
1 answer
174 views

Hi,

We have implemented radmenu in winforms application with a radmenucomboitem. 

I am trying to have similar design in wpf and would like to have a client dropdownlist in the menu which would be available across all the forms. 

But i can't find any documentation on different radmenuitems in wpf radmenu. Can you point me in the right direction?

Thanks.

Nasko
Telerik team
 answered on 02 Mar 2017
7 answers
464 views

Hello,

I need something like InitialWidth="*". I would use it to set the initial width of some columns to "*". After displaying the gridview I would like that it behaves like if I had set Width="300" (or an other fix value).

The reason is that all customers don't like if I set the with to "*" because it is very difficult the resize the columns to the desired widths (because changing the width of one column affects the other columns). I have some gridviews implemented as UserControls and they are nested in other controls. Thats why I can't set fix width values without enabling the horizontal scrollbar or having some empty unused space at the right side.

It would be ideal if I could set an InitialWidth to fill the complete area and after that the user can resize all columns and enable the horizontal scrollbar if he likes to do it.

 

Best Regards,

Raul

Raul
Top achievements
Rank 1
 answered on 01 Mar 2017
1 answer
191 views
hi all,
i have a solution in which i have used telerik components and i have transfered it to a another computer to use it. in the new machine also the same version of telerik components exist. but i now have a problem that when i need to use the WPF designer to edit the telerik components it gives some errors that different components does not exist in XML namespace 'http://schemas.telerik.com/2008/xaml/presentation"!!!! note that if i disale run in designer mode in the VS options, these errors will disappear ut the telerik components does not show in design mode! note that all of the coponents including telerik components works very well when i run the project! i also remove all the telerik components and clean the solution and re add the same version of telerik components and rebuildit but the errors exist! i also used upgrade wizard of teleri to upgrade project to the same version but the error exist! can any one help me?

i have a solution in which i have used telerik components and i have transfered it to a another computer to use it. in the new machine also the same version of telerik components exist. but i now have a problem that when i need to use the WPF designer to edit the telerik components it gives some errors that different components does not exist in XML namespace 'http://schemas.telerik.com/2008/xaml/presentation"!!!! note that if i disale run in designer mode in the VS options, these errors will disappear ut the telerik components does not show in design mode! note that all of the coponents including telerik components works very well when i run the project! i also remove all the telerik components and clean the solution and re add the same version of telerik components and rebuildit but the errors exist! i also used upgrade wizard of teleri to upgrade project to the same version but the error exist! can any one help me?

i have a solution in which i have used telerik components and i have transfered it to a another computer to use it. in the new machine also the same version of telerik components exist. but i now have a problem that when i need to use the WPF designer to edit the telerik components it gives some errors that different components does not exist in XML namespace 'http://schemas.telerik.com/2008/xaml/presentation"!!!! note that if i disale run in designer mode in the VS options, these errors will disappear ut the telerik components does not show in design mode! note that all of the coponents including telerik components works very well when i run the project! i also remove all the telerik components and clean the solution and re add the same version of telerik components and rebuildit but the errors exist! i also used upgrade wizard of teleri to upgrade project to the same version but the error exist! can any one help me?

Martin Ivanov
Telerik team
 answered on 01 Mar 2017
1 answer
43 views
Hi,
as you see in the following project,
in my customized RadDiagramShape, there is a Button.
I use CodedUITestProject to identify the button but coded UI can't recognize it.
there is any way to solve it?
thanx.

https://www.mediafire.com/?40eia94xyype3tw
Peshito
Telerik team
 answered on 01 Mar 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?