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

AutoSize is not working for Height & Width

1 Answer 63 Views
Window
This is a migrated thread and some comments may be shown as answers.
Vishnu
Top achievements
Rank 1
Vishnu asked on 13 Aug 2014, 11:02 AM
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.








1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 13 Aug 2014, 11:49 AM

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.

 
Tags
Window
Asked by
Vishnu
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or