Telerik Forums
UI for ASP.NET AJAX Forum
12 answers
230 views
I find the OrgChart control really interesting and would like to use the control to show and modify the organization of various customers. However, I find that the contruction of the javascript takes a substantial amount of time when the organization consists of more than a few hundreds/thousand units. I understand that this is caused by the fact that all units from the datasource is loaded by the control and not just the once that is shown on the screen.

Luckily, the 2012Q3 release contain the webservice option as demoed at http://demos.telerik.com/aspnet-ajax/orgchart/examples/populatingwithdata/webservicebinding/defaultcs.aspx. This really seems like the way for us to go. However, we haven't succeeded using the webservice functionality, and we are not able to connect the control to the two WCF services that we have created. We are unsure how to use the two WebServiceBindings collection and have tried with both various URI's and labels to services referenced for RadOrgChart2.WebServiceBindings.GroupEnabled.GroupItemServiceSettings.Path. The two services are running when the aspx file is lanched but they aren't called when hitting one of the two extend buttons. Using Fiddler we get a http code 400 or 404 depending on our current setting. We have not been able to find any helpful documentation or forum tips that could help us out.

Will it be possible to get a working VS solution included the aspx page and the two services from the demo-page (preferable C#)? Or alternatively, some additional information on how to setup the WCF services and customy the OrgChart control to connect to the services?

Thanks.
Plamen
Telerik team
 answered on 08 Nov 2013
3 answers
165 views
(1) In a PivotGrid, is it possible to have the values sorted when filtering? If we display a list of values, from which to select, the values are unordered. If the number of values is lengthy, it's very cumbersome for the users to scroll through and find specific values since they have to look at every one.

Is it possible to have the list of potential values returned in sorted order?

(2) Why is it that the 'Label Filter' and 'Value Filter' only show up for certain columns? The user would like to use a substring search on one column, but the filtering options don't show anything other than the checkbox list.
Kostadin
Telerik team
 answered on 08 Nov 2013
2 answers
156 views
Hi,

I have a RadTooltip that must be inside a predefined div. But the Tooltip wrapper render at the end of the document, how can I force the wrapper to be rendered inside my div?

I tired to set RenderInPageRoot to false but It still render it to the end of the document....

Thanks.
Jocelyn
Top achievements
Rank 1
 answered on 08 Nov 2013
8 answers
1.5K+ views
How to read selected value of drop down using javascript

In my case I have an GridTempalte column inside that edit template is their. Edit  template contains Update button when i click on button i want to get selected value of dropdown using javascript

Need help urgent


Thanks
Rahul
Top achievements
Rank 1
 answered on 08 Nov 2013
1 answer
81 views
We have windows with radgrids and other controls.

If the user clicks the X before the page has finished loading we get this error:  (in Chrome 30)
Uncaught TypeError: Cannot read property `1` of null

This is the code:

var oWnd = window.$find('Modal' + (window.myModalWindows.length + 1));

  function OnClientBeforeClose(sender, eventArgs) {
    var pageName = oWnd.get_contentFrame().contentWindow.location.pathname.match(/.*\/([^\/\.]+)/i)[1]; <-- Error line  

    if (oWnd.get_contentFrame().contentWindow[pageName + "_onunload"])
      oWnd.get_contentFrame().contentWindow[pageName + "_onunload"]();
    oWnd.get_contentFrame().contentWindow.location.replace('Blank.aspx');
  }
Marin Bratanov
Telerik team
 answered on 08 Nov 2013
4 answers
177 views
Hello,

I'm following the code example from : http://demos.telerik.com/aspnet-ajax/grid/examples/programming/draganddrop/defaultcs.aspx

I have set up a ClientSettings tag and set the various flags as appropriate.  Drag and drop is not working on my grid.  Any ideas? I've pasted my RadGrad tag below.

Thanks in Advance!

<telerik:RadGrid
    ID="dgWorkflowItems"
    runat="server"
    ClientIDMode="Static"
    AutoGenerateColumns="False"
    EnableEmbeddedSkins="False"
    EnableNoRecordsTemplate ="True"                      
    Visible="True"
    Skin="bdbk"
    OnRowDrop="dgWorkflowItems_OnRowDrop"
    OnPreRender="dgWorkflowItems_OnPreRender"
    OnNeedDataSource="dgWorkflowItems_OnNeedDataSource">
     
    <ClientSettings AllowRowsDragDrop="true" EnableRowHoverStyle="false" >
        <Selecting AllowRowSelect="true" EnableDragToSelectRows="true" />
        <ClientEvents OnRowDropping="onRowDropping" />
    </ClientSettings>
 
    <MasterTableView TableLayout="Fixed">
        <NoRecordsTemplate >
           <div style="height:30px;">No Contributions found for this meeting.</div>
        </NoRecordsTemplate>
        <Columns>
            <telerik:GridBoundColumn DataField="ContributionKey"
                Visible="False"
                DataType="System.Int32"
                HeaderText="ContribKey" UniqueName="ContribKey">
            </telerik:GridBoundColumn>
            <telerik:GridCheckBoxColumn
                UniqueName="CheckForSubmit"
                HeaderText="Submit"
                HeaderStyle-Width="3em"
                HeaderTooltip="Select items to submit for review and click the submit button below."
                />
            <telerik:GridBoundColumn HeaderText="Subject/Bookmark"
                UniqueName="SubjectBookmark"
                DataField="Description"
                ></telerik:GridBoundColumn>
            <telerik:GridBoundColumn
                DataField="Status"
                UniqueName="Status"
                HeaderText="Status">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn
                HeaderText="Document"
                UniqueName="Document"
                HeaderStyle-Width="6em"
                DataField="DocumentName"></telerik:GridBoundColumn>
            <telerik:GridBoundColumn
                HeaderText="Instructions"
                UniqueName="Instructions"
                DataField="Instructions">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn
                HeaderText="Contributor"
                DataField="Contributor"
                UniqueName="Contributor"
                ></telerik:GridBoundColumn>
            <telerik:GridBoundColumn
                DataField="ContributionType"
                UniqueName="ContributionType"
                Visible="False"
                >
            </telerik:GridBoundColumn>
        </Columns>
    </MasterTableView>
</telerik:RadGrid>
Viktor Tachev
Telerik team
 answered on 08 Nov 2013
3 answers
121 views


Hi Telerik Support, 


I'm using a singlemonth calendar with autopostback false, showcolumn/row headers true, enablemultiselect true and all code on client side and i need to know all the days that  are going to be selected when i click on the column/header row. From what i saw i can get the row/column index but dont know how to get all the days in that row/column in the currentview.

Need this to see if the days exist in another array and see if i want to select/deselect or only select the dates that dont exist on the other array.

Thanks, 
António
Viktor Tachev
Telerik team
 answered on 08 Nov 2013
1 answer
157 views
Hi.
I am using a RadSearchBox in the filter template of a column "Country" .  But its not getting filtered . Can some one help me with some sample .
Princy
Top achievements
Rank 2
 answered on 08 Nov 2013
8 answers
579 views
Hi all 
Greeting of the day

I  have a problem
The problem is that i have a rad drop down with check box and in this drop down  user can select more than one value in this list 
select the check box from drop down and click  on search button ,system doesn't make search  untill we again click on search button. System perform search on first click if we we click any where on page after selecting check box .




Thanks 
Sushobhit Raman



Princy
Top achievements
Rank 2
 answered on 08 Nov 2013
6 answers
176 views
Hi, i have this problem, i have 30 minutes appointments and 30 minutes slots in the radscheduler, but some appointments are shifted,you can see it in the image.
It's happend with appointments that start after 16:00 only, i tried with just one appointment and it's shiffed to left.
I tried with 60 minutes slots and it's works perfectly, but with 30 minutes slots it'doesn't, why?
Boyan Dimitrov
Telerik team
 answered on 08 Nov 2013
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?