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

[Solved] AJAXRadRotator Webpart for WSS

1 Answer 18 Views
RadEditor
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Pavan
Top achievements
Rank 1
Pavan asked on 08 Apr 2008, 09:36 AM

Hello ,

I saw AJAXRadRotator for ASP.Net which is very good

http://www.telerik.com/demos/aspnet/Controls/Examples/Integration/Ajax/Rotator/DefaultCS.aspx?product=rotator

We tried to convert the AJAXRadRotator to WebPart so that we can use it in our WSS site.

But it is throwing error some thing like this 

The "AJAXRadRotator" Web Part appears to be causing a problem. RadRotator: You have not specified a template OR there is problem with your databinding expression (possibly you haven't specified a datasource or content file).

Nothing but it needs <FrameTemplate> to be defind in .cs file .

Can you please guide me throught it ..

Or is there any AJAXRadRotator WebPart for WSS/MOSS

Your assistance is appreciated.
Looking forward to your reply.

Pavan Raj T.S
S/W Engineer.

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 09 Apr 2008, 03:55 PM

Hi Pavan,

This error might occur if your database query does not return any records for some reason. RadRotator remains empty after databinding hence the error. Could you please verify that your database query returns the right results?

The problem can be avoided if you check prior to data-binding RadRotaror if the dataset is empty. If so, just set the Visible property of RadRotator to false:

RadRotator1.Visible = false; 

This shold fix the problem.


Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
RadEditor
Asked by
Pavan
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or