This is a migrated thread and some comments may be shown as answers.

Button clickable?

3 Answers 106 Views
Buttons, RadioButton, CheckBox, etc
This is a migrated thread and some comments may be shown as answers.
Patxi
Top achievements
Rank 1
Patxi asked on 20 May 2009, 11:04 AM
Hello!

In my desktop application I´m trying to implement telerik winform controls.

when I have used radbutton I´ve got a problem. I´m not able to click on the buttons.

This is the code I´ve used fot a button which is not clickable in my case:

//this.btnNew.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); 
this.btnNew.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(119)))), ((int)(((byte)(169))))); 
this.btnNew.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnNuevo.BackgroundImage"))); 
//this.btnNew.FlatAppearance.BorderColor = System.Drawing.Color.White; 
//this.btnNew.FlatStyle = System.Windows.Forms.FlatStyle.Popup; 
      this.btnNew.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); 
this.btnNew.ForeColor = System.Drawing.Color.White; 
this.btnNew.ImageAlignment = System.Drawing.ContentAlignment.MiddleLeft; 
this.btnNew.ImeMode = System.Windows.Forms.ImeMode.NoControl; 
this.btnNew.Location = new System.Drawing.Point(512, 417); 
this.btnNew.Margin = new System.Windows.Forms.Padding(0); 
this.btnNew.Name = "btnNuevo"
this.btnNew.Size = new System.Drawing.Size(90, 35); 
this.btnNew.TabIndex = 42
this.btnNew.Text = "Nuevo"
this.btnNew.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; 
//this.btnNew.UseVisualStyleBackColor = false

The commented lines are because radbuttons don´t recognize those properties. They were used before with windows form controls.

do you know why button can´t be clickable?

Than you in advance.

3 Answers, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 20 May 2009, 12:55 PM
Hi Patxi,

Thanks for contacting us.

Could you please make sure that you have provided a handler for the Click event of RadButton?

From the code that you pasted, I could conclude that the only reason for you experiencing this behavior is that you have not provided an event handler for the Click event of the button.

I hope this will help and I am looking forward to receiving further details on your case.

Kind regards,
Deyan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Gagan
Top achievements
Rank 1
answered on 21 Feb 2014, 05:42 AM
Hello

 I M a fresher in development field. My company has been assign Existing Desktop Application for create a new Module.In this existing Application use Telerik control.I m not much know about Telerik Control. Please Suggest me what i do....I hope u help me.

Thanks & regards
Advance Thanks
0
Stefan
Telerik team
answered on 24 Feb 2014, 07:16 AM
Hello Gagan,

Thank you for writing. 

Your question does not seem related to the initial subject of this thread. I would kindly ask you to separate the threads that are not related to each other in separate threads. With this in mind, please open a new thread and explain in detail what are the difficulties you have and what your goals are. In addition, please specify which is the version on the control used to build the existing application.

Thank you in advance for your time and cooperation.

Regards,
Stefan
Telerik
Tags
Buttons, RadioButton, CheckBox, etc
Asked by
Patxi
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Gagan
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or