Telerik Forums
UI for WinForms Forum
3 answers
369 views
Hi Guys,

I have a situation like a tool window is populated with different radforms name. When I click a radform name from the tool window menu list that radform appear in raddock. When user click on different radform name that form will appear.
Now the problem is when click the name of radform which is already opened it couldn't got activated. Any suggestion to resolve the issue. I highly appreciate the reply. Please find the snap shot of the scenario for clear picture. 
Kind Regards.

     
Richard Slade
Top achievements
Rank 2
 answered on 05 Feb 2011
2 answers
263 views
Hi

Error: The type initializer for 'Telerik.VSX.WinControls.ThemeResolutionService' threw an exception.

When creating a new RadControls WinForms or ASP.NET Rad Web  project using the latest builds as of today

In Visual Studio 2010 Utlimate/Windows 7 x64 I start...
Tererik > RadControls for Windows > Create new Telerik Project.
Give my project a name. Click ok.  Then I get this error.
The type initializer for 'Telerik.VSX.WinControls.ThemeResolutionService' threw an exception
My project folder is created and that's all.

So far to resolve, I have:
Run Visual Studio 2010 setup in repair mode.
UnInstalled RadControls_WinForms_2010_3_10_1215_dev
ReInstalled RadControls_WinForms_2010_3_10_1215_dev.msi

Any help will be appreciated.

Thanks
Rick Hubka
Top achievements
Rank 1
 answered on 04 Feb 2011
2 answers
95 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.0K+ 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
468 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
124 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
387 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
455 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
171 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
277 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
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)
Chart (obsolete as of Q1 2013)
Form
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
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
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
NavigationView
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?