Telerik Forums
UI for WinForms Forum
2 answers
219 views
Hi,

I have a winform where i generate a RadGridView at runtime with three GridViewTextBoxColumn for editing and bind data at runtime. For one particular cell in a row alone i need a Combobox instead of Textbox. This also must be done at runtime dynamically. Can you advice on how to implement this?

thanks
J Sagayanathan
Richard Slade
Top achievements
Rank 2
 answered on 07 Feb 2011
1 answer
167 views
Is there a property on the radgrid that will stop a column from being part of the horizantal scroll. For eg:- When the grid scrolls horizantally, I do not want the left most column to scroll as I want it to remain on the screen. Similarly, on a vertical scroll, I do not want the column headers to disappear from the screen.

Thanks
Deepak
Richard Slade
Top achievements
Rank 2
 answered on 05 Feb 2011
3 answers
485 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
340 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
146 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
532 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
168 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
488 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
559 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
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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
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
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?