Telerik Forums
UI for WinForms Forum
1 answer
110 views
Hi,

Is it possbile to change the selected index on the datagrid view, I've tried to modify RadAlertsPanel.CurrentRow.ViewInfo.CurrentIndex But had no luck....

I'm new to this so any help would be appreciated.

Thanks Hayden
Jack
Telerik team
 answered on 19 Jan 2010
1 answer
307 views
Hi,
Can you explain the correct usage of the RadMultiColumnComboBox SelectedValue and Text properties.  It seems that they are not always in sync.  For example when the DataSource is set, the SelectedIndex == 0, SelectedValue == value of Item[0], but the Text property == "".

I'm trying to determine when I should (or could) use the Text property.  If I use it to "set" the Text property does the SelectedIndex/Item/Value also get set?

What event causes the Text property to be set?  Is it after an event is finished?

Thanks,
Mike
Deyan
Telerik team
 answered on 19 Jan 2010
1 answer
102 views
Hello,

I have RadScheduler working with WeekView and MonthView, but when I click on DayView nothing shows.  Any ideas?

Any help appreciated!
Thanks in advance.
Dobry Zranchev
Telerik team
 answered on 19 Jan 2010
2 answers
370 views
Hello,

I've used the Rad Scheduler for a while now the navigation popup calendar is not causing the date of the scheduler to change.  I believe this began shortly after changing to the 2009Q3 release.

Anything you can do to help is greatly appreciated.

Key Points:
1. Data Binding: The data is bound to the scheduler on the server side code where data is retrieved from the database and looped through to create a list<appointment> of appointment objects.
2. Navigation Arrows:  These were not working either, but after we made the setting of the startdate, enddate, and timezone offset be in an If(!IsPostback) block, the arrows now work (not the calendar)
3. The control has been placed on a page with no other controls and the problem persists

Below is the client code:

<pro:RadAjaxManager ID="RadAjaxManager1" EnableAJAX="true" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest"> 
    <AjaxSettings> 
        <pro:AjaxSetting AjaxControlID="CalendarRadScheduler"> 
            <UpdatedControls> 
                <telerik:AjaxUpdatedControl ControlID="CalendarRadScheduler" LoadingPanelID="RadAjaxLoadingPanel1" /> 
            </UpdatedControls> 
        </pro:AjaxSetting> 
    </AjaxSettings> 
</pro:RadAjaxManager> 
 
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel2" runat="server" /> 
 
        <pro:RadScheduler  
            ID="CalendarRadScheduler"  
            runat="server"  
            EnableAjaxSkinRendering="false" 
            Height="750px"  
            Width="578px"  
            ShowAllDayRow="False"  
            AllowDelete="False"  
            AllowEdit="False" 
            AllowInsert="False"  
            Skin="Office2007" 
            HoursPanelTimeFormat="h:mm tt"  
            MinutesPerRow="15"  
            ShowFullTime="True" 
            StartEditingInAdvancedForm="false" 
            DataKeyField="ID"  
            DataSubjectField="Subject"  
            DataStartField="Start"  
            DataEndField="End" 
            DataRecurrenceField="RecurrenceRule"  
            DataRecurrenceParentKeyField="RecurrenceParentID" 
            DayEndTime="18:30:00"  
            DayStartTime="08:00:00"  
            ShowFooter="false"  
            OnClientAppointmentInserting="AppointmentInserting" 
            OnClientAppointmentDoubleClick="AppointmentDoubleClick"  
            OnAppointmentCreated="CalendarRadScheduler_AppointmentCreated"  
            OnAppointmentDataBound="CalendarRadScheduler_AppointmentDataBound"  
            CustomAttributeNames="NetworkId"  
            OnAppointmentCommand="CalendarRadScheduler_AppointmentCommand"  
            OnFormCreating="CalendarRadScheduler_FormCreating"> 
             
             
            <AppointmentTemplate> 
                <div> 
                    <%# FormatCalendarMessage() %> 
                    <span style="text-align:right; vertical-align:top; width:100%;"> 
                     <asp:ImageButton Enabled="true" Visible="false" ID="ibtnEdit" runat="server" CommandName="EditMessage" 
                                ToolTip="Edit" AlternateText="Edit" CausesValidation="false" CssClass="linkButton" 
                                ImageUrl="~/images/edit.gif" OnClientClick="ChangeImg(this.id, 'loading');" /> 
                    &nbsp; 
                    <asp:ImageButton Enabled="true" Visible="false" ID="ibtnCopy" runat="server" CommandName="CopyMessage" 
                                ToolTip="Create Copy" AlternateText="Create Copy" CausesValidation="false" CssClass="linkButton" 
                                ImageUrl="~/images/copy.gif" OnClientClick="ChangeImg(this.id, 'loading');" /> 
                    </span> 
                </div> 
            </AppointmentTemplate> 
             
        </pro:RadScheduler> 

