Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
93 views
I have the new radrotator on a page that I am trying to use. I have the rotator in div tags so has certain formatting. The problem I am having is I cant get the background of the rotator to be transparent. I have tried to change the backcolor to transparent and that did not work. What do I need to do to get it so there is no background. The text and stuff in the control follows the div tags I have them in, but the background stays white no matter what.

Here is the code I have. Thanks in advance

<

div class="rotator_mainimage" style="height: 344px; margin-top: 14px">

<div style="width: 90%">

<telerik:RadRotator ID="NewsRotator" runat="server" DataSourceID="xmlDataSource1"

RotatorType="Buttons" ScrollDirection="Up, Down" Height="351px"

Width="403px" BorderStyle="None" style="margin-top: 0px"

FrameDuration="4000">

<ItemTemplate>

<div class="rotator_eventtitle" style="text-align: left">

<%

#XPath("EventTitle")%>

</div>

<div class="rotator_eventdetails" style="text-align: left">

<%

#XPath("EventDetails")%>

</div>

<div class="rotator_eventdetails_url" style="text-align: left">

<a href='<%# Xpath("EventDetailsURL") %>' target="_blank">

More

</a>

</div>

</ItemTemplate>

</telerik:RadRotator>

</div>

</div>

<asp:XmlDataSource ID="xmlDataSource1" runat="Server" DataFile="~/App_Data/NewsRotator.xml"></asp:XmlDataSource>

</

div>

Cade Cote
Top achievements
Rank 1
 answered on 25 Sep 2008
7 answers
285 views
I have a linkbutton in my tab template but when I click on it no postback event is fired.  Is there anything special I need to do to enable this?
Geert
Top achievements
Rank 1
 answered on 25 Sep 2008
4 answers
210 views
In the demo of RadGrid for ASP.NET AJAX, there is Insert/Update/Delete - automatic operations, so user can do insert/update/delete without writing any code behind. The data source used there is SessionDataSource. In the description, it says this can also be used for AccessDataSource, SqlDataSource or ObjectDataSource.
But I am going to use a generic list like List<MyClass> in memory as my data source. How can I still implement the automatic Insert/Update/Delete functions?
Thanks a lot.
qunwei
Top achievements
Rank 1
 answered on 25 Sep 2008
2 answers
76 views
We were having some styling issues with the EditMode area at the bottom of the editor (for some reason it was being overlayed onto elements below it on the page in IE) so I create two custom toolbar items (HTML View and Design View) that switched the mode of the editor by clicking on them. Of course, once you switched into HTML View, the toolbar becomes disabled and there was no way to switch back. Any suggestions for an alternate way to switch between views or to enable some toolbar items to stay enabled when you are not in design mode?

Thanks
Rumen
Telerik team
 answered on 25 Sep 2008
1 answer
278 views
When I set the WeekendDayStyle-BackColor the calender sets the correct background to all but 1 day.  It seems that the last Saturday in the previous month does not get the background color applied.

<telerik:RadDatePicker ID="BirthDatePicker" runat="server"   
    AllowEmpty="true"   
    DBSelectedDate='<%# Bind("BirthDate") %>'   
    MinDate="1/1/1920" 
    Skin="Office2007" 
     Width="100px">  
    <Calendar UseRowHeadersAsSelectors="True" UseColumnHeadersAsSelectors="True"></Calendar> 
    <DateInput></DateInput>  
    <DatePopupButton ></DatePopupButton>  
    <Calendar WeekendDayStyle-BackColor="#ccff99"   
        ShowRowHeaders="false"></Calendar> 
</telerik:RadDatePicker> 
-DJ-
Top achievements
Rank 1
 answered on 25 Sep 2008
2 answers
121 views
Hi,
I have a custom tooltip for each appt. This is working great...until i noticed something curious !
If the calendar view i start with (dayview in my case) has 3 appts visible then the custom tooltip only fires for these 3 appts. ie; if i switch to monthview which has 20 appts, the 3 appts mentioned above fire the custom tooltip, but the other 17 dont !?
Also, if i load with the dayview, the appts within this day fire the custom tooltip.If i move to another day, the appointments on this new day do not fire the custom tooltip !!

I clear the radtooltipmanager.targetcontrols on the Page_PreLoad.
I add to the radtooltipmanager.targetcontrols on the Calendar_AppointmentCreated event. (see below)

Any ideas please?
Thanks, Mark.

RadToolTipManager1.TargetControls.Add(e.Appointment.ClientID, e.Appointment.ID,

True)

Mark
Top achievements
Rank 1
 answered on 25 Sep 2008
1 answer
163 views
I am wanting to use Snippets with the Telerik.SharePoint.FieldEditor.RadHtmlField control in my page layouts but there is no property/method (i.e. Snippets.Add()) that allow me to add the snippets to each control.  Is the "snippets" function available for this control?  And if so, how are the snippets added?  If not, is there a work around?  I am using version 5.2.2.0.
George
Telerik team
 answered on 25 Sep 2008
1 answer
180 views
Anyone know ho to integrate tooltip in the calendar? I want a RadToolTip pop up on mouse over on a day with an event.

I have the calenday being filled with events from my database and would like a quick preview of the event in the form of a RadTooltip.

I tried the following and it does not work.

Dim monthView As Telerik.Web.UI.Calendar.View.MonthView = DirectCast(RadCalendar1.CalendarView, Telerik.Web.UI.Calendar.View.MonthView)

If e.Day.[Date] >= monthView.MonthStartDate AndAlso e.Day.[Date] <= monthView.MonthEndDate Then

For i As Integer = 0 To table.Rows.Count - 1

Try

Dim eventDate As DateTime = table.Rows(i)("EventDate").ToString()

If e.Day.[Date] = eventDate.Date Then

e.Cell.Text += table.Rows(i)(

"EventName").ToString()

RadToolTipManager1.TargetControls.Add(Button1.ClientID, table.Rows(i)(

"EventName").ToString(), True)

RadToolTipManager1.TargetControls.Add(e.Cell.ClientID, table.Rows(i)(

"EventName").ToString(), True)

End If

Catch ex As Exception

End Try

Next

End If



On mouse over all I get is the date popup and the tooltipmanager never fires off OnAjaxUpdate.

<

telerik:RadToolTipManager ID="RadToolTipManager1" runat="server" Position="BottomRight"Animation="Fade" OnAjaxUpdate="OnAjaxUpdate" Skin="Default" Width="180px" Height="150px"Style="font-size: 18px; text-align: center; font-family: Arial;"></telerik:RadToolTipManager>

Michele
Top achievements
Rank 2
 answered on 25 Sep 2008
1 answer
85 views
Hi, I'm trying to use the RadEditor (latest version) on a page.

I'm trying to use the "single-file, drag&drop deployment" as described in the help file, but I can not get it to work without copying the RadSpell dictionary files into the App_Data folder.

Is is possible to use the RadEditor without adding any other files than Telerik.Web.UI.dll to my web app?

Thanks a lot.

Martin
Rumen
Telerik team
 answered on 25 Sep 2008
7 answers
421 views
Hi, All:

I am using vs 2005.  I add some rows asynchroniously(using Ajax) into
Rad Grid, with filtering enable. But it failed.

To fix this bug, I remove some Ajax capabilities, enabling a full page
postback when adding rows into Rad Grid.  Then, Rad Grid's filtering
works.

Does Rad Grid filtering need a full page postback before filters work?

Thanks.

Stanley
Chris Ruegsegger
Top achievements
Rank 1
 answered on 25 Sep 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?