Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
164 views
Hi,

I'm new to  kendo and i was trying to display a treeView using the ASP MVC approach so i followed the exemple you provided :

var employees = from e in db.Employees
                            where (id.HasValue ? e.ReportsTo == id : e.ReportsTo == null)
                            select new
                            {
                                id = e.id,
                                Name = e.FirstName + " " + e.LastName,
                                hasChildren = e.Employees1.Any()
                            };

But what is the code inside the Employees1 property ? It should be a recursive method somehere ? Please provide the content of the model or give me more details to how make it work

Thanks for the help
Daniel
Telerik team
 answered on 11 Feb 2015
5 answers
163 views
Hello Team,

I am working on one web application, in which we need to bind radgrid client side, we have not created any data service.

there in one aspx page inside application, that returns data in one json object, i tried the same as below:
<ClientSettings>
            <DataBinding Location="https://locallhost/LoadWidgetsAsync.aspx" ResponseType="JSON">
                <DataService TableName="Table1" />
            </DataBinding>
 </ClientSettings>


It is not showing data in grid, can anyone help me out with binding radgrid without service?

Thanks in advance,
Ruchi Patel
Ruchi
Top achievements
Rank 1
 answered on 11 Feb 2015
3 answers
277 views
Hello, 
I am trying to display a tabStrip with many tabs. Following this link : http://demos.telerik.com/aspnet-ajax/tabstrip/examples/functionality/scrolling-and-multi-row-tabs/defaultcs.aspx?show-source=true is not helpfull for me because my tabs are not placed on a single line (See pict 1), they are placed on many lines (See pict2) and when i scroll, the radTab shows blank space(See pict 3).
This is my piece of code i am using :

<telerik:RadSplitter ID="sPC" runat="server" Orientation="Horizontal" CssClass="hiddenOverflow">
    <telerik:RadPane ID="pPC" runat="server" >
          <telerik:RadTabStrip ID="tsPC"  Width="800px" runat="server" ScrollButtonsPosition="Middle" Height="26px"  AutoPostBack="False" ScrollChildren="true" >
            <Tabs>
                <telerik:RadTab Text="Tab11"></telerik:RadTab>
                <telerik:RadTab Text="Tab12"></telerik:RadTab>
                <telerik:RadTab Text="Tab13"></telerik:RadTab>
                <telerik:RadTab Text="Tab14"></telerik:RadTab>
                <telerik:RadTab Text="Tab15"></telerik:RadTab>
                <telerik:RadTab Text="Tab16"></telerik:RadTab>
                <telerik:RadTab Text="Tab17"></telerik:RadTab>
                <telerik:RadTab Text="Tab18"></telerik:RadTab>
                <telerik:RadTab Text="Tab19"></telerik:RadTab>
                <telerik:RadTab Text="Tab111"></telerik:RadTab>
                <telerik:RadTab Text="Tab112"></telerik:RadTab>
                <telerik:RadTab Text="Tab113"></telerik:RadTab>
                <telerik:RadTab Text="Tab114"></telerik:RadTab>
                <telerik:RadTab Text="Tab115"></telerik:RadTab>
                <telerik:RadTab Text="Tab116"></telerik:RadTab>
                <telerik:RadTab Text="Tab18"></telerik:RadTab>
                <telerik:RadTab Text="Tab19"></telerik:RadTab>
                <telerik:RadTab Text="Tab111"></telerik:RadTab>
                <telerik:RadTab Text="Tab112"></telerik:RadTab>
                <telerik:RadTab Text="Tab113"></telerik:RadTab>
                <telerik:RadTab Text="Tab114"></telerik:RadTab>
                <telerik:RadTab Text="Tab115"></telerik:RadTab>
                <telerik:RadTab Text="Tab116"></telerik:RadTab>
                <telerik:RadTab Text="Tab18"></telerik:RadTab>
                <telerik:RadTab Text="Tab19"></telerik:RadTab>
                <telerik:RadTab Text="Tab111"></telerik:RadTab>
                <telerik:RadTab Text="Tab112"></telerik:RadTab>
                <telerik:RadTab Text="Tab113"></telerik:RadTab>
                <telerik:RadTab Text="Tab114"></telerik:RadTab>
                <telerik:RadTab Text="Tab115"></telerik:RadTab>
                <telerik:RadTab Text="Tab116"></telerik:RadTab>
            </Tabs>
        </telerik:RadTabStrip>
</telerik:RadPane>
</telerik:RadSplitter>

Any ides?
Thank you !
Christian
Top achievements
Rank 1
 answered on 11 Feb 2015
6 answers
1.8K+ views
Hi All,
Is their anybody knows how to Dynamically set the RadGrid Column width??
Eyup
Telerik team
 answered on 11 Feb 2015
3 answers
170 views
my legend if it grows then pushes the chart line area smaller.
is there a way to fix the plot area? and perhaps just have the legend grow to the right or wrap?
Danail Vasilev
Telerik team
 answered on 11 Feb 2015
6 answers
186 views
I am using Visual Studio 2010 Ultimate and am working with the trail Radcontrols.

<telerik:RadTreeList ID="RadTreeList1" runat="server"
            AllowMultiColumnSorting="True" AllowSorting="True" AutoGenerateColumns="False"
            DataKeyNames="mynode" DataSourceID="SqlDataSource1"
            ParentDataKeyNames="mynode2">
</telerik:RadTreeList>

From what I have read since I am using a sqldatasource data control I should not have to include any additional code. Is that correct? 

Can someone explain what I am missing or doing wrong?

Thanks in advance.
Maria Ilieva
Telerik team
 answered on 11 Feb 2015
1 answer
71 views
Hi

How to Implemented Telerik Grid Bind Records using List object i seen this code

<asp:SqlDataSource runat="server" ID="SqlDataSource1" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>" SelectCommand="Select OrderID, OrderDate, ShipVia, ShipName, ShipAddress, ShipCity, ShipCountry FROM Orders"></asp:SqlDataSource>

but here i canot pass my stored procedure how so i move bind the records to server side c# then how to sorting , Filtering Concept using Telerik Grid 
any one guide me post the code thats helpful for me
Eyup
Telerik team
 answered on 11 Feb 2015
1 answer
37 views
Hi,
I have a Rad Grid which gets its data displayed from OnNeedDataSource with 4 Columns and has pagesize=20 - Total Ouput is around 120 Rows
On Each Page after 20 Row are displayed i would like to add 4 RADCombo Boxes with Unique values of the columns displayed above and before the pager controls gets displayed like NextPage and Before etc

Do i need to use Footer Template and wher eshall i bind data to these Rad Combo Boxes - ItemCreated or ItemData Bound

Thanks


Konstantin Dikov
Telerik team
 answered on 11 Feb 2015
3 answers
86 views
This mode does not seem to be working correctly.
When pasting into the editor, it inserts random line breaks.
(Seems to happen mainly after formatting such as bold and where the line wraps naturally in the word doc.)

See attached screenshot.

Please advise

http://demos.telerik.com/aspnet-ajax/editor/examples/cleaningwordformatting/defaultcs.aspx


Ianko
Telerik team
 answered on 11 Feb 2015
3 answers
142 views
Is it possible to search on both columns when user tries to type in the dropdown?
If you have
ColA  ColB
123   ABC

And user tries to type 123 or ABC then we highlight that row?
I tried doing this using OnClientItemsRequested and It works fine, but I wanted to check to see if this is already implemented in the control or anyone has a any good ideas... 
Boyan Dimitrov
Telerik team
 answered on 11 Feb 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?