Telerik Forums
UI for WinForms Forum
7 answers
291 views
hi
when I test your demo to export radgridview to pdf, it created a pdf with 5 empty pages !!!!!!
5 bookmarks but With white page !!!!!
what can I do Know?
Richard Slade
Top achievements
Rank 2
 answered on 01 Feb 2011
1 answer
154 views
Hello, can i add button to the ComboBoxColumn in Grid.
In CollectionGrid_CellEditorInitialized(object sender, GridViewCellEventArgs e) event i create:
RadComboBoxEditorElement editorElement = (RadComboBoxEditorElement)editor.EditorElement;
and next
RadComboBoxEditorElement editorElement = (RadComboBoxEditorElement)editor.EditorElement;
editorElement.DataSource = DictBindingSource;
 
and I try this:
RadButtonElement button = new RadButtonElement();
button.MinSize = new System.Drawing.Size(30, 15);
button.Text = "+";
button.MaxSize = button.MinSize;
editorElement.Children.Add(button);

but button is under Cobobox. Any idea?
Thanks for every help.
Richard Slade
Top achievements
Rank 2
 answered on 01 Feb 2011
6 answers
1.1K+ views
Hi,

I'm sure this is a quick issue but i'm struggling to find a solution on my own. Basically I used to have it where I would create a group and have the total number of rows within that group inside the group head. I used to use the following code

private void radGridView1_GroupSummaryEvaluate(object sender, GroupSummaryEvaluationEventArgs e)
{
    int contactsCount = e.Group.ItemCount;
    e.SummaryItem.Name = contactsCount.ToString();
}

But now that i've returned to my project after a break and updated to the latest controls, this no longer seems to function. Have I made an error somewhere or has the procedure completely changed with the latest version?

Regards,


Guy
Richard Slade
Top achievements
Rank 2
 answered on 01 Feb 2011
4 answers
373 views

Hi

I have a decimal Column in RadGridView with BeginEditMode = BeginEditOnKeystrokeOrF2 and using Danish culture.

When user presses ',' on the selected cell, cell goes to edit mode but ',' is not inserted in the cell. But if user now again presses comma, then it is inserted into the cell.

So if user wants to enter the value ,5 he has to press comma twice. Ofcourse he has no problom in entering 0,5

Note, this is when user enters to edit mode by pressing , not by pressing F2.

What should I do? Any help would be appreciated.

Thanks

Regards

Richard Slade
Top achievements
Rank 2
 answered on 01 Feb 2011
4 answers
130 views
Hi Everyone,

In my grid there's 3 columns, "Client Id", "Client first name", "Client last name".  The client first and last name columns are read only.  When the user enters the Client Id the CellValueChange event is fired, which gets the first and last name for the Client Id from the database, then puts the first and last name values in their respective columns. 

Here's the code:

Private Sub gridClients_CellValueChanged(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.GridViewCellEventArgs)

 

 

        Dim column As GridViewDataColumn = TryCast(e.Column, GridViewDataColumn)

 

 


        If
column IsNot Nothing AndAlso column.FieldName = "ClientId" Then

 

                e.Row.Cells(

"vcFirstName").Value = GetClientFirstName(e.Value)

 

                e.Row.Cells(

"vcLastName").Value = GetClientLastName(e.Value)

 

 

        End If

 

 

End Sub


This works great when editing existing records, but not at all for adding new records.  During add new, the event does fire, and does get the correct first/last name values, and the code to put the first/last name value does fire and seems to work, but when looking at the cell value, nothing actually gets there. 

If the new row is committed (by <enter> or clicking out of the row),  then going back and setting the client id, the code works.  But of course, that doesn't fulfill the requirements.  The code needs to work by merely <tabbing> out of the Client Id column on a new row.

Thanks in advance for any and all suggestions and advice.

 

 

Svett
Telerik team
 answered on 01 Feb 2011
7 answers
656 views
HI,

In my application,I have one GridView With 4 gridviewcomboboxcolumns(with Different Binding Source)...
It is possible to Cancle All changes made by user in single click....
And the restore gridview at starting position...?

Thank You
Richard Slade
Top achievements
Rank 2
 answered on 01 Feb 2011
