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

Button Click not working for the second time.

3 Answers 162 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Suresh
Top achievements
Rank 1
Suresh asked on 29 Aug 2012, 02:56 PM
Hi,
       
                In my aspx page, I got two List view and an add button. I am trying to remove one row from the list view and adding it to another List view. The button click event is working fine for the first time. But not working on the second time.

My settings

<telerik:AjaxSetting AjaxControlID="cmdAdd">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="lv1" /> 
                    <telerik:AjaxUpdatedControl ControlID="lv2" />             
                </UpdatedControls>
</telerik:AjaxSetting>

if I remove the above settings code, the button click event is working fine. 

When I checked the generated html on firebug  the following click event disappears on second time. Any idea how to fix it? am I missing any settings? Thanks for the help. 

onclick="javascript:__doPostBack('ctl00$ContentPlaceHolder1$cmdAdd','')" 





3 Answers, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 02 Sep 2012, 05:22 PM
Hello,

Please set below property in radajaxmanager and check.

RequestQueueSize="50"



Thanks,
Jayesh Goyani
0
Suresh
Top achievements
Rank 1
answered on 03 Sep 2012, 07:50 AM
Thanks for the Reply Jayesh. But it didn't helped. I also try to increase Request Queue Size. Still Same Problem.  I got some other buttons on the same page  are working fine. Only this button is not working good. Any better solution? 
0
Vasil
Telerik team
answered on 05 Sep 2012, 02:32 PM
Hi Suresh,

Do you make any dynamic changes to the settings during the callbacks?
Can you share the whole declaration of the manager and the structure of the controls (their declaration without additional unrelated properties/templates)

All the best,
Vasil
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Ajax
Asked by
Suresh
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Suresh
Top achievements
Rank 1
Vasil
Telerik team
Share this question
or