Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
167 views
In Radschedular control, how can we change only the orange arrow to black arrow  which is part of the skin -sitefinity applied to Radschedular control
Attachment shows the arrow
Veronica
Telerik team
 answered on 30 Mar 2011
2 answers
74 views
Hi,

I have an ASP.NET page with a RadSplitter containing various panels and 2 other splitters.  One of the panels, that doesn't show when the page first loads, contains four Silverlight controls.  The panel 'pops-up' when the user requests and then the Silverlight controls show for the first time.  Everything was working fine in both IE and Firefox until I added VisibleDuringInit="false" to the RadSplitter.  At that point the SilverLight controls no longer show in FireFox, but work fine in IE.  If I turn it back to "true", it starts working in FF again.  I have v.2010.3.1317.35 installed...  Has anyone seen anything like this or have any idea what might be wrong?

Thanks
Dave
Dave
Top achievements
Rank 1
 answered on 30 Mar 2011
2 answers
163 views
Hi,

Does anyone know of a way to prevent the style selector from being able to alter the style applied to a span which as the contenteditable="false" attribute set?  Eg, I have this html in the editor:

<span class="LockedContent" id="19" contenteditable="false" 
xml="LockedContent">Some locked content</span><BR><BR>
And when I select this in the editor, I can then change the style using the style editor, which I dont want to allow.

Any ideas appreciated!

thanks
Darren
Top achievements
Rank 1
 answered on 30 Mar 2011
5 answers
822 views
how can i find out whether the grid is in expand mode or collapse mode?
Tajes
Top achievements
Rank 1
 answered on 30 Mar 2011
9 answers
304 views

So I have a RadPanelBar, and within that a RadTreeView. On a node click event I want so update some control.. for now I am just trying to update a textbox. It works fine except that the first time I click on a child node it takes a very long time to update the control.. Just a simple text change. I set a break point in my function and I noticed that it is taking long to fire the OnNodeClick event.. If I click a parent node in the tree view it loads fine on the first click. Also, after the first time I've clicked it.. it loads quickly.. If I refresh the page, it is slow on the first click again.. Is there something I am missing.. Is the structure of my HTML inappropriate for these AJAX calls? I feel like this is a really simple example that should work..

<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent"> 
<telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server"> 
   
<AjaxSettings> 
       
<telerik:AjaxSetting AjaxControlID="IncidentReportPanel"> 
           
<UpdatedControls> 
               
<telerik:AjaxUpdatedControl ControlID="IRViewPanel" LoadingPanelID="LoadingPanel1" /> 
           
</UpdatedControls> 
       
</telerik:AjaxSetting> 
   
</AjaxSettings> 
</telerik:RadAjaxManagerProxy> 
<telerik:RadAjaxLoadingPanel ID="LoadingPanel1" runat="server" Style="width: 320px; 
    padding
-top: 125px;" Skin="Vista"> 
</telerik:RadAjaxLoadingPanel> 
<table width="100%"> 
   
<tr style="height: 25px"> 
       
<td> 
       
</td> 
       
<td> 
       
</td> 
   
</tr> 
   
<tr style="height: 100%"> 
       
<td style="width: 250px"> 
           
<telerik:RadPanelBar ID="IncidentReportPanel" runat="server" Height="450px" CssClass="IRPanel"> 
               
<Items> 
                   
<telerik:RadPanelItem runat="server" Text="Incident Reports" ImageUrl="./Images/folder.gif" 
                       
Value="IncidentReports"> 
                       
<Items> 
                           
<telerik:RadPanelItem> 
                               
<ItemTemplate> 
                                   
<telerik:RadTreeView ID="IncidentReportsTreeView" runat="server" OnNodeExpand="LoadTreeNodes" 
                                       
OnNodeClick="PopulateIRData"> 
                                       
<Nodes> 
                                           
<telerik:RadTreeNode Text="Pending" ExpandMode="ServerSideCallBack" ImageUrl="./Images/completed.gif"> 
                                           
</telerik:RadTreeNode> 
                                           
<telerik:RadTreeNode Text="Completed" ExpandMode="ServerSideCallBack" ImageUrl="./Images/completed.gif"> 
                                           
</telerik:RadTreeNode> 
                                       
</Nodes> 
                                   
</telerik:RadTreeView> 
                               
</ItemTemplate> 
                           
</telerik:RadPanelItem> 
                       
</Items> 
                   
</telerik:RadPanelItem> 
                   
<telerik:RadPanelItem runat="server" Text="Calendar" ImageUrl="./Images/calendar.gif" 
                       
Value="Calendar"> 
                       
<Items> 
                           
<telerik:RadPanelItem> 
                               
<ItemTemplate> 
                                   
<telerik:RadCalendar runat="server" ID="IRCalendar" Width="100%" /> 
                               
</ItemTemplate> 
                           
</telerik:RadPanelItem> 
                       
</Items> 
                   
</telerik:RadPanelItem> 
               
</Items> 
           
</telerik:RadPanelBar> 
       
</td> 
       
<td> 
           
<asp:Panel ID="IRViewPanel" runat="server"> 
               
<telerik:RadTextBox ID="RadText" runat="server"> 
               
</telerik:RadTextBox> 
           
</asp:Panel> 
       
</td> 
   
</tr> 
</table> 

 

        protected void PopulateIRData(object sender, RadTreeNodeEventArgs e) 
   
{ 
       
RadText.Text = "Hello, World!"; 
   
} 
Tsvetina
Telerik team
 answered on 30 Mar 2011
5 answers
168 views
 Hi Im building a calendar in which the headline of the entry is showed up and opon hover the radtooltip shows up..
In order to do that I'm assuming I have to create a custom template for every entry since what shows up on the calendar is the id for each template...

