Telerik Forums
UI for WinForms Forum
1 answer
167 views
Hello,
I'm working with the RadCalendar control in both the Winform environment.  We need to restrict the dates that can be selected in the RadTimePicker control to a specific list of dates.  We also need to highlight the dates that can be selected.  A different background color on these dates would help the users pick a allowed date.  We also need to restrict the user from selecting dates that are not on the allowed list of dates.

Is there a way to do this?

Thank you in advance for the feedback and guidance!

Your help is much appreciated,
Jeff-
Boyko Markov
Telerik team
 answered on 02 Feb 2009
1 answer
76 views
Sorry, this thread should be created inside the OpenAccess-Forum. I thought I created it there but there must had been any error.
Please delete this thread.
Nils
Top achievements
Rank 1
 answered on 31 Jan 2009
2 answers
94 views

Hello Telerik team,

I used to have set of columns that have a MinWidth and MaxWidth set by designs. Resizing is allowed.

The MinSize is being used to set a default minimal width when shown initially 

Once the control has been painted it should set the minimum width of the rows to Zero, so that the user can adjust the width to their own desire.

This is shown in the following code...


 

 

 

 

private bool _isFirstPaint = true;

 

 

 

 

private void MyGridViewContainer_Paint(object sender, PaintEventArgs e)

 

{

 

 

 

if (_isFirstPaint == true)

 

{

 

 

 

//after 1st draw, we reset the minimum column width so that the collumns can be resized by the user below the initial minimum width set by design.

 

 

 

 

 

 

 

 

 

 

foreach (GridViewColumn column in this.radGridView1.Columns)

 

{

column.MinWidth = 0 ;

}

 

 

 

this.Paint -= new PaintEventHandler(MyGridViewContainer_Paint

_isFirstPaint = false;

 

}

 

 

 

 

else

 

 

 

 

 

 

 

{

_isFirstPaint =

 

 

false;

 

}

}



The problem is that this used to work with the 2008Q2 version, but not with the above versions.
Since we now switched to 2008.3.1204 and just a little later to 2008.3.1321, this problem has arrisen.

Please let us know what to do to overcome this change in behaviour.

Kind regards,

Jack

 

 

Jack
Telerik team
 answered on 30 Jan 2009
5 answers
985 views
Hi, how can I do to count every checked nodes in a radtrreview in C# ? Thanks.
Boyko Markov
Telerik team
 answered on 30 Jan 2009
3 answers
158 views
hi!
i use treeview in my project.
I usually use mouse when i controlling of treview. But, sometimes,i use Up and Down button (keyboard).
i wanna select node if it's focused. (select and focus a node not same)
how do i that.
thanks.
Jordan
Telerik team
 answered on 30 Jan 2009
5 answers
171 views
Is there a planned release date for a non-Beta official relase of the CAB enabling tool kit?  Will the official release also support VS 2008 and .Net 3.5?

Thanks!
Jordan
Telerik team
 answered on 30 Jan 2009
1 answer
199 views
I have done searches and cannot find anything on this.  I have a parent/child application, each child has it's own stuff to do, esentially what I am trying to do is. when you click a tab, the child form loads into the parent and inserts it's "ribbon" of items into the parent ribbon.

If that's not possible, how would I then go about issuing commands in the child from the parent ribbon.

Please, this is driving me crazy and I know it shouldn't be this hard.

Thank you in advance

BTW: I am trying this with Q3 2008 General Release
Peter
Telerik team
 answered on 30 Jan 2009
0 answers
161 views

We have a problem in our Windows Forms Application. (.net 3.5)
We have many gridviews in different forms but they have same datasource which is datatable. Datatable gets updated rapidly by socket messages in socket class. Then gridviews refresh automaticaly when datatable gets updated.

The problem is gridviews freeze and it also freezes application.

we tried many difference solutions but they didnt work.

Any suggestions?

Thank you...

This is the sample of our program...

-----------Program.cs--------------------------------------------

        [STAThread]

        static void Main()

        {

            Application.EnableVisualStyles();

            Application.SetCompatibleTextRenderingDefault(false);

            Application.Run(new Main());

        }

------------------Main.cs--------------------------------------------------------------------------------

public partial class Main : Form

    {

        public Main()

        {

            InitializeComponent();           

        }

        private void Main_Load(object sender, EventArgs e)

        {

            GridForm form1 = new GridForm ();

            form1.MdiParent = this;

            form1.Show();

        }

    }

----------------GridForm.cs-----------(DataGridView in this Form)-----------------------

public partial class GridForm : Form

    {

        public GridForm()

        {

            InitializeComponent();

        }

        DataView dv_datatable;

        private void GridForm _Load(object sender, EventArgs e)

        {

            dv_ datatable = new DataView(Global.DT);

            x_GridView.DataSource = dv_ datatable;

        }

     }

--------------Socketp.cs------------------------------------------------------------------------------------

public class Socketp

    {

      public Socketp ()

        {

            bwListener = new BackgroundWorker();

            bwListener.WorkerSupportsCancellation = true;

            bwListener.DoWork += new DoWorkEventHandler(bwListener_DoWork);

            bwListener.RunWorkerAsync();

        }

        void bwListener_DoWork(object sender, DoWorkEventArgs e)

        {

            SubscribeServer();

        }

public void SubscribeServer()

        {

            //Some Socket Codes

            IPEndPoint ipe = new IPEndPoint//…

            clientSocket = new Socket(ipe.AddressFamily, SocketType.Stream, ProtocolType.Tcp);           

            clientSocket.Connect(ipe); networkStream = new NetworkStream(clientSocket);  

            …        

            //Some Socket Codes

 

            while (clientSocket.Connected)

            {

                ///SomeCodes

            byte[] buffer = new byte[clientSocket.ReceiveBufferSize];

                ///SomeCodes

 

          DataRow rowx = Global.DT.NewRow();

          rowx ["ISLEM"] = fields[3];

          Global.DT.Rows.Add(rowx);//DataGridView is updated auto...

            }

        }

       

    }

 

Note : Form's DoubleBuffered attribute is true.

yusuf
Top achievements
Rank 1
 asked on 29 Jan 2009
1 answer
238 views
The row is selected, but when I open dropdown, I have to scroll down manually to locate it. Is there any way how to scroll down to the selected row programically?
Nick
Telerik team
 answered on 29 Jan 2009
3 answers
260 views
Hi,

I am using RadScrollbar control with the System.Windows.forms.Webbrowser control instead of its default scrollbars and I am handling it by mouse click event and its working fine but I also need to handle the mouse wheel event for the RadScrollbar. Could you please help me in this regard. 

Thanks and regards

Hassan
Mike
Telerik team
 answered on 29 Jan 2009
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
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
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
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
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
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?