var toolBar = $find("<%= toolbar1.ClientID %>");
alert(toolBar);

To decorate the form elements on a webpage:
1. Register Telerik.Web.UI namespace tagprefix: (where is this dll?)
2. Add the RadFormDecorator server tag on the webpage:
| ASP.NET | Copy Code |
|---|---|
|
<telerik:radformdecorator id="FormDecorator1" runat="server" DecoratedControls="all" Skin="Web20"></telerik:radformdecorator>
|
|
1- Open IE >> Tools >> Internet Options >> Browsing >> Uncheck Disable script debugging both.
2- Create a new web application.
3- Add new Rad Grid>
4 -Add new SQL DataSource >> bind it with any simple database table.
5- Bind the grid with the datasource.
6- Right click project >> Properties >> Web tab >> Servers >> Use IIS Web Server.
Run the project and see alot of these according grid configuration:
http://img263.imageshack.us/img263/6646/ssnn5.jpg
if you choosed to debug you would see the errors within resources builtin scripts.
Note: these runtime errors does not appear when debugging using ASP.NET Development Server!!!
Vista Home Premium
IIS 7.0
VS 2008 Pro
SQL Server Express 2005
Telerik Rad Latest Version