I have created database tables and have a loop that adds the special days to the radCalendar control: 
when I run this it does fill the grid but it puts the date of the cell on each cell of the calendar which is not what I want.

Do While dr.Read()
                 Dim d As New DateTime()
                 Dim s As String = ""
                 Dim NewDay As New RadCalendarDay(RadCalendar1)
                 '---------------------------------Date
                 If Not IsDBNull(dr("evnDate")) Then
                     d = dr("evnDate")
                 Else
                     d = System.DateTime.Now
                 End If
 
                 NewDay.Date = New DateTime(d.Year, d.Month, d.Day)
                 '---------------------------------Repeat
                 If Not IsDBNull(dr("evnRepeats")) Then
                     s = dr("evnRepeats")
                 End If
 
                 Select Case s
                     Case "Monthly"
                         NewDay.Repeatable = RecurringEvents.DayAndMonth
                     Case "Daily"
                         NewDay.Repeatable = RecurringEvents.DayInMonth
                     Case "Weekly"
                         NewDay.Repeatable = RecurringEvents.Week
                     Case ""
                         NewDay.Repeatable = RecurringEvents.None
                 End Select
                 '-------------------------------------Tooltip
                 If Not IsDBNull(dr("evnToolTip")) Then
                     NewDay.ToolTip = dr("evnToolTip")
                 End If
                 '-------------------------------------TemplateID, but first Create TEmplate,
                 '                                   in order to create template create div
 
                  
 
                 'Dim newT As New DayTemplate()
                 'newT.Controls.Add(cDiv)
                 'newT.ID = cDiv.InnerHtml.Replace(" ", "")
 
 
 
                 'If RadCalendar1.CalendarDayTemplates.Contains(newT) Then
                 '    RadCalendar1.CalendarDayTemplates.Add(newT)
                 'End If
                 'NewDay.TemplateID = newT.ID
 
                 'RadCalendar1.SpecialDays.Add(NewDay)
 
                 Dim cDiv As New System.Web.UI.HtmlControls.HtmlGenericControl("DIV")
                 cDiv.Attributes("class") = "rcTemplate rcDayMortgage"
 
                 If Not IsDBNull(dr("evnTemplateID")) Then
                     cDiv.InnerHtml = dr("evnTemplateID")
                 ElseIf dr("evnTemplateID") = "" Then
                     cDiv.InnerHtml = "Calendar Entry"
                 Else
                     cDiv.InnerHtml = "Calendar Entry"
                 End If
 
                 cDiv.ID = cDiv.InnerText
                 Dim template As New CalendarCellContentTemplate(RadCalendar1, d, cDiv, NewDay.Repeatable)


Then Also I have grabbed this piece of code from your website that implements Itemplate to add the template to the Grid

Public Class CalendarCellContentTemplate
       Implements ITemplate
 
       Private cellContent As Control
       Public Sub New(ByVal calendarInstance As RadCalendar, ByVal cellDate As DateTime, ByVal cellContent As Control, _
                      ByVal repeat As Telerik.Web.UI.Calendar.RecurringEvents)
           Dim spec As RadCalendarDay
           Me.cellContent = cellContent
 
           spec = calendarInstance.SpecialDays(calendarInstance.SpecialDays.IndexOf(cellDate))
 
           If spec Is Nothing Then
               spec = New RadCalendarDay()
               spec.Date = cellDate
               spec.TemplateID = "BirthdayTemplate"
               calendarInstance.SpecialDays.Add(spec)
           End If
 
           Dim template As New DayTemplate
           template.ID = cellContent.ID
           template.Content = Me
 
           spec.Repeatable = repeat
           calendarInstance.CalendarDayTemplates.Add(template)
       End Sub
 
       Public Sub InstantiateIn(ByVal container As System.Web.UI.Control) Implements System.Web.UI.ITemplate.InstantiateIn
           container.Controls.Add(Me.cellContent)
       End Sub
   End Class

Tsvetina
Telerik team
 answered on 30 Mar 2011
2 answers
112 views
All,

I am using Reseller Hosting - no execute permissions. I need to add ASP.NET Controls (particularly the Scheduler) to my Hosting Space by FTPing files from my Development PC to Hosting.

I have been pointed to this Help Link...

http://www.telerik.com/help/aspnet-ajax/introduction-all-conrols-from-zip.html

...but it doesn't explain how. Could omeone point me to a link or explain here explains how I go about this?

Cheers
Kevin
Peter
Telerik team
 answered on 30 Mar 2011
1 answer
177 views
I am trying to find out some informaiton on the 2d transformation matrix that is used in the set_scrollAnimationOptions of a Rotator control.  Specifically what the matrix elements represent and how it effects the coverflow items.  I've used the demo code but it is all trial and error and i can't find ANY documentation on this feature.

any assistance appreciated.
thanks
Jordan
Niko
Telerik team
 answered on 30 Mar 2011
5 answers
100 views
I have a RadGrid, and I am using a Form Template for editing the records in the grid.  In the template, I have a RadNumericTextBox with AllowRounding set to false, and AllowOutOfRangeAutoCorrect set to false.  I am binding to the DbValue property, and when I edit a record which has a value that is outside of the MinValue and MaxValue, it is still auto-correcting the value.  Is there something I am missing?
Iana Tsolova
Telerik team
 answered on 30 Mar 2011
1 answer
201 views
i want to check the file(image)  size on client side if file size grater than 100 MB
When i tried to upload the image file that time if user upload the file grater than 100 mB then show the error message file size grater ...  Need to check this validation using java script and custom validation




Thanks
Rahul



Shinu
Top achievements
Rank 2
 answered on 30 Mar 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?