Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
99 views
Hello Telerik Team,

    I want to open a one insert form on doubleclick of the time slot say appointment. Is there any server side events which make it possible.
What i done is calling the radwindow from client side and try to open the page in it.

<telerik:RadScheduler ID="RadScheduler1" runat="server" DataDescriptionField="status"
            Height="500px" Width="1000px" DataEndField="endTime" DataKeyField="bike_ID" DataSourceID="SqlDataSource1"
            DataStartField="startTime" DataSubjectField="subject" EnableDescriptionField="True"
            OnClientAppointmentInserting="onAppointmentInserting" Skin="Vista" StartEditingInAdvancedForm="False"
            StartInsertingInAdvancedForm="true">


<script type="text/javascript">

        function onAppointmentInserting(sender, eventArgs) {
           
            var _slot = eventArgs.get_targetSlot();
     var oWindowAppnt=$find("<%= RadWindowAppointment.ClientID %>");
      oWindowAppnt.setSize(510, 490);
     var _startTime = _slot.get_startTime().format("MMM dd, yyyy HH:mm:ss");
     var _endTime = _slot.get_endTime().format("MMM dd, yyyy HH:mm:ss");
      var _employeeID = _slot.get_resource().get_key();
     oWindowAppnt.setUrl("appointment.aspx?appid=0&ST="+_startTime +"&ET="+_endTime);
    oWindowAppnt.add_close(OnClientCloseAppointment);
    oWindowAppnt.set_modal(true);
    oWindowAppnt.set_showContentDuringLoad(false);
    oWindowAppnt.set_visibleTitlebar(false);
    oWindowAppnt.set_visibleStatusbar(false);
    oWindowAppnt.set_behaviors(Telerik.Web.UI.WindowBehaviors.Close +   Telerik.Web.UI.WindowBehaviors.Move);
    oWindowAppnt.show();
    eventArgs.set_cancel(true);  
  return false;
   }

     <telerik:RadWindow ID="RadWindowAppointment" runat="server"  >
    </telerik:RadWindow>

    </script>


can you please suggest any example or how to proceed the same.  I attached my appoitment .aspx page with this.

Thanks,
Malkesh
Peter
Telerik team
 answered on 24 May 2012
1 answer
87 views
Hi All,
     
       We are using Telerik scheduler for showing the appointments scheduled for the resources.
       But it the control is responding slowly to the user actions like scrolling, selecting the time slot or right click context menu etc.. 
       when there are 100 to 200 appointments and we are displaying only 5 resources.
       We are using Telerik dll versioned 2010.2.713.35.    
  . 
       Please let me know how we can resolve this issue.

Thanks
Raj
Peter
Telerik team
 answered on 24 May 2012
1 answer
141 views
I am trying to show my appointments in the month view without any background color.  I have found the CSS to remove the background image/sprite and can change the foreground color.  I cannot get rid of the default background color.  Is there a way to do this or match the cell color?  I want to have the appointment text for each catagory in a different color, but no background color or image.  Skin is set to Office2007.
Peter
Telerik team
 answered on 24 May 2012
5 answers
180 views
I've just begun using the asp.net radscheduler control. I am setting up authorizations that can have several scheduler appointments. We're using the control to add and edit the appointments, but are wanting to create custom grids of the authorizations showing a date's latest appointment time, and to validate if an authorization is valid for a specific day, etc. We will be doing this on asp.net and from a silverlight oob app. The asp.net site will be the only place to add/edit appointments. Are there built in methods to pass in a date and see if there is a valid appointment, and if so, return information about said appointment? Not sure where to begin to parse the recurrence rules to accomplish this. We'll need to parse this data from silverlight as well. Thanks!
Peter
Telerik team
 answered on 24 May 2012
0 answers
107 views
I have a radgrid in content page.
the master page have a RadSppliter (on left show slide panes ) the other part of splitter is for content pages.

I put radsplitter: height100%, thats works

And in my css I put

.RadGrid{ height:100% !important} --> this not work.



I don't kwon what I do wrong.
July
Top achievements
Rank 2
 asked on 24 May 2012
2 answers
160 views
Hi!

When programmatically setting the content, is there a way to start in Preview mode first and make the Design mode secondary? (We hide the HTML mode.)

Thanks!
Michael O'Flaherty
Top achievements
Rank 2
 answered on 24 May 2012
2 answers
160 views
I have a RadDatePicker control in an EditForm Template of a RadGrid. How can I attach a RadToolTip to this datepicker control? I tried the suggestions from other posts where IsClient=true and I appended "_dateInput_text" to the targetcontrolid but  I am not able to get the RadTooltip to display for the RadDatePicker. Does the RadTooltip work with the RadDatePicker control?  If not, can I use the jQuery Qtip with the RadDatePicker?

