Decoration delay ...

14 posts, 0 answers
  1. Henrik Brinch
    Henrik Brinch avatar
    100 posts
    Member since:
    Aug 2004

    Posted 21 Apr 2008 Link to this post

    Am I the only one that experiences a delay in the rendering - e.g. you can see the original controls during page load and the skin is applied when the page is finished loading.   This of course dramatically increases when the page being loaded is large and doesn't look professional.   ... and yes, I am using <head runat="server" ...>     In fact this is also slightly reproducible in the online demos.

    Any workarounds on this?
  2. DonKitchen
    DonKitchen avatar
    92 posts
    Member since:
    Jul 2007

    Posted 21 Apr 2008 Link to this post

    Yes, I have also noticed this.  You just beat me to the post.

    This definitely seems to be an issue that would prevent using this in a real world situation, at least for me.

    Any way to resolve this?
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Martin
    Admin
    Martin avatar
    585 posts

    Posted 22 Apr 2008 Link to this post

    Hi Chris Ruegsegger,

    RadFormDecorator is still in development, and I believe we will manage this issue soon.

    All the best,
    Martin Ivanov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. Henrik Brinch
    Henrik Brinch avatar
    100 posts
    Member since:
    Aug 2004

    Posted 22 Apr 2008 Link to this post

    Glad to hear you are aware of the problem, as I also think this makes it quite useless.

    Btw. is it possible to create a mouse-down effect when actually clicking decorated buttons?
  6. Martin
    Admin
    Martin avatar
    585 posts

    Posted 25 Apr 2008 Link to this post

    Hello Henrik Brinch,

    Yes, the mousedown change of looks is put down on our todo list for RadFormDecorator.

    Best wishes,
    Martin Ivanov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  7. Patrick Cravens
    Patrick Cravens avatar
    6 posts
    Member since:
    Sep 2005

    Posted 30 Apr 2008 Link to this post

    << RadFormDecorator is still in development, and I believe we will manage this issue soon.>>

    Do you have a date on when it will be 'out of development'? Thanks
  8. Tervel
    Admin
    Tervel avatar
    1337 posts

    Posted 06 May 2008 Link to this post

    Hi all,

    Let me present you with some extra information about how the FormsDecorator works, what can and what cannot be done, how it should be done, and what our plans for the control are.

    About the delay
    ----------------------
    Please note that at present all you needed to do is add the decorator to the page, no other changes to your code required. Obviously, the decorator does its work on the client.

    The FormDecorator control is implemented as a standard MS AJAX control. What this means is that its initialization code runs at window.onload. Thus, in most cases one will be able to see the original "browser" checkboxes and buttons, before the decorator replaces them.

    Now, from 1 and 2 it follows that using this approach there will be a delay, and it won't majically go away.


    However, our plans for the development of the control is to provide a set of server classes that will inherit from the default ASP.NET classes - Button, CheckBox, etc. These classes will output from the server the same rendering that is currently created on the client - much like any other Telerik control. Thus, the delay will be gone, however you will need to do some extra work on your pages and replace the declarations, e.g. <asp:Button> with <telerik:Button>.

    We also plan to provide "skinning" for <textarea> and <textbox> elements, and possibly some others (e.g. <label> elements). There also will be a mousedown CSS, as already mentioned.
    I cannot give you an ETA on this, but since the FormDecorator si generating a lot of interest from the community, we will do our best to have these features implemented in Q2 2008.

    I hope this information is helpful and I will keep you updated as new features come along.


    All the best,
    Tervel
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  9. Christopher Blickley
    Christopher Blickley avatar
    202 posts
    Member since:
    Jan 2004

    Posted 06 May 2008 Link to this post

    I've noticed the delay as well, and it seems very similar to a post I just made in the RadSplitter forum, where using it full screen, there is a noticeable delay before everything resizes properly.

    Perhaps it is something with MS Ajax, but it seems strange that there is such a delay before window.onload firing, if that is where everything is happening.  I haven't done much testing yet regarding the window.onload stuff in relation to FormDecorator, but it standard applications, the scripts in window.onload fire almost immediately with no visible delay.

    I found with RadMenu (Ajax version) that the RadMenu control is not available from window.onload....it seems that the initialization happens in a delayed manner as well (I had to move all my code to the OnLoad event of the RadMenu iteself).  Not really a problem, but it seems that the delay in initialization of the controls is pretty consistent across the Telerik ASP.NET Ajax control suite.

    Is something happening in MS Ajax, or with the initialization of the controls that causes the delay?  This certainly was not the case with the classic controls where the intialization was very fast and non-detectable.

    -Chris
  10. Tervel
    Admin
    Tervel avatar
    1337 posts

    Posted 09 May 2008 Link to this post

    Hello Christopher,

    As far as the FormsDecorator is concerned, this forum thread had us start some additional investigation and experiments how to improve things, and we came up with a couple of very good ideas that will likely eliminate the visual delay altogether (even with the decoration process still being on the client-side). It is unlikely that we will manage to make all the necessary changes in the remaining days to the SP1 scheduled for next week, yet change is on the way - and you will see some very interesting developments on the FormDecorator this quarter.

    Regarding your other observation: all MS AJAX controls are initialized by the MS AJAX clientside framework on window.onload. To gain a reference to the control, the correct event is Sys.Application.add_load, rathen than window.onload. Please examine the  MS AJAX help article:
    http://www.asp.net/AJAX/Documentation/Live/ClientReference/Sys/ApplicationClass/default.aspx


    Kind regards,
    Tervel
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  11. Doug Beard
    Doug Beard avatar
    52 posts
    Member since:
    Jan 2008

    Posted 16 Mar 2009 Link to this post

    I still see the problem, has there been any progress on the draw delay?
  12. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 18 Mar 2009 Link to this post

    Hello Doug,

    The decoration of the controls is much faster with the latest version, however there is still slight delay that could be seen if the decorator is used in a heavy page with many controls that must be decorated on it. Such problem should not exist once we provide server-side replacements of the decorated controls which will happen later this year.
     

    Greetings,
    Georgi Tunev
    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.
  13. Sam
    Sam avatar
    103 posts
    Member since:
    Feb 2009

    Posted 29 Apr 2009 Link to this post

    Is there any plans to include dropdownlists? I've seen other asp.net controls out there that include every possible control in skinning.

  14. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 30 Apr 2009 Link to this post

    Hello Sam,

    Yes - this feature is scheduled for the Q2 2009 release.


    Regards,
    Georgi Tunev
    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017