Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
84 views
Hi,
Show 24 hours.. is not working in MultiDayView.I m using the grouping direction vertical.The telerik dll verison i m using 2012 for the telerik.web.ui and for the telerik.web.UI.Skins i m using the same version.
Plamen
Telerik team
 answered on 14 Jan 2014
1 answer
96 views
I am using the rotator as a news scroller.  I have it set to AutomaticAdvance, but would also like to have the button in case my users want to manually advance through the slides.  Is there a way to set the rotator to AutomaticAdvance and Buttons or would I have to make a custom RotatorType?
Marin Bratanov
Telerik team
 answered on 14 Jan 2014
2 answers
96 views

Since I have a huge org chart and I have to use the WCF service for on-demand loading, but I see the drilldown don't work since it cannot get the NodeID.


The error as follow: Object reference not set to an instance of an object.



[NullReferenceException: Object reference not set to an instance of an object.]

   Telerik.Web.UI.OrgChartNodeCollection.AssignReferencesToInnerTree(OrgChartNodeCollection nodes, RadOrgChart orgChart) +137

   Telerik.Web.UI.OrgChartNodeCollection.OnNodeAdded(OrgChartNode node) +95

   Telerik.Web.UI.OrgChartNodeCollection.Add(OrgChartNode node) +80

   Telerik.Web.UI.RadOrgChart.SetupDrillDown(Int32[] drilledNodeIndexes) +190

   Telerik.Web.UI.RadOrgChart.ExecuteDrillDown() +101

   Telerik.Web.UI.RadOrgChart.OnPreRender(EventArgs e) +246

   System.Web.UI.Control.PreRenderRecursiveInternal() +83

   System.Web.UI.Control.PreRenderRecursiveInternal() +155

   System.Web.UI.Control.PreRenderRecursiveInternal() +155

   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +974


Boyan Dimitrov
Telerik team
 answered on 14 Jan 2014
1 answer
227 views
Hi,

I am using Telerik version 2010.3.1317.35.
In my Radchart i have 6 diferent bars. I want to set different color for each bar.
I am using skin "Hay" and it works fine. Issue with my customers that they don't like the bar color.

Is there any settings/configurations to change the bar color or i have to do programmatically.

Many Thanks
 
Danail Vasilev
Telerik team
 answered on 14 Jan 2014
1 answer
55 views

I am using the RadScheduler control, inside the AdvancedEditTemplate there is a RadComboBox.

The RadComboBox is displaying a list of patients, they will search the list of people and if they can not find the person they need to add them. So they click the button next to it and a window will popup where they enter all the info. How do I refresh the RadComboBox with the newly added patient selected?

Thank you for your help.

