Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
172 views
I, it is possible to get de range of selected date in telerik RadScheduler. 

 I want to get the start date and the end date selected.

In this example: 10/12/2013 07:00 and 10/12/2013 10:00.

Any help? Thanks
Plamen
Telerik team
 answered on 12 Dec 2013
1 answer
124 views
Hi,

This question actually refers to the kendo scheduler. We are trying out the product and have a few questions.

-- Can I change the edit event template and allow weekly recurrence only?  Also, The user should only be able to select weekly and no other settings like days and end time etc.

-- Can I restrict the time to 1 hour and disable date selection?

Thanks

Vasu

Alexander Popov
Telerik team
 answered on 12 Dec 2013
2 answers
174 views
i have a requirement to access a Label control that sits in the GroupTemplate.
the issue for me, resides in the ItemDataBound event of the RadListView.

when i FindControl for "lblFileName", which sits in the ItemTemplate, it finds it OK.
but when i FindControl for "lblHeader", which sits in the GroupTemplate, it can't find it.

my desire is to have a different Group Header Label for each individual Group. This Label will be programatically created so it is not possible to know what it would be before the Page Loads.





My HTML is:
<telerik:RadListView ItemPlaceholderID="plItemHolder"  GroupPlaceholderID="plGroupHolder" runat="server" ID="lstCSV">
 
            <LayoutTemplate>
                <asp:PlaceHolder runat="server" ID="plGroupHolder"></asp:PlaceHolder>    
            </LayoutTemplate>
            
            <GroupTemplate>
                  <asp:Label ID="lblHeader" runat="server" Text="<h3>hello world</h3>"></asp:Label>
                  <asp:PlaceHolder runat="server" ID="plItemHolder"></asp:PlaceHolder>           
            </GroupTemplate>
 
            <ItemTemplate>
                <table>
                    <tr>
                        <td>
                            <asp:Label runat="server" ID="lblFileName"></asp:Label>
                        </td>
                    </tr>
                </table>
            </ItemTemplate>
 
        </telerik:RadListView>


i am then calling the following Method to Bind to my RadListView

Private Sub getFileNames()
 
    Dim di As New DirectoryInfo(Server.MapPath(uploadCSV.TargetFolder))
    Dim diar1 As FileInfo() = di.GetFiles()
 
    lstCSV.DataSource = diar1
    lstCSV.DataBind()
 
End Sub

finally, i have the following in the ItemDataBOund event of the RadListView

Private Sub lstCSV_ItemDataBound(sender As Object, e As RadListViewItemEventArgs) Handles lstCSV.ItemDataBound
 
     Dim lblFileName As New Label
     Dim lblHeaderName As New Label
     Dim tempHeaderName As String = String.Empty
 
     lblFileName.Text = TryCast(TryCast(e.Item, RadListViewDataItem).DataItem, FileSystemInfo).Name
 
 
     Dim s As String() = uploadCSV.AllowedFileExtensions
 
     For i As Integer = 0 To s.Length - 1
         If tempHeaderName = String.Empty Then
             tempHeaderName = lblFileName.Text.Replace("." + s(i).ToString, "")
         Else
             tempHeaderName = tempHeaderName.Replace("." + s(i).ToString, "")
         End If
     Next
 
 
 
     Dim lblBindName As New Label
     Dim lblBindHeader As New Label
 
     lblBindName = e.Item.FindControl("lblFileName")
     lblBindHeader = e.Item.FindControl("lblHeader")
 
     If Not IsNothing(lblBindName) Then lblBindName.Text = lblFileName.Text
     If Not IsNothing(lblBindHeader) Then lblBindHeader.Text = tempHeaderName
 
 
 End Sub

David
Top achievements
Rank 1
 answered on 12 Dec 2013
5 answers
614 views
I want the user to be able to change the Filter option between StartsWith and Contains by using a couple of radio buttons. Is it possible to do this client side or do I have to do a postback to change this setting?
Nencho
Telerik team
 answered on 12 Dec 2013
1 answer
65 views
I have a tabstrip/multipage and I'm calling a JS function on page load (and tried jquery document ready) that opens a new tab client-side.
I use the same code to open tabs all over the place without a problem, but the first tab that is created always makes two requests for the page set in content_url.  I can see this happening in fiddler. 

What would cause this and how do I stop it?


Dimitar Terziev
Telerik team
 answered on 12 Dec 2013
1 answer
133 views
Hi,

I have a button with all four margins set to 5px in a sliding pane.  I am doing this so that there is some space between the pane and my control.  However, when in IE8/IE9 compatibility view, the button will incorrectly align itself to the left of the pane.  (see before hover.png)  On hover, the button will move to the correct spot.  (see after hover.png)  When not in compatibility view, everything works as intended.

Default.aspx (snippet)
<telerik:RadSplitter runat="server">
<telerik:RadPane runat="server">
<telerik:RadSlidingZone runat="server">
<telerik:RadSlidingPane runat="server" Title="Slider">
<telerik:RadButton runat="server" Text="Hover" style="margin: 5px;"/>
</telerik:RadSlidingPane>
</telerik:RadSlidingZone>
</telerik:RadPane>
</telerik:RadSplitter>

There is no code-behind, and this is using a default Telerik ASP.NET web application.  I can provide a complete project if necessary -- this is just a short mock-up that I wrote to illustrate the issue.

Is this a known problem, or am I using my CSS margins incorrectly?

Thank you very much for your time!

Regards,
Brian Chambers
Shinu
Top achievements
Rank 2
 answered on 12 Dec 2013
1 answer
97 views
I have a radscheduler in a month view. User enters an appointment via my custom form. He enters a start date only and a subject . NO TIME. So i am currently using the current time and plus 1 hour as end time. He can enter end day also if he wants. Or I just take same beginning day as end date as well. Lets say he made 5 appointments. 8-9,9-10,10-11,11-12,12-1. Now he wishes to drag the 11-12 appointment for this day and drop it between 8-9 and 9-10. I have to adjust the appointment times for the other appointments and also the UI. How do i proceed?Any thoughts? If you need information,do ask.Thanks
Plamen
Telerik team
 answered on 12 Dec 2013
4 answers
258 views

Hi

I'm trying to expand recurrence series in SQL SERVER 2005.
I found this below thread how to do that.

http://www.telerik.com/community/forums/aspnet-ajax/scheduler/sql-reporting-display-all-recurring-appointments.aspx

Since it's 2008 post , my question is , Can I still use the attached dlls in the thread or is
there a latest one I need to use.
Please Advice.

Telerik.Web.UI.RecurrenceEngine.dll
ExpandRecurrence_UDF.dll

Thanks
Sam
Plamen
Telerik team
 answered on 12 Dec 2013
1 answer
204 views
Here is my code:

RadComboBox sample= this.Master.FindControl("ContentPlaceHolder").FindControl("rcb1") as RadComboBox;
sample.SelectedValue = 1;


It doesn't select any values on my combobox.
Did i make any mistake? I really dont know what to do next.
Shinu
Top achievements
Rank 2
 answered on 12 Dec 2013
7 answers
189 views
Hi,

Is there a way to get the CommandName and CommandArgument of a RadRibbonButton in client side script?

I found a reference in http://www.telerik.com/community/forums/aspnet-ajax/ribbonbar/disabling-button-in-client-side-script.aspx#0
but I'm not sure if this is server side or client side.

Regards,
  Peter
Shinu
Top achievements
Rank 2
 answered on 12 Dec 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?