or
Hello
I am new to telerik controls and new to the company I am working for. I have asked to fix some telerik control updates
I am attaching the pics to be more clear
On .aspx <telerik:RadToolTip runat="server" ID="plRadToolTip" Skin="AlSkin" EnableEmbeddedSkins="false" EnableShadow="false" Position="MiddleLeft" ShowEvent="OnClick" HideEvent="ManualClose" RelativeTo="Element"> <div id="divPLToolTipDiv1" runat="server"> <div class="plToolTipDiv2"> <div class="plToolTipTitleDiv" id="divPLToolTipTitle"> </div> <div class="plToolTipLinkDiv" id="divPLToolTipSearchKB"> <a id="aPLToolTipSearchKB" runat="server"><span id="spnPLToolTipSearchKBText" runat="server"> </span></a> </div> <div class="plToolTipLinkDiv" id="divPLToolTipDocumentation"> <a id="aPLToolTipDocumentation" runat="server"><span id="spnPLToolTipDocumentationText" runat="server"></span></a> </div> <div class="plToolTipLinkDiv" id="divPLToolTipAddIncident"> <a id="aPLToolTipAddIncident" runat="server"><span id="spnPLToolTipAddAnIncidentText" runat="server"></span></a> </div> <div class="plToolTipLinkDiv" id="divPLToolTipDownloadPatches"> <a id="aPLToolTipDownloadPatches" runat="server"><span id="spnPLToolTipDownloadPatchesText" runat="server"></span></a> </div> <div class="plToolTipLinkDiv" id="divPLToolTipUpdateMyProductLine"> <a id="aPLToolTipUpdateMyProductLine" runat="server"><span id="spnPLToolTipUpdateMyProductLineText" runat="server"></span></a> </div> <div class="plToolTipLinkDiv" id="divPLToolTipUpdateMyProductLines"> <a id="aPLToolTipUpdateMyProductLines" runat="server"><span id="spnPLToolTipUpdateMyProductLinesText" runat="server"></span></a> </div> </div> </div> </telerik:RadToolTip>Javascipt used function ShowProductLineToolTip(target_id, title, product_line_id, category_id, doc_page_to_show, show_kb, show_doc, show_ai, show_dlp, show_umpl, show_umpls) { var toolTip = $find("plRadToolTip");| Protected Sub lbSchedApt_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles lbSchedApt.Click |
| Dim jScript As String = [String].Format("openNewWindow('{0}', '{1}');", schedQID, ddlEvaluators.SelectedValue) |
| Page.ClientScript.RegisterStartupScript(Me.GetType(), "ClientScript", jScript, True) |
| End Sub |
| function openNewWindow(schedQueueID, evaluatorID) { |
| window.radopen("ScheduleAppointment.aspx?ScheduleQueueID=" + schedQueueID + "&EvaluatorID=" + evaluatorID, "SchedAppt"); |
| return false; |
| } |
| <asp:linkbutton ID="lbSchedApt" runat="server">Make Appointment</asp:linkbutton> |
| hlSchedApt.Attributes("href") = "#" |
| hlSchedApt.Attributes("onclick") = [String].Format("return openNewWindow('{0}', '{1}');", datarow.Row.ItemArray(8).ToString(), ddlEvaluators.SelectedValue) |
<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %><%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %><asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent"></asp:Content><asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent" > <asp:Panel runat="server" Width="968px"> <div style="height: 20px"></div> <div> <telerik:RadGrid ID="RadGrid1" runat="server" AllowSorting="True" AutoGenerateColumns="False" CellSpacing="0" GridLines="None"> <ClientSettings > <Resizing AllowColumnResize="True" ResizeGridOnColumnResize="False" ></Resizing> <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="True" ></Scrolling> </ClientSettings> <MasterTableView > <Columns> <telerik:GridBoundColumn FilterControlAltText="Filter column column" EmptyDataText="" HeaderText="Col1" UniqueName="column1"> <HeaderStyle Width="150px" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn FilterControlAltText="Filter column1 column" HeaderText="Col2" UniqueName="column2"> <HeaderStyle Width="150px" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn FilterControlAltText="Filter column2 column" HeaderText="Col3" UniqueName="column3"> <HeaderStyle Width="150px" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn FilterControlAltText="Filter column3 column" HeaderText="Col4" UniqueName="column4" EmptyDataText=""> <HeaderStyle Width="150px" /> </telerik:GridBoundColumn> </Columns> </MasterTableView> </telerik:RadGrid> </div> <div style="height: 20px"></div> </asp:Panel></asp:Content>using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;public partial class _Default : System.Web.UI.Page{ public class ObjetDataRow { public string Colonne1 { get; set; } public string Colonne2 { get; set; } public string Colonne3 { get; set; } public string Colonne4 { get; set; } } private IList<ObjetDataRow> datas { get; set; } protected void LoadData() { if (datas == null) { datas = new List<ObjetDataRow> { new ObjetDataRow() { Colonne1 = "Row1Colonne1", Colonne2 = "Row1Colonne2", Colonne3 = "Row1Colonne3", Colonne4 = "Row1Colonne4" }, new ObjetDataRow() { Colonne1 = "Row2Colonne1", Colonne2 = "Row2Colonne2", Colonne3 = "Row2Colonne3", Colonne4 = "Row2Colonne4" }, new ObjetDataRow() { Colonne1 = "Row3Colonne1", Colonne2 = "Row3Colonne2", Colonne3 = "Row3Colonne3", Colonne4 = "Row3Colonne4" }, new ObjetDataRow() { Colonne1 = "Row4Colonne1", Colonne2 = "Row4Colonne2", Colonne3 = "Row4Colonne3", Colonne4 = "Row4Colonne4" } }; } RadGrid1.ClientSettings.Scrolling.ScrollHeight = new Unit(); } protected void Page_Load(object sender, EventArgs e) { LoadData(); if (!IsPostBack) { RadGrid1.DataSource = datas; } }}