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

RADAjax not working with RadButton

6 Answers 183 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 2
Richard asked on 14 Jan 2009, 05:39 PM
Hello
I am using  Version 1.8.1.0 of RadAjax .NET2

On the web form I have 5 radio button controls (note: not a radio list), 1 checkbox control, 1 label control, and 1 RadAjax Manager.
On clicking  any of the radiobuttons or checkboxes, the label is supposed to display a message. I have set RadAjax manger to register the triggers of these controls and to update the label.  Unfortunately, it seems that the radiobuttons do not trigger an event but only the checkbox does.  An advice appreciated please.
Thanks
R

6 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 14 Jan 2009, 05:50 PM
Hello Richard,

Please check whether the AutoPostBack property of the RadioButton control is set as true in your project.

Kind regards,
Daniel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Richard
Top achievements
Rank 2
answered on 15 Jan 2009, 09:24 AM
Hello

I confirm that it is set to true. 

It does post back - I set a breakpoint on the "CheckedChanged" event.  However, the label does not seem to update.  I can confirm that I have set the label control to be updated in RadAjax manager. 

Any more advice appreciated please.

Cheers
Rich

0
Daniel
Telerik team
answered on 15 Jan 2009, 11:23 AM
Hello Richard,

Please take a look at the attached example and let me know whether it behaves as expected on your side.

Best regards,
Daniel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
kavitha
Top achievements
Rank 1
answered on 16 Dec 2010, 11:24 PM
Hello,

  I have a page with a RadAjaxPanel and outside the panel I have a RadButton control. The click event of the radbutton control does not fire. could you please tell me if this is expected behaviour and what i need to do?

This is how the radbutton control looks

<

 

 

telerik:RadButton id="btnSubmit" runat="server" UseSubmitBehavior="false" Text="Submit" BackColor="#0F65A7" OnClick="btnSubmit_Click" CommandName="Submit" AutoPostBack="true">

 


I have tried putting the control within the RadAjaxPanel and that did not help either. Please provide some information

Thanks,
Kavitha
0
Nikolay Rusev
Telerik team
answered on 22 Dec 2010, 12:53 PM
Hello Richard,

I am not able to observe any issues using RadButton and RadAjaxPanel together. Server events are triggered as expected.

Regards,
Nikolay
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
kavitha
Top achievements
Rank 1
answered on 26 Dec 2010, 09:49 PM
I had to exclude the control from ajaxifying as posted in the following url and then the button click worked. I am not sure why i see this behaviour when the control is out of the radajaxpanel.

http://www.telerik.com/help/aspnet/ajax/ajxexclude.html

But for now the code in the post above makes the button click work

Thanks,
Tags
Ajax
Asked by
Richard
Top achievements
Rank 2
Answers by
Daniel
Telerik team
Richard
Top achievements
Rank 2
kavitha
Top achievements
Rank 1
Nikolay Rusev
Telerik team
Share this question
or