Telerik Forums
UI for WinForms Forum
1 answer
207 views
How do I go about prevent all day appointments being created. If I create an appointment in the scheduler as normal and drag it to the top of the scheduler into the all day bar it changes the times to an all day event. I want to prevent them double clicking in the all day event bar or dragging and dropping an appointment in to this bar.

I've tried the following but it still allows me to create appointments
void rsTest_CellFormatting(object sender, SchedulerCellEventArgs e)
      {
          if (e.CellElement is SchedulerHeaderCellElement)
          {
              e.CellElement.Enabled = false;
              e.CellElement.Visibility = Telerik.WinControls.ElementVisibility.Hidden;
          }
      }
George
Telerik team
 answered on 16 Sep 2013
3 answers
162 views
Hi Team,

I have a requirement like 
i have a radForm in which radPageview and radPropertygrid controls are present.Here the radPageView size is not resizable,its statis.i want a functionality if i maximize the radPageview at runtime radPropertyGrid has to reduce its size accordingly and vice versa.something just like visual studio docking option
George
Telerik team
 answered on 16 Sep 2013
1 answer
231 views
Hello!

I am looking for a special component. It should be a slide bar on/off - something like this:
http://st.depositphotos.com/1575949/1271/v/950/depositphotos_12715551-On-Off-switch-slide-button-.jpg

Do you have something like this? Or maybe can you tell me how to create it for example from RadHScrollBar?

Many thanks

Kuba

Edit: OK! I'm close to get this component using RadHScrollBar. I have only one problem with it. There are ScrollsRadButtons. I define them Visibility to Collapsed, but they are there still. I can't slide my bar to the end (see attachment). I tried use PositionOffset and Location properties but it doesn't work. That buttons don't disappear. Only Margin properties looked good, but it changes size of thumb too much. I tried to set AutoSize property to False, but then my Thumb disappear and I don't know where (see attachment2).

What can I do to repair it?
Ivan Petrov
Telerik team
 answered on 13 Sep 2013
1 answer
124 views

I have a tree and each of it's node.text has two words. The first and second words should have different colors. I'm already changing the color of the text property but I can't figure out how to split the node.text in two different colors.

can you help me plz?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 Sep 2013
4 answers
159 views
Hi
I'm using PivotGrid and it's a amazing control, thanks.
now
CustomName property worked for RadPivotGrid.
But, I'm using RadPivotFieldList together.
When user remove one field and add again, it comes without CustomName.
how can I display CustomName in RadPivotFieldList?

Regards
pegah
Peter
Telerik team
 answered on 12 Sep 2013
3 answers
1.1K+ views
Hi,
    How to show the Context Menu only when right click the mouse on the selected row in rad grid.
    Please give solution for this......

Stefan
Telerik team
 answered on 12 Sep 2013
3 answers
212 views
Hi, is it possible to filter the items of a ListView by its CheckedState status?

Thanks,

Javier
Stefan
Telerik team
 answered on 12 Sep 2013
7 answers
233 views
Hello,

I am in the process of evaluating the WinForms Controls. Actually, when I saw the Bubble Bar in the Demos, I was convinced I need Telerik to go on with my project. However, I am trying to even start a project for the last two days and nothing seems to be going right, let alone set up a BubbleBar, which now, I have come to understand that it is not a native (Rad) control, but a derrivative.

Anyway, here's the problem. I tried to isolate the BubbleBar to another project (drawing from your demo source code). It seemed impossible to get the references right. So, I open a form and drag a label in it. I am thinking: "all relevant references must be inserted automatically now". And indeed they are (image1.png). You can see all controls in design time (image2.png). But, as soon as i try to compile, I get an error for each control as if I had never inserted a reference (image3.png). If it helps, in image4.png you can see my intellisense showing no namespaces other than "Examples", for Telerik.

What am I doing wrong?

Thank you in advance,
N.

PS:
I am working on VS2010, but later may be working on VS2008 as well.
Peter
Telerik team
 answered on 12 Sep 2013
3 answers
179 views

I am having a problem and had been searching the web and couldn't find anything that will help me.

this is my problem.
Im working in WinForm , c#

I have a grid where is a Column of type **GridViewDateTimeColumn**.
When the user update a row I check it in the event **RowValidating** and if I get a repeated date or other error I show the user a message and I do **e.cancel = true** to not validate the row.
But then If I press ESC. I cannot cancel all the changes like it usually does before 
Any idea how to do it?

Here is my code:

   private void grdPirteyMenahel_RowValidating(object sender, RowValidatingEventArgs e)
        {
            try
            {
                Cursor.Current = Cursors.WaitCursor;
                if (e.Row != null)
                {
  
//Generate a service to connect to DB
                   
                   var factory = new MezumanimChannelFactory<IKerenService>(ServiceConsts.SERVICE_KEREN);
                   var service = factory.CreateChannel();
                   string sError = string.Empty;
//here I call a SP in the database that check if the dates are correct (column of dates are call it "MiTaarich" and "AdTaarich".
//The SP return a String with the error, if there is no error it will return and empty string
 
                   sError = GetErrorPirteySacharMenahel(Convert.ToDateTime(e.Row.Cells["MiTaarich"].Value), Convert.ToDateTime(e.Row.Cells["AdTaarich"].Value), Convert.ToInt32(e.Row.Cells["Kod"].Value));
 
                                if (sError != string.Empty)
                                {
                                    e.Cancel = true;
                                    RadMessageBoxHelper.Alert(sError);
                                }
                   }
                       
            }
            catch (Exception ex)
            {
                 
                Elad.Mezumanim.Client.Utils.Log.LogUtil.write(ex);
                e.Cancel = true;
                RadMessageBoxHelper.Alert(Messages.DataDisplayError, this);
            }
            finally
            {
                Cursor.Current = Cursors.Default;
            }
        }


I also tried adding this code when i get the error:

 
DataTable dt = (grdPirteyMenahel.DataSource as DataTable);
dt.RejectChanges();


But this recover the value of date as it was before (what is good) but doesn't let me get out of the row when I press ESC

Any idea how to solve it?

thank you very much
best regards
Iair
                                   
George
Telerik team
 answered on 11 Sep 2013
1 answer
1.6K+ views
Hello,

I have a winform in which I have a pageview panel with two tabs

On first tab I can create a new claim, on second tab I can see existing claims.

If I create a new claim and then switch to the existing claims that new claim is not there. How can I refresh the data on the grid?

The claim is saved to a database.


Thanks in advance.
Dimitar
Telerik team
 answered on 10 Sep 2013
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
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
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
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?