Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
function
pageLoad()
{
var
grid = $find(
"<%=RadGrid1.ClientID %>"
);
grid._element.disabled =
true
;
}
EnableDisableChildren(control, isenabled) {
//disable the control
control.disabled = !isenabled;
//grey out the control
if
(control.style !=
null
) {
(!isenabled)
control.style.color =
"#888"
else
""
//If there are any links, hide them as they cannot be disabled
((control.type !=
) && (control.type ==
''
)) {
(isenabled) {
control.style.display =
'block'
'none'
//Do the same for the children
for
(
i = 0; i < control.children.length; i++) {
EnableDisableChildren(control.children[i], isenabled);