Getting Started

DropDownList

Grid

TabStrip

TreeView

Window

Comming Soon

  • ComboBox

 

 

List of Extension Functions

ComboBox Extension Functions

Function Description
dataBindAsTable Bind JSON data to the ComboBox as a table.
disableListItems Disable list items in the dropdown list.
selectByText Select an item in the dropdown based on the text for an item.
selectByValue Select an item in the dropdown based on the value for an item.


DropDownList Extension Functions

Function Description
dataBindAsTable Bind JSON data to the DropDownList as a table.
disableListItems Disable list items in the dropdown list.
selectByText Select an item in the dropdown based on the text for an item.
selectByValue Select an item in the dropdown based on the value for an item.


Grid Extension Functions

Function Description
hideColumn Hide a column in the grid.
showColumn Show a column in the grid.
showCellAsTextBox Show a cell as a textbox in the grid.
showCellAsDropDown Show a cell as a dropdown in the grid.
enableClientSort Enable client side sorting in the grid. No AJAX calls are made to requery the data.


TabStrip Extension Functions

Function Description
getTab Get a tab.
getTabIndex Get index of tab.
hideTab Hide a tab.
showTab Show a tab.
selectTab Select a tab.
setTabText Change the text of a tab.
addTab Add a tab.
removeTab Remove a tab.
hideContent Hide the contents for all tabs in the tabstrip.
showContent Show the contents for all tabs in the tabstrip.
removeContent Remove the contents for all tabs in the tabstrip.



TreeView Extension Functions

Function Description
addContextMenu Add a context menu to the treeview. Supports ability to apply a different context menu for each tree node.



Window Extension Functions

Function Description
setHeight Set a new height for the window.
setWidth Set a new width for the window.

 

Add the telerik.extensions.js File to your Project

Razor View Engine

@{
    Html.Telerik().ScriptRegistrar()
	.Scripts(scripts =>
		scripts.AddGroup("LayoutGroup", group =>
			group.Add("~/Scripts/telerik.extensions.js")
		)
	);
}
		


ASPX View Engine

<%
	Html.Telerik().ScriptRegistrar()
		.Scripts(scripts =>
			scripts.AddGroup("LayoutGroup", group =>
				group.Add("~/Scripts/telerik.extensions.js")
			)
		)
%>
		

Last edited Apr 6, 2012 at 5:41 PM by jddevight, version 16

Comments

No comments yet.