Telerik Forums
Community Forums Forum
5 answers
164 views
  1. a. Should users "Mark as answer" only posts by Telerik that show how to use an existing feature to address the issue posted? b. Also, include ones that "work around" the lack of a commonly desired feature via "non-tivial" code solutions especially those that also involve Handling Telerik Events or even Overriding Methods (which are usually undocumented)?  c. Also, include ones where Telerik promises or even will just "consider" fixing / adding a feature in a future release (or wait until it has been released and users have verified it to solve the issue)?
  2. For threads where Telerik's suggested solution was verified by a user to not actually solve the issue posted or solve it to the extent and/or in the exact way the user requested in his prior posting(s) (and/or (this probably doesn't happen often) Telerik hasn't posted a reply at all) and a user actually posts the final, verified solution (possibly based on Telerik's solution), there's no way to mark a user's reply as the "answer".
Lyubo
Telerik team
 answered on 26 Feb 2014
0 answers
78 views

Hi Telerik team,

I have tabstrip as follows:

<% Html.Telerik().TabStrip()
.Name("TabStrip")
.Items(tabstrip =>
tabstrip.Add()//To set Extra tab
.Text("4")
.Selected(true))//To get default selection of this tab
.HtmlAttributes(new { Style = "Width:100%;" })
.BindTo(Model.ItemType.Creates(),
(item, navigationData) =>
{
//item.Text = "&nbsp;";
item.ImageUrl = "/" + navigationData.ImageUrl + "/";
item.Text = navigationData.Value;
})
.ClientEvents(events => events
.OnSelect("TabStripSelect")
)
.Render(); %>
 

 Here Can I set 'item.value'(instead of 'item.Text')?

How to get tab selected value and tab selected text and tab selected index of tab on button click?

With regards
Dayana
Dayana Maliyakal
Top achievements
Rank 1
 asked on 25 Feb 2014
1 answer
109 views
Hi Telerik Team,

I have the following menu.I want to set a popup window while clicking menu each menu item(ie:Here menu item Action will be as popup).
How this possible?

With regards
Dayana


<% Html.Telerik().Menu()
            .Name("Menu")        
            .Orientation(MenuOrientation.Horizontal)
            .Items(menu =>
            {
                menu.Add()
                    .ImageUrl("~/Images/Active.gif")
                    .ImageHtmlAttributes(new { style = "padding: 0px 0px 0px 18px;position: absolute;" })
                    .Text("Employee")
                    .HtmlAttributes(new { style = "width: 113;line-height:4;" })
                    .Selected(true)
                    .Items(ItemEmployee =>
                        {
                            ItemEmployee.Add().Text(" Home");                        
                           ItemEmployee.Add().Text("New").Items(ItemNew =>
                                {
                                    ItemNew.Add()
                                        .Text("Test1")                                      
                                         .Action("AddTask?ItemTypeID=1&Operation=Add", "Test")
                                        .ImageUrl("~/Images/tt.gif");
                                    ItemNew.Add()
                                        .Text("Add Feature")
                                         .Action("AddTask?ItemTypeID=2&Operation=Add", "Test")
                                        .ImageUrl("~/Images/tt1.gif");
                                    ItemNew.Add()
                                        .Text("Add Bug")
                                          .Action("AddTask?ItemTypeID=3&Operation=Add", "Test")
                                        .ImageUrl("~/Images/tt3.gif");
                                    ItemNew.Add()
                                        .Text("Add Release")
                                        .Action("AddTask?ItemTypeID=4&Operation=Add", "Test")
                                        .ImageUrl("~/Images/tt4.gif");
                                });
                           
                        });
                       
                menu.Add()
                     .Text("Lists")
                     .HtmlAttributes(new { style = "width: 113;line-height:4;" })
                     .Visible(Convert.ToBoolean(ViewData["IsAuthorized"]))
                     .ImageUrl("~/Images/icon.png")
                     .ImageHtmlAttributes(new { style = "padding: 0px 0px 0px 18px;position: absolute;" });
             
            })
            .Render();
                    %>
Petur Subev
Telerik team
 answered on 24 Feb 2014
1 answer
153 views
Hi,

I have a treeview as following:

View

<script type="text/javascript">
 