<telerik:RadScheduler ID="rschVisits" runat="server"
    DataSourceID="sqlConnVisits"  SelectedView="WeekView"
    DataKeyField="visit_id" DataSubjectField="subject"
    DataStartField="start_time" DataEndField="end_time"
    FirstDayOfWeek="Monday" Height="750px"
    Width="1000px" StartInsertingInAdvancedForm="True"
    CustomAttributeNames="practice_room_id,practice_id,patient_id,billing_note,last_name,first_name,room_name,visit_type_id,visit_status_id,visit_reason,elig_status"
    EnableCustomAttributeEditing="True"
    HoursPanelTimeFormat="htt" MinutesPerRow="15" ShowAllDayRow="False"
    >
    <AdvancedForm Modal="true" />
    <Reminders Enabled="false" />
     <AppointmentContextMenuSettings EnableDefault="true" />
     
    <AppointmentTemplate>
            
    <B><%#Eval("last_name")%>, <%#Eval("first_name")%></B><br />
    Room: <%#Eval("room_name")%>       
             
    </AppointmentTemplate>
    <AdvancedEditTemplate
    <div class="rsAdvancedEdit" style="position: relative">  
        <%-- Title bar. --%> 
        <div class="rsAdvTitle">  
            <%-- The rsAdvInnerTitle element is used as a drag handle when the form is modal. --%> 
            <h1 class="rsAdvInnerTitle">  
                Update Appointment</h1
            <asp:LinkButton runat="server" ID="AdvancedEditCloseButton" CssClass="rsAdvEditClose" 
                CommandName="Cancel" CausesValidation="false" ToolTip='close'>  
                close  
            </asp:LinkButton
        </div
        <div class="rsAdvContentWrapper">  
         
                <telerik:RadComboBox ID="rcbPatients" runat="server" Height="200" Width="200"
                      SelectedValue='<%# Bind("patient_id") %>'
                      DataSourceID="sqlConnPatients" DataValueField="patient_id" DataTextField="full_name"
                      DropDownWidth="310" EmptyMessage="Choose Patient" HighlightTemplatedItems="true"
                      EnableLoadOnDemand="true" Filter="Contains" >
 
                      <HeaderTemplate>
                           <table style="width: 275px" cellspacing="0" cellpadding="0">
                                <tr>
                                     <td style="width: 175px;">
                                          Patient Name
                                     </td>
 
                                     <td style="width: 60px;">
                                          DOB
                                     </td>
                                     <td style="width: 40px;">
                                     </td>
                                </tr>
                           </table>
 
                      </HeaderTemplate>
                      <ItemTemplate>
                           <table style="width: 275px" cellspacing="0" cellpadding="0">
                                <tr>
                                     <td style="width: 175px;">
                                    <%#DataBinder.Eval(Container.DataItem, "last_name").ToString%>,
                                    <%#DataBinder.Eval(Container.DataItem, "first_name").ToString%>
                                     </td>
                                     <td style="width: 60px;">
                                    <%#getDateFromYYYYMMDD(DataBinder.Eval(Container.DataItem, "dob").ToString)%>
                                     </td>
                                     <td style="width: 40px;">
                                     </td>
                                </tr>
                           </table>
                      </ItemTemplate>
                 </telerik:RadComboBox>
                <asp:ImageButton id="ImageButton22" runat="server" Alt="Client Search" ImageUrl="~/img/binocs_icon.jpg" OnClientClick="return AddPatient();"></asp:ImageButton>
                  
 
            <asp:Panel runat="server" ID="ButtonsPanel" CssClass="rsAdvancedSubmitArea">  
                <div class="rsAdvButtonWrapper">  
                    <asp:LinkButton CommandName="Update" ValidationGroup="EditVisit"  runat="server" ID="UpdateButton" CssClass="rsAdvEditSave">  
            <span>Save</span
                    </asp:LinkButton
                    <asp:LinkButton runat="server" ID="CancelButton" CssClass="rsAdvEditCancel" CommandName="Cancel" 
                        CausesValidation="false">  
            <span>Cancel</span
                    </asp:LinkButton
                     
                     
                    <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox=true ShowSummary=false
                    HeaderText="Please enter the following." ValidationGroup="EditVisit" />                           
                     
                </div
            </asp:Panel
        </div
    </div
    </AdvancedEditTemplate
     
     
    <AdvancedInsertTemplate>
    .....
 
     </AdvancedInsertTemplate>          
 
    <TimeSlotContextMenuSettings EnableDefault="true" />
    <AppointmentContextMenuSettings EnableDefault="true" />
     
</telerik:RadScheduler>

Plamen
Telerik team
 answered on 14 Jan 2014
7 answers
724 views
Based on the example in http://www.telerik.com/community/forums/aspnet-ajax/listbox/simple-multiselect.aspx
it is possible to allow selection of multiple items in the listbox by clicking without having to press any modifier key

However, while testing this implementation on a page with 1 RadAjaxManager with multiple listboxes with multiple select, we seem to have found a bug with the selection of items when the user drags within the listbox and then move to another listbox (both with multiple select). Selection of multiple items by clicking on each item in each listbox works fine, but sometimes (rarely, but it does happen), dragging the mouse while clicking on an item puts the mouse in a permanent "drag mode" for that particular listbox, whenever the mouse moves back into the radlistbox, it auto selects/deselects items even when it is not pressed, it's as if the mouse is always dragging within the listbox.

