reflowing error in IE

5 posts, 0 answers
  1. cramer
    cramer avatar
    6 posts
    Member since:
    Jul 2011

    Posted 23 Jun Link to this post

    Hello,

    Have a model radwindow open where the contents of the page contains an asp repeater that generates dynamically rad input controls.

    Everything works great until something in the page does an ajax callback.

    At that point it is is still ok until you try to do something with the radwindow (move, close, resize ect..)

    When you do I get the following error message 

    "Error: Unable to get property 'reflowing' of undefined or null reference"

    trigger [Line: 11557, Col: 33], Telerik.Web.UI.WebResource.axd
    b.DropDown.prototype.reflow [Line: 12369, Col: 1], Telerik.Web.UI.WebResource.axd
    Anonymous function [Line: 12401, Col: 36], Telerik.Web.UI.WebResource.axd
    m.event.dispatch [Line: 1522, Col: 8380], Telerik.Web.UI.WebResource.axd
    r.handle [Line: 1522, Col: 5064], Telerik.Web.UI.WebResource.axd

    This error only occurs in IE (tested in IE 11, chrome and firefox)

    Was wondering if anyone has run into this before and what can be done to fix this.

    Thanks.

  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3602 posts

    Posted 24 Jun Link to this post

    Hi,

    Can you confirm IE is not in Compatibility Mode? If it is in standards mode, can you post here a small example that shows the problem?

    In the meantime I can suggest you consider using a content page for the RadWindow instead of the ContentTemplate so the controls in it (the repeater in this case) will have their own context and will not be affected by potential issues in the AJAX setup on the main page.

    Regards,

    Marin Bratanov
    Telerik
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. cramer
    cramer avatar
    6 posts
    Member since:
    Jul 2011

    Posted 27 Jun in reply to Marin Bratanov Link to this post

    Hello,

    Was mistaken in that I am not using a repeater but rather RadListView in the problem window.

    IE is NOT in compatibility mode.

    I do not use content template for the window but rather open another page using radwindow setUrl and show client side methods

    The layout is a modal rad window that then contains 2 radwindows inside of it...all based on master pages

    The "editor" window uses database settings to dynamically create rad input controls to edit data...radtextbox, radnumerictextbox, radcombobox etc.  Certain controls when a value are entered needs to do a lookup and populate other fields so uses RadListView.fireCommand to do the lookup and "rebuild/repopulate" the controls.

    But once this lookup happens then the "editor" window can not be resized, closed etc due to getting the reflow error.

    But the parent radwindow refresh, close etc works fine in this scenario.

     

    What kind of example would you need?  Not sure what exactly I could give you due to the complexity and database specific driven code...

    Thanks

  5. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3602 posts

    Posted 28 Jun Link to this post

    Hi,

    I am attaching here a small sample that mimics the setup. I suggest you test and compare it with yours to see if you can find the difference that causes the problem. If not, I suggest you modify it so it showcases the issue.

    I am not sure when and how you use the listview commands to edit contorls inside the items, but I would suggest using postbacks (i.e., the standard postback events of the controls), because the commands have internal workings in the listview and are not the best place to implement such custom logic. Or, you can use client-side code and fetch additional data through a web service and popupate it via JavaScript.

    In the meantime, since only the child dialogs have this problem, I suggest you look into the following:

    A few other things you can try in the meantime:

    ensure all Telerik controls are using their Lightweight RenderMode. You can set it globally in the web.config

     

    Regards,

    Marin Bratanov
    Telerik
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  6. cramer
    cramer avatar
    6 posts
    Member since:
    Jul 2011

    Posted 28 Jun in reply to Marin Bratanov Link to this post

    Hello,

    Thank you for all the help.  

    In my scenario I had a radcombobox opened after postback. So took your advice and made sure the combobox was not dropped down and now appears to be working correctly. 

Back to Top
UI for ASP.NET Ajax is Ready for VS 2017