AutoSize is not working for Height & Width

2 posts, 0 answers
  1. Vishnu
    Vishnu avatar
    31 posts
    Member since:
    Jul 2012

    Posted 13 Aug 2014 Link to this post

    Hi, I am using RadWindowManager to raise a popup message to show some text. You can observe the attached image, I have small length message. but Popup is very big & spacious. Popup box should be comfort fit to the text in the box. CAn you please tell me, how to remove the spaces in the box & it has fit the size as per to the length of the message. I mean AutoSize. I used AutoSize but not worked. below i have given the code how I used it.


    aspx:
    <telerik:RadWindowManager ID="WindowManager" runat="server" AutoSize="true" AutoSizeBehaviors="Default" />

    C#:
    WindowManager.RadAlert("Updates were successfull",
                                              null,
                                              null,
                                             "Success Message",
                                              null);

    Output:
    See the Attached Image

    Please let me know, how to use autosize ?

    Thanks in advance.








  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3596 posts

    Posted 13 Aug 2014 Link to this post

    Hello Vishnu,

    The following thread elaborates on this scenario: http://www.telerik.com/forums/radalert-with-autosize.

    The other option I can offer is the RadNotification control that is a bit easier to setup (but does not offer autosizing either) because it is better suited for short messages: http://demos.telerik.com/aspnet-ajax/notification/examples/servershowwithnewtext/defaultcs.aspx.


    Regards,

    Marin Bratanov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

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