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

[Solved] Usercontrol GUI lock by Ajax

1 Answer 102 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Oxygen
Top achievements
Rank 1
Oxygen asked on 25 Jun 2009, 09:26 AM
Hi

I have countered a problem using your radgrid, ajax and webusercontrol on insert

Im trying to create a new record using the built in "add new record" from CommandItemDisplay="Top". A webusercontrol shows up a everything is fine.

But:
In my usercontrol i have a textbox where I have a OnTextChanged event which sets up some settings for the user.
Now when i hit the tab-button the event fires correctly but after that my usercontrol GUI is locked. That is when i try to click on any other textbox inside my usercontrol is gets the "focus" or "pipe blinking" but i cant enter any text.

If I mark anything outside the usercontrol or have a button in the usercontrol that gets the focus it allows me to use the textboxes again.

I've trying running the usercontrol in another .aspx without it beeing used in a radgrid and that works fine. It is also working in the grid when im not using any Ajax.

This is how I use the Ajax:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">  
            <AjaxSettings> 
                <telerik:AjaxSetting AjaxControlID="radGRegisterTime">  
                    <UpdatedControls> 
                        <telerik:AjaxUpdatedControl ControlID="radGRegisterTime" LoadingPanelID="RadAjaxLoadingPanel1" /> 
                    </UpdatedControls> 
                </telerik:AjaxSetting> 
            </AjaxSettings> 
            <AjaxSettings> 
                <telerik:AjaxSetting AjaxControlID="radGRegisterTimeSecondaryTasks">  
                    <UpdatedControls> 
                        <telerik:AjaxUpdatedControl ControlID="radGRegisterTimeSecondaryTasks" LoadingPanelID="RadAjaxLoadingPanel1" /> 
                    </UpdatedControls> 
                </telerik:AjaxSetting> 
            </AjaxSettings> 
        </telerik:RadAjaxManager> 
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Height="75px" Width="75px" Transparency="10">  
           <img alt="Loading..." src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>' style="border:0;" /> 
   
        </telerik:RadAjaxLoadingPanel> 

The problem also occurs when using ms updatepanel.
 
So im thinking if there could be some threading that kinda lock the control.

Hope you see my problem.

Thanks in advance

1 Answer, 1 is accepted

Sort by
0
Veli
Telerik team
answered on 30 Jun 2009, 10:23 AM
Hello Thomas,

I cannot see anything wrong with your sample AJAX markup. To further investigate the problem we are going to need a sample runnable project where we can reproduce the behavior you are getting.

Please, consider opening a regular support ticket where you can upload a stripped down project highlighting this behavior. Once we are able to reproduce it, we will be able to better assist you with the solution.

Greetings,
Veli
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.
Tags
Grid
Asked by
Oxygen
Top achievements
Rank 1
Answers by
Veli
Telerik team
Share this question
or