I have been able to get the RadTooltip to work in this EditForm Template with an asp textbox control and also with the RadEditor control.

I'm using the latest runtime version v4.0.30319 of the Telerik ASP.Net AJAX Suite and ASP.NET 4.0.

Thank you.
Michele
Top achievements
Rank 1
 answered on 24 May 2012
0 answers
96 views
   Hi, I developed a custom asp.net user control that uploads images from a client machine to the app server. I used Telerik RadGrid. The only problem I have is not being able to drag and drop rows. I have gone through the relevant documentation online and examples and was able to simulate the same behavior but the grid in my control seems to stumble over something I have not been able to figure out. I am posting a snippet here... If it s not going to help, I can send a demo asp.net web site project and the control library project. It's C# and .NET 4.0  Thank you.
<div>
  <telerik:RadGrid
            ID="grdImageGroups"
            runat="server"
            AutoGenerateColumns="False"
            ShowFooter="true"
            Height="232px"
            Skin="Office2007"
            AllowSorting="true"
            Width="237px"
            GridLines="None"
            Visible="true"
            AllowMultiRowSelection="false"
            OnItemCommand="grdImageGroups_ItemCommand"
            OnSelectedIndexChanged="grdImageGroups_OnSelectedIndexChanged"  
            OnRowDrop="grdImageGroups_RowDrop"
            OnItemDataBound="RadGrid1_ItemDataBound">
            <MasterTableView DataKeyNames="Key" ShowHeader="true" ShowHeadersWhenNoRecords="true"  >
                 <SortExpressions>
                        <telerik:GridSortExpression FieldName="Title" SortOrder="Ascending" />
                    </SortExpressions>
                    <Columns>
                        <telerik:GridTemplateColumn UniqueName="colCheck" Visible="true" ItemStyle-Width="30px" HeaderStyle-Width="30px" >
                             <ItemTemplate>
                                <asp:CheckBox runat="server" ID="chkSelectRow" onclick="CheckRow(this);" />
                            </ItemTemplate>
                            <ItemStyle Width="15px" />
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn UniqueName="colImage" DataField="OriginalImageFile" ItemStyle-Width="30px" HeaderStyle-Width="30px">  
                           <ItemTemplate>  
                            <asp:Image ID="Image1" ImageUrl='<%# Eval("OriginalImageFile") %>' Height="20px" Width="20px" runat="server"  style="height:20px; width:20px" />  
                           </ItemTemplate>  
                        </telerik:GridTemplateColumn>  
                        <telerik:GridTemplateColumn HeaderText ="Image Name" DataField="Title"   UniqueName="colCheck" ItemStyle-Width="140px" HeaderStyle-Width="140">
                            <ItemTemplate>
                                <asp:Label runat="server" ID="lblTitle" Text='<%# TruncatedTitle(Convert.ToString(Eval("Title")), 25) %>' ToolTip='<%# Eval("Title") %>'></asp:Label>
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                    </Columns>
                </MasterTableView>
                <ClientSettings  AllowRowsDragDrop="true" EnablePostBackOnRowClick="True">
                    <Selecting AllowRowSelect="true" EnableDragToSelectRows="false"  />
                    <ClientEvents OnRowDropped="RowDropped" OnRowSelected="RowSelected" OnRowDragStarted="displaymessage" />
                    <Scrolling AllowScroll="True" UseStaticHeaders="true" />
                </ClientSettings>
            </telerik:RadGrid>
<div>
Sergei
Top achievements
Rank 1
 asked on 24 May 2012
2 answers
311 views
I am trying to create a RadNotification from the code behind of an .aspx page but I keep getting "Object reference not set to an instance of an object."  

I am creating a new RadNotification like so:

Dim notification As New RadNotification

and then try to show it:

notification.Show()

I understand that this notification would be empty but I have also tried giving it a title and some text but that doesn't seem to work either.

What else do I have to provide?  Is it even possible to do this?


Trevor
Top achievements
Rank 1
 answered on 24 May 2012
4 answers
137 views
Hi,
I have an existing application which id devloped in ASP.NET2005 Framework 2.0(CLR 2.0) and as per the client requirement
we need to use the TELERIK Shedular control.
But I think telerik schedular control targets the CLR3.0 and above.
Is there any Schedular control exists that i can use it into my existing application without migrating the framework(as application is huge and will imact on lot of functionality).
Please suggest on this on priority.


Many Thanks
Anurag Sharma
Peter
Telerik team
 answered on 24 May 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?