1 answer
129 views
Hi,
Today I was facing an issue on creating New Appointment.
Steps to Reproduce:
1. Double click on Monday (say, 7th Feb 2011) and assign the following settings
1.1. Recurrence type: Weekly
1.2. Days of the week: Tuesday and Wednesday only.
1.3. Range of recurrence: Start by: 7th Feb 2011 and End by: 18th Feb 2011.

when assigning the above settings, the Appointment occurrence on 7th Feb 2011 is shown in the view. Whereas it shouldn't be shown as Monday is not configured on the RecurrenceRule. Subsequent week is shown correctly.

I'm using the following version in my machine: Winforms Q1 2010 SP2.

Please let me know how this issue could be solved.

Thanks,
Arun.Dharuman
Dobry Zranchev
Telerik team
 answered on 01 Feb 2011
1 answer
390 views
I have a radmenu inside a user control. I had set the autosize=true and autosizemode=GrowAndShrink for the user control. For the RadMenu I had set autosize=true and Orientation=Horizontal. I am adding menu items dynamically. But the usercontrol that holds the RadMenu is not growing automatically and RadMenu grows into a second row. How can I make the usercontrol grow automatically as RadMenu add new Items horizontally. Please advice. Please see the attachment.

Ivan Petrov
Telerik team
 answered on 01 Feb 2011
3 answers
283 views
Hello,
I am trying to follow along with webinars to learn the RadScheduler.  I successfully was able to create an application that had no resources, create schedules etc...I can save appointments and the Appointments table in the Telerik provided example database populates fine and all..when I have one resource only.

The problem comes when I try to save to a RadScheduler with more than 1 resource.
AppointmentsResources table in database does not seem to populate.  Also, newly created schedule item you just tried to save disappears.  No appointments load up on initial load either.
I tried to emulate it working by creating a manual entry in AppointmentsResources table, to no avail, so I deleted entry.
However, Appointments table still populates correctly.

Code is simple
Using Telerik provided database. Thank you very much!
Imports Telerik.WinControls.UI
  
Public Class Form1
  
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        'TODO: This line of code loads data into the 'SchedulerDataDataSet.Resources' table. You can move, or remove it, as needed.
        Me.ResourcesTableAdapter.Fill(Me.SchedulerDataDataSet.Resources)
        'TODO: This line of code loads data into the 'SchedulerDataDataSet.Appointments' table. You can move, or remove it, as needed.
        Me.AppointmentsTableAdapter.Fill(Me.SchedulerDataDataSet.Appointments)
  
  
  
        RadScheduler1.ActiveView.ResourcesPerView = 5
        RadScheduler1.GroupType = GroupType.Resource
  
  
  
  
    End Sub
  
    Private Sub SaveToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SaveToolStripMenuItem.Click
  
        Dim appointmenttableadapter As New SchedulerDataDataSetTableAdapters.AppointmentsTableAdapter()
        Dim resourcetableadapter As New SchedulerDataDataSetTableAdapters.AppointmentsResourcesTableAdapter()
  
  
        Try
  
            appointmenttableadapter.Update(SchedulerDataDataSet.Appointments)
            resourcetableadapter.Update(SchedulerDataDataSet.AppointmentsResources)
  
            SchedulerDataDataSet.AcceptChanges()
  
  
        Catch ex As Exception
            Throw ex
        Finally
  
        End Try
  
  
    End Sub
End Class
Joseph
Top achievements
Rank 1
 answered on 01 Feb 2011
1 answer
125 views

In building a user control where a ToolWindow hosts a RadCommandBar with a CommandBarDropDownList.
When browsing the associated events, I'm missing the SelectedValueChanged, SelectedIndexChanged. Even when I tried to add event handlers programmatically, they do not show up.

I’m using version v.2010.3.10.1109, with Visual Studio 2008 sp1 + .NET Framework 3.5 sp1, in a WinForms application.

I've tested this in another clean project, and the events do show up, however, the environment is Visual Studio 2010 + .NET Framework 3.5 sp1, and the suite's version is v.2010.3.10.1215.

Is the problem located on such diference of versions?

UPDATE:

YES, the issue is fixed on v.2010.3.10.1215 which contains the missing events. I just upgraded the tools and the project is now showing the events.

Drewanz
Top achievements
Rank 1
Veteran
 answered on 31 Jan 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?