function onDataBinding(e) {
var StatusID = $("#rcbProject").data("tComboBox").value();
$.ajax({
url: "/ucProject1/test?StatusID="
+ StatusID,
data: {},
success: function (data) {
var treeview = $("#rtvProject").data("tTreeView");
treeview.bindTo(data);
}
});
}
</script>

<%=Html.Telerik()
.TreeView()
.Name("rtvProject")
.ExpandAll(true)
.ClientEvents(events =>
{
events.OnDataBinding("onDataBinding");
})
%>


controller

public JsonResult test(int StatusID)
{
 
 DataTable dt = new DataTable();
 dt = GetItems(0, StatusID);
 var result = (from DataRow dr in dt.AsEnumerable()
 select new
 {
 Value = dr["ProjectID"],
 Text = dr["ProjectDisplayName"]
 }).ToArray();
 
 â€‹return Json(result, JsonRequestBehavior.AllowGet);
}


It is working.But I really need a hierarchical treeview.I want to add ParentID also other than Value and Text. Based on ParentID tree should  display.How this possible?
Petur Subev
Telerik team
 answered on 19 Feb 2014
0 answers
72 views
RadChart adds a highly requested support for secondary and multiple Y axes. The new feature is useful when the values of the displayed data series vary a lot from one another or different types of data should be presented in one chart. The scale of each added Y axis corresponds to the associated data series and auto adjusts its range.RadTreeView now features its own UI Virtualization that was reused from our RadGridView control. Now you can scroll even faster through large amount of nodes.RadScheduler supports additional  built-in resources - Category, Importance and TimeMarker
sheylasl
Top achievements
Rank 1
 asked on 17 Feb 2014
1 answer
214 views
hi,
 i want to access phone owner details like name,email,address,phone number.how to get full profile using kendo ui.
Nikita Gourme
Top achievements
Rank 1
 answered on 13 Feb 2014
1 answer
93 views
Hello,


http://www.screencast.com/t/Y8dahrUdM6N


Thanks,
Jayesh Goyani
Lora Borisova
Telerik team
 answered on 13 Feb 2014
2 answers
219 views
We migrated from the original Telerik grid to Kendo, and we are seeing redundant ajax calls.

We had code that previously implemented the telerik grid

 

@(Html.Telerik().Grid()<myTransactions>
.Name("Transactions")
.ClientEvents(events => events.OnLoad("TransactionsGrid_onLoad"))
.ClientEvents(events => events.OnDataBound("TransactionsGrid_onDataBound"))
.DataBinding(dataBinding => dataBinding
.Ajax()
.OperationMode(GridOperationMode.Client)
.Select("TransactionsAjax", controller))
 

We have recently migrated to Telerik's Kendo grid, and changed the code to the following:

 

@(Html.Kendo().Grid<myTransactions>()
.Name("Transactions")
.AutoBind(true)
.Events(events => events.DataBound("TransactionsGrid_onDataBound"))
.DataSource(dataSource => dataSource
.Ajax()
.ServerOperation(false)
.Read(read => read.Action("TransactionsAjax", controller))
.PageSize(15))

 

In addition to the grid, the page has 3 other fields; a combobox and 2
date fields that filter the grid. The filtering works fine.

 

However, the printer friendly button calls TransactionsAjax for the
Kendo grid and removes all filtering that was applied. The original
Telerik just rendered the existing grid as print friendly without making
a redundant call to TransactionsAjax.

 

Since the desired data to be printed is already filtered and available
on the screen there is no reason to repeat the call. Is there some grid
configuration setting I am missing that would stop the undesired call
from happening?
littleGreenDude
Top achievements
Rank 1
 answered on 07 Feb 2014
2 answers
152 views
Hello,

I accidentally deleted all the desktop icons (shortcuts) for the products example i installed using the control panel, i now i can search in the file system to locate the folders but i want to recover those shortcuts.

Thanks
JramirezDev
Top achievements
Rank 2
 answered on 07 Feb 2014
1 answer
152 views
Hello Everyone, hope you are all doing, I am new to Telerik Data Access, and I am really stuck on one thing. I add the domain model from an existing database. And Now I want to add domain methods for the Stored Procedures, but whenever I made a domain method for an SP, which is taking a parameter, and when I click on the retrieve result set option to create new complex type, It gave me an error "Unable to retriever Information", Please help me with that


PS: sorry for bad English :p
Doroteya
Telerik team
 answered on 05 Feb 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?