Telerik Forums
UI for WPF Forum
1 answer
100 views
Hello,
   I am trying to create an unbounded link on the grid using the

GridViewHyperlinkColumn

and the link is not showing up. Can you please help me with this issue?

Thanks
Vlad
Telerik team
 answered on 06 Aug 2010
1 answer
93 views
I have and application with a user control that is a font chooser. It is nothing more than a single row of comboboxes. This user control (FontChooser) raises a selectionChangedEvent when any of the comboboxes are changed.
In my parent program I use a foreach loop to create a new FontChooser with a unique name for each item it is associated with (see code). So, for example I have eleven items, each with a FontChooser control  fc_A - K.
I have an event hander that handles the SelectionChangedEvent for all of the FontChoosers. When an event is fired I use the e.OrginalSource to capture which FontChooser fc_A -K  is being changed ex: FontChooser fc = (e.OriginalSource as FontChooser);. However, no matter which FontChooser is changed the last one added shows up as the OriginalSource. So, If where to write the fc name to the Console with Console.Out.WriteLine( fc.Name); I will get something like fc_K and fc_B, or fc_K and fc_K. The event seems to fire twice and always with the last FontChooser added to the parent app. BTW,I have tried to use e.Source and Sender as FontChooser, all produce the same result. If anyone has any ideas I am all ears.
 
fontChooser = new FontChooser();                        
                        fontChooser.selectedFont = row.ItemArray[3]; //From dataTable
                        fontChooser.selectedStyle = row.ItemArray[5].ToString().Trim();
                        fontChooser.selectedSize = row.ItemArray[4];
                        fontChooser.selectedWeight = FontWeight.FromOpenTypeWeight( Int32.Parse(row.ItemArray[7].ToString()));
                        fontChooser.Name = "fc_" + row.ItemArray[0].ToString().Trim();
                        fontChooser.SelectionChanged += new SelectionChangedEventHandler(fontChooser_SelectionChanged);
                        grid.RegisterName(fontChooser.Name, fontChooser);
                        grid.Children.Add(fontChooser);
                        Grid.SetRow(fontChooser, i);
                        Grid.SetColumn(fontChooser, 3);
                        Grid.SetColumnSpan(fontChooser, 4);
  
//Event Handler
 void fontChooser_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            FontChooser fc = (e.OriginalSource as FontChooser);
            selectedFont = fc.selectedFont;
            selectedFontStyle = fc.selectedStyle;
            FontWeight weight = (FontWeight)fc.selectedWeight;
            selectedFontWeight = weight;
            Console.Out.WriteLine(fc.Name); //Added to see what is going wrong
            string name = fc.Name.Substring(3);
            activeControl = name;
            string filterExpr = "LABEL_NAME = '" + name + "'";
            DataRow[] rowToUpdate = tempTable.Select(filterExpr);
            int ptr = tempTable.Rows.IndexOf(rowToUpdate[0]);
            DataRow dr = rowToUpdate[0];
            dr[3] = selectedFont;
            if (fc.selectedSize != null
            {
                selectedFontSize = fc.selectedSize;
                dr[4] = selectedFontSize;
            }
            dr[5] = selectedFontStyle;            
            dr[7] = weight.ToOpenTypeWeight();            
            dr.AcceptChanges();
            tempTable.Rows[ptr].BeginEdit();
            tempTable.Rows[ptr].ItemArray = dr.ItemArray;
            tempTable.Rows[ptr].AcceptChanges();
            tempTable.Rows[ptr].EndEdit();
        }

OverCoded
Top achievements
Rank 2
 answered on 05 Aug 2010
2 answers
97 views
Hi,

The SelectionChanged event of RadCarousel works only when the Non-Top item is selected. Is there a event/way to know when the user clicks on the Top item? Currently I'm using the DoubleClicked event to check for the Top item's property, to identify it. But, I want to know whether I can handle it with a single click.

Thanks in advance.
Ela
Ela
Top achievements
Rank 1
 answered on 05 Aug 2010
4 answers
97 views
I have the 2010.2.714.40 demo package and the RadGridView does not have the AutoGenerateHierarchy property.
I am trying to follow this post: http://blogs.telerik.com/RobertShoemate/Posts/09-12-30/techniques_for_creating_a_hierarchical_radgridview_for_winforms.aspx
to reproduce this functionality in a WPF Application.
Thank you.
Charlie
Top achievements
Rank 2
 answered on 05 Aug 2010
3 answers
612 views
Hi,

May I know how to set the data format for a numeric field like ID with leading zeroes in the gridview? I tried using DataFormatString="{}{0:00000000}" but did not worked.

How can I also format decimal numbers to display with comma and two decimal numbers? For example 2350.2 would be displayed as 2,350.20

Thanks..
Veselin Vasilev
Telerik team
 answered on 05 Aug 2010
1 answer
101 views
Hi,

How can I insert controls (like textbox, combobox...e.t.c) in the gridview. As  I need to embbed controls in the different cells of a grid.

Thanks,
-Narendra

Vanya Pavlova
Telerik team
 answered on 05 Aug 2010
5 answers
139 views
Hello all,
I want to use a WCF Service as Tile Source.
As far as I have seen I can only use the GetTile() method to influence the tile request.
This way I can only change URIs.
Is or will there be any way to have an overidable method which returns image data so that I can fetch the images from my WCF Service?

This is a major point in our decision whether to buy the Telerik components.
Andrey
Telerik team
 answered on 05 Aug 2010
1 answer
204 views
Hi, I use a ListBox inside a RadExpander.

When I use the button a the center of my mouse to mode the scrollbar of the scrollviewer, it doesn't work
when I am into the Listbox. It works well, only when I am outside the ListBox.

Do you have this problem also and do you have a solution ?

Thank you in advance, 
Kiril Stanoev
Telerik team
 answered on 05 Aug 2010
10 answers
171 views
Hi!
I'm new here, and I just wanted to know how to change the "style" of a WPF application(e.g. for windows7, office_blue, ...?) like in demo? I don't need it at runtime.

I've VS2010 with the telerik rad controls for wpf installed(not the trial)

Thank you!
Miroslav
Telerik team
 answered on 05 Aug 2010
1 answer
122 views
Hi,

Is there any feature like "Cells with formulas" in gridview, the detailed information about the feature are listed below.

Cells with formulas - A cell can contain a formula (based in other cells of the same grid) and when a cell is modified, then the formulas are updated with the new information.

Thanks,
-Narendra
Maya
Telerik team
 answered on 05 Aug 2010
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
ProgressBar
Sparkline
LayoutControl
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
Rating
SplashScreen
Accessibility
Callout
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
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?