Telerik Forums
UI for WPF Forum
1 answer
149 views

Hi:

Could you advise me about the best way to create a crud with EntiyFramework 6 using radgrid and radDataForm?

The use of EntityFrameworkCoreDataSource is good idea?

Martin Ivanov
Telerik team
 answered on 02 Nov 2022
0 answers
85 views

I'm working with OSM and getting a BoundingBox to a certain location.

How can I take the value of the BoundingBox and put it in the Map.

Because BoundingBox is min latitude, max latitude, min longitude, max longitude

And Map.GeoBounds requires North, South, East, and West.

And given that I was able to put the Map.GeoBounds,

How can I make it possible to slide the map to the sides and not lock it as I am currently noticing happening.

For Example:

London BoundingBox I got from Nominatim (OSM): 

{51.2867601, 51.6918741, -0.5103751, 0.3340155}

 

And the main goal of course is to set the zoom according to the search location,

In my understanding, it should be done with the GeoBounds property.

Would appreciate help

Ohad
Top achievements
Rank 3
Bronze
Iron
Iron
 updated question on 02 Nov 2022
1 answer
124 views

Hi:

I have a data grid connected to a collection view, when I update an object of entity framework the grid doesn't reflect the change Until I force reorder or something similar. The code that I'm using to edit is:

 Cliente cliente= db.Clientes.Find(1);
 cliente.Nombre = "SS";
 db.SaveChanges();  

 

I have the same problem if IConnect itemsource directly to a List or an observable collection:

  listaClientes = db.Clientes.ToList();

  dbGrid.ItemsSource = listaClientes;

 

Thanks in advance

 

Martin Ivanov
Telerik team
 answered on 02 Nov 2022
1 answer
129 views

HI I have a DataForm where itemSource is a CollectionView source created with this 3 alternatives:

  c = CollectionViewSource.GetDefaultView(db.Clientes.Local.ToObservableCollection());
  c = CollectionViewSource.GetDefaultView(db.Clientes.ToList<Cliente>());
 c = CollectionViewSource.GetDefaultView(db.Clientes.Local.ToList<Cliente>());

 

db is a Context with entityFramework 6. When I edit dataForm the changes the poco doenst appear in the dataform but they are saved in to database.

  dataForm.BeginEdit();

   Cliente cliente =(Cliente) dataForm.CurrentItem ;
   cliente.Nombre = cliente.Nombre+"-";

 

 

Could you give me an advise to solve it?

Martin Ivanov
Telerik team
 answered on 02 Nov 2022
0 answers
112 views
 

Hi:

Hi have a not mapped calculated field on entity framework; The value changes  based on other property, but the datagrid doesnt reflect the change inmediatly, how can I solve it?

public int Longitud
        {
            get
            {
                if (Nombre != null)
                {
                    int resultado= Nombre.Length;
                   // OnPropertyChanged(nameof(Longitud));
                    return resultado;
                }
                else
                return 0;
            }

        }

            
Sami
Top achievements
Rank 2
Iron
Iron
Iron
 asked on 01 Nov 2022
1 answer
113 views

This is a question someone asked a long time ago here:

I would like to display the columns of a DataRow in more than one row of the GridView.

Something like

HeaderRow            Last Name        First Name
                                Phone                Email

Row 1                    Bill                    Smith
                                719-999-9999 Bill@jk.com

Row 2                    Joe                    Brown
                                203-000-0000 Joe@br.com

Can this be done?  I have done this in WinForms RadGridView in the past using an HtmlViewDefinition, and I was hoping WPF had the same sort of option.

Thanks

Dilyan Traykov
Telerik team
 answered on 01 Nov 2022
1 answer
188 views

What is the current Telerik copyright text that is required to be included in a WPF app that makes use of Telerik controls?

I found this old ticket:
What would constitute a valid copyright message? in UI for WPF | Telerik Forums
https://www.telerik.com/forums/redistribution-of-ui-for-wpf#4874526

and this article does not make clear what is required.

Redistributing Telerik Assemblies | Telerik UI for WPF

Dilyan Traykov
Telerik team
 answered on 31 Oct 2022
0 answers
110 views

In our application, we are facing an issue while exporting the grid(RadGridView) into the workbook using ExportToWorkBook. for your reference, 

It throws the below exception,

Can please help us to resolve this issue?

Barani
Top achievements
Rank 1
Iron
Iron
 asked on 31 Oct 2022
1 answer
224 views

Is it possible to reduce the Telerik RadComboBox in RadGridView (GridViewComboBoxColumn) Height?

We have an issue in our project, we cannot reduce the RadGridView RowHeight. 

For your reference, in the below screenshot, Column3 is Telerik RadComboBox in RadGridView (GridViewComboBoxColumn).

After adding the Column3 (Telerik RadComboBox in RadGridView (GridViewComboBoxColumn)), RowHeight becomes larger.

> Can you please suggest how to reduce RadComboBox height in RadGridView (GridViewComboBoxColumn)?

Thanks in advance.

 

Barani
Top achievements
Rank 1
Iron
Iron
 updated question on 31 Oct 2022
0 answers
94 views
We are using the latest Telerik.Windows.Document.dll (2022) and following is the logic I.e, used

string content ="<ol><li>1.hello</li><li>2.Hi</li></ol>;

Raddocument doc = HtmlFormatProvider.Import(content);
TxtFormatProvider txt = new TxtFormatProvider() ;
string output = txt.export(doc);

Output we are getting as:

.hello

.Hi

 

Basically the formating is totally gone. 

Note: We are using Telerik for WPF here .

Any issues reported like this in the latest Telerik dll, as we couldn't find much in the documentation? 
Prabhanath Nair
Top achievements
Rank 1
 updated question on 29 Oct 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?