Telerik Forums
UI for WinForms Forum
2 answers
270 views
Hi!
Im using VB.NET and had created a RadPageView with 2 page.

1st page call = A
2nd page call = B

When first time load A is an default selected page.
When i click on page B it will do checking either file is exist.
if not exist than msgbox will popup and use code to select back the page A

Display page of A is correct but the B button is still in selected mode.
Mean i can see 2 page is selected.

My viewmode for the RadPageVIew is STACK

Hope to get the reply soon.

Thank you!

Regards
Johnny
Stefan
Telerik team
 answered on 21 Jun 2011
1 answer
148 views
hi
i am developing an online trading application using telerik winfroms products and i have a very annoying  scenario;
i am using rad Gridview to represent the marked data, when some updates comes from the server i have to update the data in the grid with this feed and change the cell back color based on that data, if the new value is greater than the old value i have to change the cell back color to green and if the new value is less than the old value i have to change the cell back color to red, The problem is i can't change the cell back Color in any method in my form and when i use the CellFormatting event i can't know the old value to make the compare and i can't store this old value in a global variable because its a muti threading  application and the updates come so fast.
any ideas?
thank you
Svett
Telerik team
 answered on 21 Jun 2011
4 answers
257 views

I have a hierarchic GridView and I want to scroll to the selected row after a new databind of the control.
If I do

this.radGridView1.TableElement.ScrollToRow(this.radGridView1.CurrentRow);

no problem if the current row is a parent row but if the current row is a child row the GridView scroll to the end.
How to scroll to a selected child row?
Thanks

Martin Vasilev
Telerik team
 answered on 21 Jun 2011
1 answer
133 views
I am trying to use your combo box that when it is dropped down the contents displayed show two lines of data for each row, but I cannot find out what properties I need to set.

You can see an example found on this page http://www.telerik.com/products/winforms/multicolumncombo.aspx under "Rotating Items on Double-Click."
Stefan
Telerik team
 answered on 21 Jun 2011
3 answers
308 views
Hello.
I have RadGroupBox control placed on RadPageView. The problem is with RadGroupBox colors: in desing mode everything is ok (see desinger.PNG from atachement), but when I run my application, the BackColor of RagGroupBox seems to be from main form instead of PadPage (see running.PNG), so it looks strange.

How to fix this problem?

(version Q1 2011, WinForms)

Thanks in advance.
Darek.
Stefan
Telerik team
 answered on 21 Jun 2011
4 answers
161 views
Hi,

Is there a way to hide a tab without removing it from the Pages collection? Can't find a property to do that.

Thanks!
Adrian
Top achievements
Rank 1
 answered on 20 Jun 2011
1 answer
213 views
Hi,

I have a requirement where I have to compare dates which are in the binded data set to grid. The priority column has to be set to a value and format the cell color to red/orange/gree based on the value of Targetdt and warningdate which is available in the datasource binded to the grid.

I am doing the following.
void rGridViewTasks_ViewCellFormatting(object sender, CellFormattingEventArgs e)
        {
                if (e.CellElement.ColumnInfo.Name == "Priority")
            {
                //if ((DateTime)e.CellElement.RowInfo.Cells["TargetDt"].Value >= DateTime.Now )
                //{
                //    e.CellElement.BackColor = Color.DarkRed;
                //    e.CellElement.Value = "1";
                //}
                //else if (((DateTime)e.CellElement.RowInfo.Cells["WarningDate"].Value >= DateTime.Now) &&
                //     ((DateTime)e.CellElement.RowInfo.Cells["TargetDt"].Value < DateTime.Now))
                //{
                //    e.CellElement.BackColor = Color.DarkOrange;
                //    e.CellElement.Value = "2";
                //}
                //else
                //{
                //    e.CellElement.BackColor = Color.DarkGreen;
                //    e.CellElement.Value = "3";
                //}
            }

}

the above WarningDate and TargetDt columns are not added as the columns in the grid, hence they are coming as null and giving a exception.

I checked the rowinfo databounditem and it is also null. Please advice.

regards,
Khizar

Alexander
Telerik team
 answered on 20 Jun 2011
1 answer
187 views
I am using Telerik Ribbon on my Application's Main Form. which I call from the Login Form within a Separate Thread (i.e. I start a thread, and within that thread, I load Main Form) using Application.Run(new frmMain()). On Main Form's Load Event, I am selecting a tab of Back Stage View dynamically. using following code

mainRibbon.BackstageControl.SelectedItem = bsvTabAccount;
mainRibbon.BackstageControl.ShowPopup(new System.Drawing.Point(0, 56), mainRibbon.RibbonBarElement);

My problem is, if I hit Enter key on back stage view, application throws exception which states,

System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.WinControls.UI.BackstageViewElement.ProcessKeyboardSelection(Keys keyCode)
   at Telerik.WinControls.UI.RadRibbonBarBackstageView.OnKeyDown(KeyEventArgs e)
   at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
   at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at Telerik.WinControls.RadControl.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Note: Exception does not appear if I click any tab of back stage view before I press Enter key.

Any help would be highly appreciated.








Ivan Todorov
Telerik team
 answered on 20 Jun 2011
4 answers
133 views
Hi,

i have a datasource where there is a status column and it is a enumerator having just a status code, I have a requirement that it should show the status text in the grid, but the control should not be a dropdown, it is just a simple text field in the grid.

is this possible to implement something like a combo or lookup but not as a dropdown field?

Regards,
Khizar
Stefan
Telerik team
 answered on 20 Jun 2011
5 answers
902 views
how do i install the internal builds? where do i need to put he assemblies? in GAC or somewhere else? and do i have to add them to the toolbox manually?
Stefan
Telerik team
 answered on 20 Jun 2011
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
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
Licensing
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?