1) Has anyone experienced this behaviour before?
2) In order to find an easy solution for this, I'll like to ask if there is a way to disable drag selection within an RadListBox? (meaning to allow the user to select multiple items by clicking only, but not by click+dragging the mouse inside the listbox)

Joey
Top achievements
Rank 1
 answered on 14 Jan 2014
7 answers
577 views

Hello All,

             I am using a telerik Rad Grid,i want the rad grid in a vertical direction i.e, the name of the columns must be on the left hand side and the data related to the columns must be on the right hand side.

  To do this I was using the hardcoded datatable.The data is being bind but the grid is not displayed a blank grid is being displayed.

Please suggest me the answers


Thank in advance
Regards
Ritzie
Daniel
Top achievements
Rank 1
 answered on 14 Jan 2014
1 answer
144 views
Hi,

I want to allow the user dragging the mouse over empty time slots, and select few cells.
Currently I have only mouse hover color, but I can't select a cell, and can't drag and select few cells.
I thought it because I don't have a context menu option on time slots, but it didn't help to add it.

In your demos, like the one on context menus, I didn't see any special property for this.

I have version 2013.2.717.40.

Thanks,
Guy.
Segev
Top achievements
Rank 1
 answered on 14 Jan 2014
1 answer
94 views
Hi,

           <telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server" Skin="Black" 
                TargetFolder="~/Uploads" TemporaryFolder="~/Uploads/TempFiles" DropZones=".DropZone1" 
                MultipleFileSelection="Automatic" UploadedFilesRendering="BelowFileInput" 
                Width="300px" onclientfileuploaded="setGaugeValue();"></telerik:RadAsyncUpload>

                <script type="text/javascript">
                    function setGaugeValue() {
                        $find("<%=UploadedFileGauge.ClientID %>").set_value($get("<%=UploadedFileGaugeHiddenValue.ClientID %>").value);
                    }
            </script>

...I'm trying to update the gauge value on the client side, each time a file is uploaded (won't work using the RadAsyncUpload1.FileUploaded event handler on the server-side). But...if I put in a call to some client-side JavaScript the gauge hides on my web page.

Please advise,

Bazz

Shinu
Top achievements
Rank 2
 answered on 14 Jan 2014
5 answers
324 views
In our project we are using a splitter and inside it we are having a RadGrid on half of the part and a RadSchedular on the other half, depending on the requirement, functionality has to be something like that on Scroll  of Schedular the contents of the Grid should get scrolled in parallel.
Now the following <ClientSettings >has been added for the Grid -

<Scrolling AllowScroll="true" UseStaticHeaders="true" />


and on OnScroll ClientEvent the following javascript is called which is responsible for calculating the Scroll Position and binding it together
<ClientEvents OnScroll="ScrollGrid" OnColumnResized="ColumnResized" OnColumnShown="ColumnShown" />


Script : 

var isInGridScrolling = false;
function ScrollGrid(sender, args) {
var scrollTop = args.get_scrollTop();
isInGridScrolling = true;
$telerik.getElementByClassName(document.body, "rsContentScrollArea").scrollTop = scrollTop;
 isInGridScrolling = false;
}

Additionaly on Page load the following script is getting called -
  
function contentPageLoad() {
       $addHandler($telerik.getElementByClassName(document.body, "rsContentScrollArea"), "scroll", function (e) {
         if (!isInGridScrolling) {
             var RadGrid1 = $find("<%= SPGrid.ClientID %>");
             RadGrid1.GridDataDiv.scrollTop = e.target.scrollTop;
         }
     });


In the Schedular we are just including the tag OverflowBehavior="Scroll" , Now the Grid contents are succesfully getting scrolled with the Schedular scrollbar, but the mousewheel scroll is only working when the cursor is above the Schedular, how can the mousewheel scroll work for Grid as well ?

It will be very grateful if anyone can provide me help on the topic, feel free to contact me in case of any clarity is required
 
Venelin
Telerik team
 answered on 14 Jan 2014
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?