rjb227s
Top achievements
Rank 1
 answered on 18 Jan 2010
6 answers
299 views
hi,
i am opening google maps in a  browser control in radform. for this i need to to set com visibilty to true to communicate with javascript in locally hosted web page.
my code :

using System.Runtime.InteropServices;
using System.Security.Permissions;

    // Make COM Visible to communication with other App
    [ComVisibleAttribute(true)]
    // Set Security Level to Full Trust inorder to enable external Javascript function invokes and data passing
    [PermissionSet(SecurityAction.Demand, Name = "FullTrust")]

works perfect in simple .net forms
but gives error in rad form....
error:
A QueryInterface call was made requesting the default IDispatch interface of COM visible managed class 'TcpMappingServer.LivePlayAVL'. However since this class does not have an explicit default interface and derives from non COM visible class 'Telerik.WinControls.UI.RadForm', the QueryInterface call will fail. This is done to prevent the non COM visible base class from being constrained by the COM versioning rules.


Anysolution Please, ineed it quickly, if radform wont work will the shaped form work...
or any other solution with radform.
thanks in advance!!!

Deyan
Telerik team
 answered on 18 Jan 2010
1 answer
153 views
Hi telerik ,
                Can you please tell me that on latest  release WIN Form Control 3d Graph have supported or not,

Thanks,
Khalid
Dwight
Telerik team
 answered on 18 Jan 2010
3 answers
317 views
I'm using the RadItem Collection editor to add items to my combobox.  I see a place to enter the display text but where can I enter a value that I can use within c#?  I'm trying to use my combobox's SelectedValue property but it comes back as null.  Why would selectedtext come back as "" when it has been selected?

Thank You
Victor
Telerik team
 answered on 18 Jan 2010
1 answer
144 views
hi !
1. exists any way to have a editable tooltip in treeview ?
2.
        private void ToolTipNeeded(object sender, ToolTipTextNeededEventArgs e) 
        { 
            ... 
                    TreeNodeUI tree = (TreeNodeUI)sender; 
                    int level = tree.AssociatedTreeNode.Level; 
 
                    if (level == 0) 
                    { 
                        OnRaiseCustomEvent(new TooltipEventArgs(e)); 
                    } 
   } 
 
        private void OnRaiseCustomEvent(TooltipEventArgs args) 
        { 
            EventHandler<TooltipEventArgs> handler = RaiseCustomEvent; 
            if (handler != null) 
            { 
                //by the way  
                args.ToolTipText = new RadTextBox(); 
                args.ToolTipText.Text = "test";  
                handler(this, args); 
            } 
        } 
        private void HandleToolTipEvent(object sender, TooltipEventArgs e) 
        { 
            e.ToolTipText.Text = "444";  
        } 
 public class TooltipEventArgs : ToolTipTextNeededEventArgs 
    { 
        private RadTextBox txtTextBox; 
 
        public TooltipEventArgs(ToolTipTextNeededEventArgs args) 
        {            
            txtTextBox = new RadTextBox(); 
            txtTextBox.BackColor = Color.Transparent; 
            txtTextBox.ForeColor = Color.Black; 
            txtTextBox.Enabled = true; 
            txtTextBox.Text = "test"; 
            args.ToolTipText = txtTextBox.Text ; 
         } 
} 
 

That code pretends show a textbox instead of string tooltip (but doesn't work), what I can do , to be able for view the textbox ?
:\
thanks  in advantage :]
Martin Vasilev
Telerik team
 answered on 15 Jan 2010
9 answers
1.1K+ views
Does Telerik RadGrid (Win Form) have any auto-refresh property?
Veselin Vasilev
Telerik team
 answered on 15 Jan 2010
14 answers
327 views
It doesn't appear the DateTimePicker allows abitrarily entering text into it, but rather, it only functions as a picker.  Any way that in the future it could include functionality to arbitrarily enter a date?  Reasoning would be that if you are trying to pick a date WAY in the past, there is no easy way to get to it... you have to scroll through the months at maximum 6 at a time (3 before the current month, 3 after) which would take forever. 

Being able to enter arbitrary text as well as having the "quick month" selector let you also quickly select a different year would help solve that problem.  In other words, it should work similar to the ASP.NET RadCalendar (DatePicker mode).
Boyko Markov
Telerik team
 answered on 15 Jan 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?