or
I am a newbie and have been doing a lot of reading and trying. The following code works to some degree. Here's what I would like to address:
1. change the anchor tag in the clientTemplate to an html.Actionlink as in the .template
2. my datafield is not being encoded in the clientTemplate - most likely just syntax
3. if I must use the anchor tag - how do I pass parameters?
Thank you for any help.
<% Html.Telerik().Grid(Model.DocketList). Name("RenderedDockets").HtmlAttributes(New With {.style = "width:1200px; font-size:10px;"}). Columns(Sub(columns) columns.Template(Function(d) Ajax.ActionLink(d.DocketNumber.ToString, "../Forms/DocketImageRendPage.aspx", New With {.id = d.DocketNumber}, New AjaxOptions With {.HttpMethod = "Get"})).Title("Docket"). ClientTemplate("<a class='mgGoto' href='../Forms/DocketImageRendPage.aspx'>#=model.DocketNumber#</a>").Title("Docket") Pageable(). DataBinding(Function(b) b.Ajax().OperationMode(GridOperationMode.Client)). Sortable().BindTo(Model.DocketList).Render()%>.RadForm fieldset { padding: 10px 15px; border-width: 1px; border-style: solid;}<telerik:RadFormDecorator ID="RadFormDecoratorMain" runat="server" DecoratedControls="All" ControlsToSkip="Fieldset"></telerik:RadFormDecorator><telerik:RadTreeView ID="RadTreeViewFileShare" runat="server" > <ContextMenus> <telerik:RadTreeViewContextMenu ID="RadTreeViewContextMenuFs" runat="server"> <Items> <telerik:RadMenuItem> <ItemTemplate> <asp:Panel ID="PanelFindNode" runat="server" style="padding:5px;" DefaultButton="ButtonFindTreeNode"> <asp:Label ID="LabelFindNode" runat="server" Text="Find Node:" AssociatedControlID="TextBoxFindTreeNode"></asp:Label> <asp:TextBox ID="TextBoxFindTreeNode" runat="server" AutoCompleteType="Search"></asp:TextBox> <asp:ImageButton ID="ButtonFindTreeNode" runat="server" ImageUrl="~/Images/Search/Search.ico" ToolTip="Search for node" OnClick="ButtonFindTreeNode_Click" ImageAlign="Middle"/> </asp:Panel> </ItemTemplate> </telerik:RadMenuItem> </Items> </telerik:RadTreeViewContextMenu> </ContextMenus> </telerik:RadTreeView>
Is it possible to get the X and Y coordinates of a radgrid that has just been made visible? I want to scroll to the top of it as soon as it has been created.
<script type="text/javascript"> function rgOrderDetail_OnGridCreated(sender, args) { var bounds = //get bounds of the grid scrollTo(bounds.x, bounds.y); } </script>

