Telerik Forums
UI for WinForms Forum
2 answers
138 views
I am using Grid1  to display data  and Grid2 To display Transpose
============== From RadGrid1=================================
id____ComboBoxColumn1_____ComboBoxColumn2______ComboBoxColumn3
1            PTN                                  KKA                                DDK

==============Want to display RadGrid2======================
HeaderLabel __________ HeaderCboCustomerID
ComboBoxColumn1           PTN        
ComboBoxColumn2           KKA    
ComboBoxColumn3           DDK
  • I want to transpose Grid to display data  on Event CurrentRowChanged
    Private Sub Grid1_CurrentRowChanged(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.CurrentRowChangedEventArgs) Handles Grid1.CurrentRowChanged
        UpdatePanelInfo(Me.Grid1.CurrentRow)
       //' I want to transpose Grid1 to display data Grid2  too.
    End Sub

**How i can ?
Jack
Telerik team
 answered on 04 Feb 2011
8 answers
1.2K+ views
Hello,

is it possibly to get the index of the last visible row?

Regards,
Thomas
Alexander
Telerik team
 answered on 04 Feb 2011
5 answers
510 views
When I set the CurrentRow on a row that is visible, the row is selected correctly.  However, when I set the CurrentRow on the Grid and it is not visible in the current scroll area of the Grid, it doesn't scroll to the CurrentRow.  And when you click the scrollbar, it automatically scrolls, but the wrong row is selected (the index always seems to be +1).

Example:

grdAwesome.MasterGridViewInfo.CurrentRow = grdAwesome.Rows[3];

works as expected, but

grdAwesome.MasterGridViewInfo.CurrentRow = grdAwesome.Rows[69];

doesn't work, as detailed above.

~DuckLeg
 |
 |
/|\
Jack
Telerik team
 answered on 04 Feb 2011
1 answer
157 views

I'm having a problem getting the mappings to work out. The dates and text items (subject, description, etc) seem to work fine, however id fields do not, nor do any of the boolean values (visible, all_day, etc.) I know the field names are correct. Oracle does not have a boolean field type, so I can return a number or a string. Any ideas?
A condensed version of the code is:

daTemp.Fill(dtAppts)
Dim appointmentMappingInfo As New Telerik.WinControls.UI.AppointmentMappingInfo()
appointmentMappingInfo.Start = "APPT_START"  '  One of the mappings
appointmentMappingInfo.BackgroundId = "BACKGROUND_ID"   '  One of the mappings
SchedulerBindingDataSource1.EventProvider.Mapping = appointmentMappingInfo
SchedulerBindingDataSource1.EventProvider.DataSource = dtAppts
RadScheduler1.DataSource = SchedulerBindingDataSource1

Later
Art

 

Dobry Zranchev
Telerik team
 answered on 04 Feb 2011
14 answers
479 views
Hi. I'm reading a set of dates from DB and based on the scenario, I've come-up with this:

private void LoadLocumDiary() {
  foreach (Availability AvailabilityL in DbContext.Availabilities.Where(avail=> avail.LocumID == LocumID).OrderBy(date=>date.AvailableDate)) {
    RadCalendarDay sday = null;
 
    switch (AvailabilityL.AvailabilityStatusID) {
      case 1: //Available
      sday = new RadCalendarDay(AvailabilityL.AvailableDate) {
        Disabled = false,
        Selectable = true,
        ToolTip = AvailabilityL.AvailabilityStatus.Name
      };
      sday.TemplateItem.BackColor = Color.Green;
      break;
 
      case 2: //Unavailable
      sday = new RadCalendarDay(AvailabilityL.AvailableDate) {
        Disabled = false,
        Selectable = true,
        ToolTip = AvailabilityL.AvailabilityStatus.Name
      };
      sday.TemplateItem.BackColor = Color.Red;
      break;
 
      case 3: //On Job
      sday = new RadCalendarDay(AvailabilityL.AvailableDate) {
        Disabled = false,
        Selectable = true,
        ToolTip = AvailabilityL.AvailabilityStatus.Name
      };
      sday.TemplateItem.BackColor = Color.Goldenrod;
      break;
 
      default: break;
    }
 
    CalendarDiary.SpecialDays.Add(sday);
  }
 
 // CalendarDiary.InvalidateCalendar();
}

Now, I'm getting a null exception on sday.TemplateItem. What am I doing wrong. i need to set a tooltip and a back color on a day-cell.
Richard Slade
Top achievements
Rank 2
 answered on 04 Feb 2011
3 answers
537 views
I cannot seem to keep the header row from auto-sizing its height.

What is the property that needs to be set to keep the header row height static and just use elipses if the text is too long?
Stefan
Telerik team
 answered on 04 Feb 2011
4 answers
230 views

Hi

I have radControls for winforms 2010 Q3

I tried "Custom Filtering" codes in demo and it works fine

But I want to search the child templates (child grids) too.

How can I do that?

thanks

Nikolay
Telerik team
 answered on 04 Feb 2011
8 answers
343 views
is there index property like selectedIndex in pageview view mode strip.
so that i can select page like panelBar.SelectedIndex=1 
Richard Slade
Top achievements
Rank 2
 answered on 04 Feb 2011
1 answer
170 views

In the gridview the default the cell formats should look like 0000.00

when the user tries to edit the cell
for Example :  when the user wants to type 100 ,

on typing first digit (ie) 1 - cell should show it has 0000.01
on typing the next digit (ie) 0 - it should show as 0000.10
on typing the last digit (ie) 0 -  it should show as 0001.00

that is , each char has to append one after the another in the above format

Richard Slade
Top achievements
Rank 2
 answered on 04 Feb 2011
2 answers
126 views
Hello guys. I'm trying different themes provided by Telerik on RadRibbon form + RadForm but I cant seem to get the desired Titlebar. I'm on a Windows 7 Professional x64 machine.

Two attached screens describe my dilemma...
DoomerDGR8
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 04 Feb 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
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
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
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?