Telerik Forums
UI for WinForms Forum
2 answers
144 views
I see in the examples application that row details can be used for editing.

Specifically, it says "Row Details can also be used for providing a more convenient editing environment for the end user."

I can't find any documentation, examples, videos or posts about this functionality though. Has anyone used this or know where to find information on it?

Thanks.
George
Telerik team
 answered on 21 Feb 2014
1 answer
188 views
Hello,

I am trying to format a cell. I am returning a Boolean value and instead of displaying a true or false in the cell I want to display a 1 for true and a 0 for false. I have this in the cell formatting event and I have two columns, the first returns the true/false value which I am reading and then displaying the 1,0 in another column. It works fin when the true/false column is visible but when I hide it I do not see the 1,0 in the other column.

Here is what I have:
​ //Cell formatting for start bit visual indication. The Start column has been hidden.
if (e.CellElement.ColumnInfo.HeaderText == "Start")
{
if ((bool)e.CellElement.RowInfo.Cells["Start"].Value == true)
{
e.CellElement.RowInfo.Cells["StartBit"].Value = "1";
}
else
{
e.CellElement.RowInfo.Cells["StartBit"].Value = "0";
}
}


Can this be done in the expression editor for the true/false column or what is the best way to achieve this.

Thank you,

chom
Dimitar
Telerik team
 answered on 21 Feb 2014
3 answers
167 views
I am trying to add a page programatically and I am unable to see newly added page.

However, I have noticed the PageIndex is increasing.

The following is the code:

Telerik.WinControls.UI.RadPageViewPage page1= new Telerik.WinControls.UI.RadPageViewPage();

page1.Text = "Search";

RadPageView1.Pages.Add(page1);


What I found is Page1 visible property is set to false.

Can anyone help me on this.

Thanks
Charan.
Stefan
Telerik team
 answered on 21 Feb 2014
1 answer
105 views
Hi,
i want to know how can i retrieve values of edit recurrence form after i press button ok in edit appointment form
 to reflect in radscheduler and save values of recurrence form in sql db
Dimitar
Telerik team
 answered on 20 Feb 2014
1 answer
269 views
We have a problem about the ‘RadRepeatButton’ on the touchscreen computer. We have tried the ‘repeat button application’ under the ‘buttons’ tab in the ‘Demo Applicaion – RadControls for WinForms Q3 2013’ on Windows 8 but the button works only when we double tap. When we tried the same application on Windows 7 the button works properly as soon as we tap on it. Does the ‘Rad RepeatButton’ not work on Windows 8? Or does this button works when you double tap on it. We think it should operate when you touch it.

The problem we experience occurs only when we tap on the  touchscreen. Other than that, when we use the mouse, it operates properly on both operating systems.

What can we do in order to make the rad repeat button operate when we tap and hold on it (not double tap) on Windows 8?
George
Telerik team
 answered on 20 Feb 2014
1 answer
187 views
Hello everyone,


I have a little problem with your calculated columns.
I need to get all calculated cells with value less than 0, but when I iterate to get the values < 0 I get fewer results. I guess is something related to the moment when is refreshed the calculated value. 

how can I get the count of cells with value < 0

right now I am making a linq query like this:

grid.Rows.OfType<GridViewDataRowInfo>().Count(x => Convert.ToDouble(x.Cells["columnName"].Value) <= 0);

but I get only 5 results. It seems that the refresh event of the calculated cells is fired when I scroll down, is that correct? can I force the program to calculate all of them?

thanks :)
George
Telerik team
 answered on 20 Feb 2014
4 answers
127 views
Hi i have a problem when i assign null to SelectedValue.

I have pictures in each of the control elements and when changing the value works perfectly. If you do not select anything right also works. The problem is when after having selected a value image, try to allocate a null control and I changed the text but the image remains.

I have tried:
this.DropDownList.SelectedItem = null;

and:
this.DropDownList.SelectedValue = null;

And not working properly.

Thanks, Regards.
George
Telerik team
 answered on 20 Feb 2014
4 answers
457 views
Hello there :)

First of all, this is my first time using Telerik and I`m loving it so far. :D

I`m trying to change the font size of some labels, and I need to do it runtime, after applying the initial theme. I have tried label.Font = new Font(labelFont.Name, 20f, FontStyle.Regular); and label.LabelElement.Font = new Font(labelFont.Name, 20f, FontStyle.Regular); none of them work. The function does get called, the font does get changed in memory, checked it with a breakpoint. How would I go about this?
Stefan
Telerik team
 answered on 20 Feb 2014
5 answers
636 views
Hi all,

I wondered if it was possible to use a virtual treeview, like in a gridview. There the option VirtualMode indicates that you implement you own data management routines, rather than adding items once... I expect to have a tree view with a lot of items, but I don't want them to be loaded at once (for performance reasons).

Does anyone have and idea?

Regards,
C.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 19 Feb 2014
5 answers
299 views
hi,
I'm trying to bind data table to gridview without any success.

My gridview contains a few columns like Date (DateTimeColumn),  Name (TextBoxColumn),  User: (ComboColumn)...

when i read my data from server to dataTable its contains (iDate, iName, iUser, and a few more columns,  more than the gridview contains)  
and as you can see the names of columns are differents.

In that case,   how can i bind the dataTable to gridview??   

Best regards,
Roy
Roy
Top achievements
Rank 1
 answered on 19 Feb 2014
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Form
Chart (obsolete as of Q1 2013)
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?