Telerik Forums
UI for WinForms Forum
5 answers
241 views
Hi there,

I have a gridview which i just updated to the 2010 q3 and now I am getting errors every time i try to edit a cell.
It seems that every time I call gridview.MasterTemplate.Refresh() from within the end edit handler, I get an "Object reference not set to an instance of an object" error which originates from inside telerik code.

does anyone know why this is happening?

Thanks,
Matt
Jack
Telerik team
 answered on 16 Dec 2010
7 answers
312 views
Hi

I am trying to bind my existing appointments from database to the radschedular. But it is showing only the current time's appointment which is not in the database. Eg: If I execute my code at 4.15 pm then it is creating an appointment from 4.15 pm to 4.15pm in radschedular. This appointment is not there in the database.

I have used the following code :

SchedulerBindingDataSource dataSource = new SchedulerBindingDataSource();

              
                AppointmentMappingInfo appointmentMappingInfo = new AppointmentMappingInfo();
                appointmentMappingInfo.Start = "FromTime";
                appointmentMappingInfo.End = "ToTime";
                appointmentMappingInfo.Summary = "Subject";
               
                appointmentMappingInfo.
UniqueId = "ReservationID";
              
                dataSource.EventProvider.Mapping = appointmentMappingInfo;
                // assign the generic List of MyAppointment as the EventProvider data source
               
                dataSource.EventProvider.DataSource = reservationBO.getActiveReservationsByRoom(this.RoomId).ToList();
                this.radScheduler1.DataSource = dataSource;
               

reservationBO.getActiveReservationsByRoom(this.RoomId).ToList(); - This is the list which I am pulling out from the database.

If I am using
this.radScheduler1.DataSource = reservationBO.getActiveReservationsByRoom(this.RoomId).ToList();
then it is showing an error message : "Cannot implicitly convert type 'System.Collections.Generic.List<RMAS.Data.Reservation>' to Telerik.WinControls.UI.SchedulerDataSource' "

how can I fix this. Need your help
Dobry Zranchev
Telerik team
 answered on 16 Dec 2010
10 answers
400 views
Can you provide some guidance on how to display the RadTreeView in a combobox so that when I select a node, that node get's displayed in the combobox.

Thanks,
Nisi
Julian Benkov
Telerik team
 answered on 16 Dec 2010
5 answers
288 views
Hello to you all,
I'm translating the resource strings in Scheduler. I have a problem with the Recurrence DialogBox.
The italian text is simple too long to write in the narrow space provided for the various labels.
Is it possible to wide the distance between labels?
(See the attached image)

Dobry Zranchev
Telerik team
 answered on 16 Dec 2010
9 answers
217 views
Hello,

when i put a long text into a cell within a gridview, e.g. "aaaaaaaaaaaaaaaaaaaa", then the first part of the string has a different font size. The second part of the string appears smaller (less space between characters). How can I turn of this feature?
Is this a global setting? I think this could happen to other controls as well.

Thanks for your help
Fabian
Richard Slade
Top achievements
Rank 2
 answered on 16 Dec 2010
7 answers
232 views
hi,

i am using inheriting RadMaskedEditBox in a user control with Mask="D" for numeric only text boxes.
the strange behavior is that the textbox text becomes "0" when the control lost focus.
i traced it the problem arises from RadMaskComplexEditBehavior.UpdateUI() the change the RadMaskTextBox.ParentText to "0" and problem starts!

how can i solve this problem ?

thanks.
Richard Slade
Top achievements
Rank 2
 answered on 16 Dec 2010
13 answers
293 views
Hello all,

I have RadTreeView control with some information on my form. User can change nodes text manually. After user changed node text I need validate it. If validation failed I have cancel this changes. How can I do it?
Events like NodeValidate are missing. Could you suggest how to solve this problem?

Best regards,
Andrew Shyliuk
Andrew Shyliuk
Top achievements
Rank 1
 answered on 15 Dec 2010
1 answer
132 views
I'm trying to create my own theme, specifically for the Winforms GridView. I can't even get started. I've included the first 4 instructions from the help file. I can't even get past step 2, I can't find the Visual Style Builder on the Smart Tag. Any help would be great.

From the help file.

You can customize your theme based on the built-in themes. For example, to change the color of header area, follow these steps:

  1. Select a RadGridView control.
  2. Start Visual Style Builder from the RadGridView Smart Tag.
  3. Set the Theme Name to "My Theme".
  4. In the Control Structure tab, locate and click GridHeaderCellElement.
Nikolay
Telerik team
 answered on 15 Dec 2010
2 answers
257 views
I am trying to set confirmDelete to ask if they want to delete a specific vendor.  \

<asp:Button ID="deleteButton" style="text-decoration:none" CommandName="Delete" runat="server" Text="Delete"
                                    CommandArgument='<%# Eval("VendorCode") + "," + Eval("Vendor") %>' OnClick="vendor_Delete"
                                    OnClientClick='<%#Eval("Vendor", "return confirmDelete(\"{0}\")")%>'
                                 </asp:Button>

    <script type="text/javascript">
        function confirmDelete(vendor) {
            alert("Are you sure that you want to delete " + vendor + "?";
        }
    </script>

I am getting a The server tag is not well formed.  Can you help me with this?

Thanks.
Amanda
Top achievements
Rank 1
 answered on 15 Dec 2010
7 answers
168 views
hi team,

when tabbed document,right now i cannot do the float mode option.

please help me to get float option also.

Like toolwindow i need to giva the same drag option to tabbed document.
Julian Benkov
Telerik team
 answered on 15 Dec 2010
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?