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

Scrollable TKAlert

1 Answer 48 Views
Alert
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ryan
Top achievements
Rank 1
Ryan asked on 23 Jun 2016, 10:58 PM
I want to use TKAlert to display a list of error messages. I am currently setting the frame for my TKAlert to a specific height and I want the TKAlert to be scrollable so that the user can scroll to see all of the error messages if there are more than the TKAlert can display in its height. How can I achieve this? Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Sophi
Telerik team
answered on 27 Jun 2016, 02:55 PM
Hi Ryan,

May I suggest a slightly different approach. 
In order to display a list of error messages you should probably consider using a TKAlert with custom view which should be a TKListView.
The TKListView is a complex UI Control used to list different types of data, it is based on UICollectionView so you are getting scrolling out of the box. You can check our SDK repo in github where you will find examples showing basic usage scenarios with our controls. Here is a link to example implementing TKAlert with custom view which is a TKCalendar but you will get an idea how things work. And of course here is the implementation of the custom alert view used for the example.

In case you need any further assistance, let us know right away.

Regards,
Sophi
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Alert
Asked by
Ryan
Top achievements
Rank 1
Answers by
Sophi
Telerik team
Share this question
or