Sunday, September 12, 2010
Thursday, April 29, 2010
Using Telerik's Extensions for ASP.NET MVC
Specifically the grid component
I was attempting to change the text of the Insert button and it was not obvious, to me at least, how to do so....
so jquery to the rescue!!
I'm using the Telerik's grid in an MVC 2 application using Visual Studio 2008
In the view, tie the view to a javascript file
<script src="../../Scripts/checkbook.js" type="text/javascript"></script>
in the javascript file, type the following...
$(".t-grid-add").text("Add New Invoice");
Note that the class for the insert command in the grid is t-grid-add
as you can see from the firebug screenshot one of the classes for the button/link is t-grid-add
and voila!
Specifically the grid component
I was attempting to change the text of the Insert button and it was not obvious, to me at least, how to do so....
so jquery to the rescue!!
I'm using the Telerik's grid in an MVC 2 application using Visual Studio 2008
In the view, tie the view to a javascript file
<script src="../../Scripts/checkbook.js" type="text/javascript"></script>
in the javascript file, type the following...
$(".t-grid-add").text("Add New Invoice");
Note that the class for the insert command in the grid is t-grid-add
as you can see from the firebug screenshot one of the classes for the button/link is t-grid-add
and voila!
Thursday, December 14, 2006
Subscribe to:
Posts (Atom)