Telerik Forums
UI for WPF Forum
2 answers
93 views

Hi,
    I would like to data bind folder content to Carousel and show related icons in the  Carousel and open the document / picure when it is double clicked. Folder contents may be picture file,video files, excel documents, word documents and other documents
    Is this possible?

Please let me know

Thank you

Nick

Nick
Top achievements
Rank 1
 answered on 28 Dec 2010
1 answer
52 views
I have a raddatepicker with the SelectedDate bound to a date property on my model and the SelectableDateStart set to a value 30 days prior to the current date (DateTime.Now).  The date that SelectedDate it is bound to can be earlier than the SelectableDateStart and that is perfectly acceptable.  What I want is the control to display the bound date no matter what it is but only allow edits within the range set by SelectableDateStart and SelectableDateEnd.  Is this possible?
Kaloyan
Telerik team
 answered on 27 Dec 2010
1 answer
75 views
Hi

 I am using TreeListView. 
 I am adding columns dynamically at runtime

GridViewDataColumn column;

for (int icnt = 1; icnt < ts.Days; icnt++) 

{

column = new GridViewDataColumn();
column.UniqueName = "key" + icnt.ToString();
column.IsReadOnly = false;
RadTreeListView1.Columns.Add(column);

}

I am populating the cell data in RadTreeListView1_RowLoaded event.

var row = e.Row as TreeListViewRow;

foreach (GridViewCell cell in row.Cells)

{

 if (cell.IsLoaded)
{

DateTime dates;

if (DateTime.TryParse(cell.Column.Header.ToString(), out dates))
{

 string filter = "dates = '#" + dates.ToShortDateString().ToString() + "#'";

 DataRow[] dr = lobjdt.Select(filter);

 if (dr != null && dr.Length > 0)

{

cell.Content = dr[0]["hours"].ToString();
 

}

}

}

}


But I am facing one more diffrent problem.
I want to edit cells of cloumns which I have added dynamically.
I am able to click and edit the data ... but data gets disappeares when user leave the cell and click somewhere else in the window.

Editing is working correctly in static clumns.
Am I missing anything while adding columns ?

Maya
Telerik team
 answered on 27 Dec 2010
4 answers
240 views
Hi Telerik Team,

I am working on TreeViewList. When page is loaded, the default focus goes to first parent node. Can I set focus on a particular row (child node) on PageLoad? So that user will not need to drill down to that row.
Sharada
Top achievements
Rank 1
 answered on 27 Dec 2010
1 answer
84 views
Hi, is there a way to select multiple items when restored so that data in large view is composed of the selected items?
i.e. to be able to choose Car1 and Car2 from "restored view" so that in "Large View" we have data from both?

Petar Mladenov
Telerik team
 answered on 27 Dec 2010
4 answers
179 views
Hello, i want my RadPanelBar to be binded to a list of items, each item has two properties:
header and body
the body is a simple object.
hod do i put it inside the single panel when it is opened?
do i must use HierarchicalDataTemplate ???

i also wanted to get events for each panel when it is expanded. for this i used ItemContainerStyle, but this was applied to the items inside the panel as well. why?

Thanks!
kfir ANKORI
Top achievements
Rank 1
 answered on 27 Dec 2010
1 answer
77 views
I was wondering in WPF how i can use the FluidResizePresenter in order to have my application resize the window from a height of 747 to a height 92 while maintaining itself width.  I would like it to resize very fluid like almost like an animation.

Thanks

~Norman
Kaloyan
Telerik team
 answered on 27 Dec 2010
30 answers
881 views
There is a 'tutorial' in the RadGridView documentation that I was attempting to follow: http://www.telerik.com/help/silverlight/how-to-create-a-custom-theme.html

It mentions: "Every theme of RadGridView contains a file called Resources.xaml. This file contains the Brushes and Colors used by RadGridView. The brushes share the colors  defined in this file. "

I looked around for these Resources.xaml theme files but was unable to find them. If someone could elaborate on how to go about modifying a theme that would really help me out.

Thanks,
Ryan
Vanya Pavlova
Telerik team
 answered on 27 Dec 2010
3 answers
97 views
Hi. We try to get screenshot of chart control in STA thread. The workaround of removing transparency in style is used. But some charts are not displayed yet. Especially Horizontal Bar and Stacked Bar cannot be exported (there are scales only) while bar chart can be exported perfectly. If you want I can send a demo project I've created.
Is there any workaround? Thanks in advance.
Alex
Top achievements
Rank 1
 answered on 27 Dec 2010
2 answers
99 views
Hi,
I'm trying to delete an item in the tree hierarchy.

       private void ButtonRemove_Click(object senderRoutedEventArgs e)
        {
            if (DialogRadTreeListView.SelectedItem != null)
            {
                DialogRadTreeListView.Items.Remove(DialogRadTreeListView.SelectedItem);

            }

        }
I believe the above code only deletes if the SelectedItem is in the first level of DialogRadTreeListView.Items.
If SelectedItem is several levels deep, "Remove" won't find it.
Any ideas how I can delete an item in this case?

Thanks.

-Chris
Chris
Top achievements
Rank 1
 answered on 27 Dec 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?