Telerik Forums
UI for WinForms Forum
3 answers
47 views

Hi

When I tried to open the examples I got the attached error then the Visual Studio is close

 

Any one has any idea regard that?!

 

Thanks in advance

Richard Slade
Top achievements
Rank 2
 answered on 30 Mar 2011
4 answers
64 views

Hi all,

I used RadDock but by mistake I deleted my windows document in the design view, however its still working in the runtime..

Can you tell me how to restore them back in the design view?

 

Thanks a lot


See the attached pictures

Nikolay
Telerik team
 answered on 30 Mar 2011
5 answers
822 views
Hi !

I have a datasource bound to rad datagrid. But the column order is not what I want.
How I cand give them the index that I want. ?

Hans
Richard Slade
Top achievements
Rank 2
 answered on 29 Mar 2011
6 answers
451 views
Hi,

I downloaded Telerik.WinForms.2011.Q1 dll's. I didn't find the 'Telerik.WinControls.Docking' dll in the list ?

Thanks
Stefan
Telerik team
 answered on 29 Mar 2011
0 answers
160 views
Hello...
I wanna create barcode for textentered... Telerik is providing a nice barcode generation in reports and my requirement is to use different "symbolize" to convert. I can go for any code but coding is different for each and every symbolize. My question is can i use reporting barcode in form...

If yes can u suggest me the code...
krishna
Top achievements
Rank 1
 asked on 29 Mar 2011
3 answers
133 views
I'm facing a problem while updating the DataTable. The SelectedRows list references the old objects when updating the DataTable using BeginUpdate and EndUpdate.

code snippet is as follows:
gridView.GridElement.BeginUpdate();
DataTable dt = gridView.DataSource as DataTable;
dt.Clear();
 
// Loops a list and add DataRows with dt.NewRow() function
 
gridView.GridElement.EndUpdate();

Upon execution of the above code, the SelectedRows should ideally be cleared. However, they are still having objects in the List. 
I'm not facing this issue when BeginUpdate() and EndUpdate() function is not used. 

I'm using Q1 2010 SP2.

I understand that this is a old version and it might have got resolved in latest versions, however, I'm not in a state to upgrade. Please suggest me some workaround for this.
Arunkumar Dharuman
Top achievements
Rank 1
 answered on 29 Mar 2011
3 answers
221 views
I have four ToolWindows added dynmaically to a RadControl.  These always render with equal sizes.  I want to make one of these a smaller fixed size with the others bigger to make up the difference.  I have tried setting the ToolWindow Height, the DockTabStrip Height, I've set the TabStrip.SizeInfo.SizeMode to Absolute, everything I try has no effect on the height.

I'm new to winforms and am struggling here.  Any help would be most welcome.
Stefan
Telerik team
 answered on 29 Mar 2011
5 answers
421 views
Hey all,

I have a multiview calendar that has 6 columns and 2 rows and I need to show January as the first month and December as the last month (for any selected year). I have set the rangemin to January 1st (selected year) and the rangemax to December 31st (selected year), however this does not cause January to be the first month, the first month is whatever the current month is (in this case March). So I tried setting the focusdate to January 1st (selected year) and that works, however it causes the calendar to look like January 1st is selected, which causes confusion because the user is looking at all of their scheduled working days for the year. I've tried to reset the focusdate to another date (that is a working day, thereby "hiding" the focusdate) within the selected year and that seems to work, however it seems like a workaround and I'm wondering if there is a better way to do what I'm doing.

I would think there is an easy way to set the first/last displayed month without having to set the focusdate. If anyone knows how to do this please let me know.

Also, how do I get rid of the border around today's date?

Thanks!

edit: Tried this, CalendarElement.Calendar.DefaultView.ViewStartDate = "1/1/" & GoalYear but that doesn't work either.

edit2: The above code allows me to click on the calendar header and then I can see that "View" and select it, however I need it auto selected of course

edit3: Ok, I'm seeing really weird behavior. I'm attaching 3 screenshots to show, but basically when the form loads the header says "January 2011-December 2011", however the calendar's start at March 2011 (screenshot 1). When I click on the header I get 2? view options, "January 2011-December 2011" and "December 2011-November 2012" (screenshot 2). If I select "January 2011-December 2011" (which is what I want it to load as) then the result is screenshot 3, which is correct.
Josh
Top achievements
Rank 1
 answered on 28 Mar 2011
1 answer
160 views

Hi

I want to use the grouping function of radScheduler to only group visible resources.
But it does not work, it always shows all resources.
What am I doing wrong?

*** sample code loading Resources

            Resource tempResource = null;

            recResourceGroup[] resourceGroups = plannerSettings.recResourceGroup;
            foreach (recResourceGroup resourceGroup in resourceGroups)
            {
                tempResource = new Resource("G-"+resourceGroup.No,resourceGroup.Name);
                tempResource.Visible = false;
                tempResource.Color = Color.Orange;
                plannerSchedule.Resources.Add(tempResource);

                recResource[] resources = resourceGroup.recResource;
                foreach (recResource resource in resources)
                {
                    string sKey = resource.IsRentalItem.ToString() == "1" ? "M" : "R";
                    sKey += resource.VirtualResource.ToString() == "1" ? "V-" : "-";
                    tempResource = new Resource(sKey+resource.No,resource.Name);
                    tempResource.Visible = false;
                    tempResource.Color = Color.Green;
                    plannerSchedule.Resources.Add(tempResource);
                }
            }

*** sample code loading Appointment-Resources

foreach (recResourceAssigned planningAssignedResource in planningAssignedResources)
{
    string sKey = null;
    switch (planningAssignedResource.Type.ToString())
    {
        case "0":  //resource
            {
                sKey = "R-" + planningAssignedResource.No.ToString();
            }
            break;
        case "1":  //resourceGroup
            {
                sKey = "G-" + planningAssignedResource.No.ToString();
            }
            break;
        case "2":  //workPlace
            {
                sKey = "W-" + planningAssignedResource.No.ToString();
            }
            break;
        default:
            {
                //error not supported
            }
            break;
    };
    schedulerApp.ResourceIds.Add(plannerSchedule.Resources.GetById(sKey).Id);
}

*** Sample code switching visibility of Resources

  foreach (Resource resource in radScheduler1.Resources)
  {
      string tempKey = resource.Id.KeyValue.ToString();
      switch(groupby)
      {
          case "resource":
              resource.Visible = tempKey.Contains("R-") ? true : false;
              break;
          case "resourceGroup":
              resource.Visible = tempKey.Contains("G-") ? true : false;
              break;
          case "workplace":
              resource.Visible = tempKey.Contains("W-") ?  true : false;
              break;
          case "order":
              resource.Visible = tempKey.Contains("J-") ? true : false;
              break;
         default:
              resource.Visible = false;
              break;
       }
...
  

 

 

radScheduler1.RepaintElements();

 

 

 


any ideas?
Daniel

Dobry Zranchev
Telerik team
 answered on 28 Mar 2011
3 answers
522 views

Hello!

Is it possible to set the font of the dropdown grid other then default "Segoe UI" ?

The expected behavior is that the grid must use the same font as RadMultiColumnComboBox.

The code I tried to use is similar to this:

RadMultiColumnComboBox combo = new RadMultiColumnComboBox();
combo.Font =new System.Drawing.Font("Microsoft Sans Serif", 8.25F); 
combo.EditorControl.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);

But the dropdown grid still uses Segoe UI Font.

Richard Slade
Top achievements
Rank 2
 answered on 28 Mar 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?