Telerik Forums
UI for WPF Forum
3 answers
132 views
Dear All,
Is there any way to change background brush (color or image) of an specific row in code behind (by row & cell number)?
Is there any way to got focus to an specific row (by row & cell number)?

Thanks
Vlad
Telerik team
 answered on 22 May 2012
2 answers
144 views
Hi,

I have two questions regarding ScheduleView Component

1. Is their a way to select all recurrence views associated to that appointment when any of its item is selected, i have attached a snapshot     to show how i require it when any one is selected
2. Is there a way to hide resize button (we dont want that feature)

Thanks
Moem
Top achievements
Rank 1
 answered on 21 May 2012
1 answer
102 views

key: WPF, RadRichTextBox, RadDocument

I did the following steps to print merged RadDocument but it does not print and calling Print method hangs on forever. I had to kill the process.  Printing 1 Document works fine but same issue happens when I try to print 2 merged documents.

1. I am merging a list of RadDocuments  in to one RadDocument using methods answered in this forum.       
2. Then setting RadRichTextBox’s  document to the above created merged RadDocument.
3. Then printing using RadRichTextBox’s print method. radRichTextBox.Print("richtextbox", PrintMode.Native)

FYI, for Part 1) I did try this:
    foreach(var document in radDocuments)
    {
        mergedDocument.CaretPosition.MoveToLastPositionInDocument();

        mergedDocument.InsertInline(new Telerik.Windows.Documents.Model.Span(FormattingSymbolLayoutBox.PAGE_BREAK));

        mergedDocument.InsertFragment(new DocumentFragment(document));

}

and also  this:
 RadDocument mergedDocument = new RadDocument();
 foreach (RadDocument document in documents)
 {
     foreach (Section section in document.Sections)     {
         Section copySection = section.CreateDeepCopy() as Section;
         document.Sections.Remove(section);
         mergedDocument.Sections.Add(copySection);
     }
 }

Am i merging RadDocuments correctly? What could be the issue?
If this is a known Issue, then whats the best way to Merge and Print RadDocuments?

By the way : Document 1 had 7 pages and Document had 4 pages with 4 images total. It seems that as soon as I merge it does not print.

Iva Toteva
Telerik team
 answered on 21 May 2012
1 answer
143 views

key: WPF, RadRichTextBox, RadDocument

I did the following steps to print merged RadDocument but it does not print and calling Print method hangs on forever. I had to kill the process.  Printing 1 Document works fine but same issue happens when I try to print 2 merged documents.

1. I am merging a list of RadDocuments  in to one RadDocument using methods answered in this forum.       
2. Then setting RadRichTextBox’s  document to the above created merged RadDocument.
3. Then printing using RadRichTextBox’s print method. radRichTextBox.Print("richtextbox", PrintMode.Native)

FYI, for Part 1) I did try this:
    foreach(var document in radDocuments)
    {
        mergedDocument.CaretPosition.MoveToLastPositionInDocument();

        mergedDocument.InsertInline(new Telerik.Windows.Documents.Model.Span(FormattingSymbolLayoutBox.PAGE_BREAK));

        mergedDocument.InsertFragment(new DocumentFragment(document));

}

and also  this:
 RadDocument mergedDocument = new RadDocument();
 foreach (RadDocument document in documents)
 {
     foreach (Section section in document.Sections)     {
         Section copySection = section.CreateDeepCopy() as Section;
         document.Sections.Remove(section);
         mergedDocument.Sections.Add(copySection);
     }
 }

Am i merging RadDocuments correctly? What could be the issue?
If this is a known Issue, then whats the best way to Merge and Print RadDocuments?

By the way : Document 1 had 7 pages and Document had 4 pages with 4 images total. It seems that as soon as I merge it does not print.

Thanks

Iva Toteva
Telerik team
 answered on 21 May 2012
4 answers
116 views
Hello!

I have many expression columns in my grid.

In the RowLoaded-Event I want th check, if the result of the expression is lower than 0. If yes, the text (forecast) color should be set to red.
How can I access the result of the expression?

private void gridview1(object sender, RowLoadedEventArgs e)
{
   var myExpressionCellList = e.Row.ChildrenOfType<GridViewCell>.Where(c => c.Column.UniqueName == "eAbwVjKgMon1").toList();
   foreach(GridViewCell cell in myExpressCellList)
   {
      cell. .... ?????
   }
}

I tried different things, but I'm not able to get the value for checking.

What I'm doing wrong? Please help.

Kind regards

Michael

Dimitrina
Telerik team
 answered on 21 May 2012
1 answer
206 views
Hi,

I'm using the latest version of Telerik and I want to know if it's possible to have the "WatermarkContent" the same opacity than the RadDatePicker???

Thank's
Boyan
Telerik team
 answered on 21 May 2012
1 answer
172 views
Hello everyone,

In my application, I need to retrieve the pdf document from the viewer in a memory stream, so I can save it into a table in the database.

Can someone please show couple lines of code to do this? (retrieving the pdf, and converting to a memory stream)

Thanks,
Kammen
Telerik team
 answered on 21 May 2012
0 answers
110 views
hi ,

         i am new to telerik controls...

i am interested in implementing header and footer in data pager... can any one suggest any thing.. how to implement header and footer in data pager...

--
V,sharath kumar
+91-9297057111
Sharath
Top achievements
Rank 1
 asked on 21 May 2012
3 answers
317 views
Hi,

how can i create a MenueItem with perhaps an expander, like you can see on the attached file? Or is there any "easy simple" example to create a own MenueItem Style?

Thanks
Rene
Yana
Telerik team
 answered on 21 May 2012
1 answer
100 views
Hi Guys,

I am using wpf to create a live data reporting software. I used the radchart control to show the live line graph. Following is the example code:
xaml code:

<chart:RadChart x:Name="chart1" AxisElementBrush="#FFD43636">

<chart:RadChart.SeriesMappings>

<charting:SeriesMapping LegendLabel="Value">

<charting:SeriesMapping.SeriesDefinition>

<charting:LineSeriesDefinition ShowItemLabels="False"></charting:LineSeriesDefinition>

</charting:SeriesMapping.SeriesDefinition>

<charting:ItemMapping FieldName="index" DataPointMember="XValue"></charting:ItemMapping>

 <charting:ItemMapping FieldName="value" DataPointMember="YValue"></charting:ItemMapping>

 </charting:SeriesMapping>

 </chart:RadChart.SeriesMappings>

 </chart:RadChart>
Code_behind is:

List<indexsandnumbers> data = new List<indexandnumbers>();
for (int i = 1; i < 999999; i++)

{
   index = i;
   value = i*1.3;
   data.add(new indexsandnumbers(index,value));

   chart1.Itemsource = data;
   chart1.rebind();
}

However, I can only see the Xvalue increase and there is no Yvalue in the chart1 after I run the application.

The only way to show the line chart is I stop the loop, I can not get the line chart during the loop.

Any helps is appreciated.


Thank you very much.

Rosko
Telerik team
 answered on 21 May 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
PersistenceFramework
DataPager
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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?