Button clickable?

4 posts, 0 answers
  1. Patxi
    Patxi avatar
    70 posts
    Member since:
    Feb 2009

    Posted 20 May 2009 Link to this post


    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.
  2. Deyan
    Deyan avatar
    2147 posts

    Posted 20 May 2009 Link to this post

    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,
    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.
  3. Gagan
    Gagan avatar
    1 posts
    Member since:
    Feb 2014

    Posted 20 Feb 2014 in reply to Patxi Link to this post


     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
  4. Stefan
    Stefan avatar
    2911 posts

    Posted 24 Feb 2014 Link to this post

    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.

Back to Top