Ok this one was not immediately obvious to me so I’m posting the solution here. I’m using a Telerik Ajax RadEditor on my page as follows: <telerik:RadEditor ID="rhfNotes" EditModes="Preview" runat="server" ToolsFile="ToolsFile.xml"> </telerik:RadEditor> Now, after doing a bit of inspection, I discovered there was a property I could set on the RadEditor called ToolTip that seemed [...]
Continue Reading →How to Find the Server Control ID of a RadGrid
Let’s say you have 2 RadGrids defined in your aspx page. Both grids happen to share the same ItemDataBound event, but you’d like to apply a small tweak depending on what grid is calling the ItemDataBound method. In order to implement your tweak, you’ll need a way to find the ID of the grid that [...]
Continue Reading →Adding a Header Row to Telerik RadGrid Programmatically
So here’s the idea. I’ve got a RadGrid on my page that is populated programmatically. I build a DataTable from various different sources and once I’m satisifed with how my DataTable looks, I set the grid’s DataSource property and bind. That’s all good, except now I want to insert a header row in the middle [...]
Continue Reading →Telerik RadGrid – Accessing Controls In Edit Mode
In this post, I’m going to talk a little bit about how to access specific controls within a RadGrid while that grid is in edit mode. There are several reasons you may want to do this: You might need to set some defaults for the control. You want to perform some calculation and output some [...]
Continue Reading →How to Filter a RadGrid When the Enter Key is Pressed
The solution for this was not totally obvious to me when reading the RadGrid documentation, so I did a bit of forum searching and found the solution below: Let’s say you’ve got a RadGrid on your page, and you’ve configured it already to allow for filtering by setting the AllowFilteringByColumn property to true as follows: [...]
Continue Reading →How to Create a HyperLink Column Within a TreeView Control
Let’s say you have an employee table and you want to be able to create a hyperlink on the employee name column with a custom url in the form of: “employee.aspx?ID=” Within an asp.net datagrid, you could achieve this by creating a hyperlinkcolumn and specifying the DataNavigateUrlField and the DataNavigateUrlFormatString as follows: 1 <asp:HyperLinkColumn DataNavigateUrlField="EmployeeID" [...]
Continue Reading →How to Add Telerik Ajax to SharePoint
The steps below outline how to get started using Telerik Ajax within a SharePoint custom application page. If you’re developing a web part or even just a custom asp.net application, the concepts are still the same. Add the RadAjax.Net2.dll file into the GAC. If you need to find the RadAjax.Net2.dll file, if you’ve installed the [...]
Continue Reading →How to Add Telerik Controls to SharePoint
If you’re building custom application pages within MOSS and need some guidance on how to build your pages using Telerik controls, I’ve outlined some steps to get you started. Create a new folder within the 1 c:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS directory to store your custom application pages. For example: 1 c:\Program Files\Common Files\Microsoft [...]
Continue Reading →