or
<
telerik:RadTreeView
ID
=
"MainTree"
runat
=
"server"
Skin
=
"WebBlue"
BackColor
=
"white"
EnableDragAndDrop
=
"false"
EnableDragAndDropBetweenNodes
=
"false"
Height
=
"100%"
OnLoad
=
"LoadMainTree"
Visible
=
"true"
OnContextMenuItemClick
=
"ContextMenuItemClick"
>
</
telerik:RadTreeView
>
<
telerik:RadToolTipManager
ID
=
"RadToolTipManager1"
runat
=
"server"
OnAjaxUpdate
=
"RadToolTipManager_AjaxUpdate"
Skin
=
"Sunset"
>
</
telerik:RadToolTipManager
>
RadToolTipManager_AjaxUpdate
has following implementation in the code behind:internal
static
void
RadToolTipManager_AjaxUpdate(
object
sender, ToolTipUpdateEventArgs e)
{
System.Web.UI.WebControls.Label lblTitle =
new
System.Web.UI.WebControls.Label();
lblTitle.Text =
"Title"
;
lblTitle.Attributes.Add(
"style"
,
"font-weight: 700"
);
System.Web.UI.WebControls.Label lblCaption =
new
System.Web.UI.WebControls.Label();
lblCaption.Text =
"This is the the hard coded string but I want to print the text of the RadTreeNode, over which I hover my mouse..."
;
e.UpdatePanel.ContentTemplateContainer.Controls.Add(lblTitle);
e.UpdatePanel.ContentTemplateContainer.Controls.Add(lblCaption);
}
private
void
LoadTree()
{
RadToolTipManager1.ShowDelay = 100;
RadToolTipManager1.HideDelay = 100;
RadToolTipManager1.AutoCloseDelay = 8000;
RadToolTipManager1.TargetControls.Add(
"MainTree"
);
}
<
location
path
=
"Telerik.Web.UI.WebResource.axd"
>
<
system.web
>
<
authorization
>
<
allow
users
=
"*"
/>
</
authorization
>
</
system.web
>
</
location
>
.formContainer
{
float:left;
margin:-6px 0px 0px 0px;
width:450px;
}
.formContainer input[type=password]
{
width:300px;
}
.formContainer input[type=text]
{
padding-left:3px;
width:298px;
}
.formContainer label
{
float:left;
clear:left;
text-align:left;
width:130px;
}
.formContainer textarea
{
width:300px;
}
using
System;
using
System.Collections.Generic;
using
System.Linq;
using
System.Web;
using
System.Web.UI;
using
System.Web.UI.WebControls;
namespace
Demo
{
public
partial
class
Default : System.Web.UI.Page
{
protected
override
void
OnLoad(System.EventArgs e)
{
base
.OnLoad(e);
}
protected
void
OnLogin(
object
sender, System.EventArgs e)
{
try
{
System.Threading.Thread.Sleep(3000);
}
catch
(System.Exception ex)
{
}
}
}
}
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Demo.Default" %>
<!doctype html>
<
html
>
<
head
>
<
link
href
=
"App_Themes/Basic/Style.css"
rel
=
"stylesheet"
type
=
"text/css"
/>
<
meta
charset
=
"utf-8"
/>
<
meta
content
=
"IE=edge,chrome=1"
http-equiv
=
"X-UA-Compatible"
/>
<
meta
content
=
"width=device-width,initial-scale=1"
name
=
"viewport"
/>
<
title
>Flowtivity</
title
>
</
head
>
<
body
>
<
form
runat
=
"server"
>
<
asp:ScriptManager
runat
=
"server"
/>
<
telerik:RadAjaxManager
runat
=
"server"
ID
=
"MainAjaxManager"
DefaultLoadingPanelID
=
"MainLoadingPanel"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"LoginButton"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"MainFormPanel"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
<
telerik:AjaxSetting
AjaxControlID
=
"MainFormPanel"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"MainFormPanel"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
<
ClientEvents
OnRequestStart
=
"onRequestStart"
OnResponseEnd
=
"onResponseEnd"
/>
</
telerik:RadAjaxManager
>
<
telerik:RadAjaxLoadingPanel
runat
=
"server"
ID
=
"MainLoadingPanel"
/>
<
telerik:RadInputManager
runat
=
"server"
ID
=
"MainInputManager"
>
<
telerik:TextBoxSetting
InitializeOnClient
=
"true"
>
<
TargetControls
>
<
telerik:TargetInput
ControlID
=
"MainFormPanel"
/>
</
TargetControls
>
</
telerik:TextBoxSetting
>
</
telerik:RadInputManager
>
<
asp:Panel
runat
=
"server"
ID
=
"MainFormPanel"
>
<
div
class
=
"formContainer"
>
<!--Remove CSS from this DIV and the RadLoadingPanel will display on postback-->
<
p
>
<
label
>
Email:</
label
>
<
asp:TextBox
runat
=
"server"
ID
=
"EmailTextBox"
Text
=
""
/></
p
>
<
p
>
<
label
>
Password:</
label
>
<
asp:TextBox
runat
=
"server"
ID
=
"PasswordTextBox"
TextMode
=
"Password"
/></
p
>
</
div
>
</
asp:Panel
>
<
div
>
<
telerik:RadButton
runat
=
"server"
ID
=
"LoginButton"
Text
=
"Login"
Width
=
"90px"
OnClick
=
"OnLogin"
OnClientClicking
=
"onLogin"
/>
</
div
>
<
telerik:RadScriptBlock
runat
=
"server"
>
<
script
type
=
"text/javascript"
>
function onLogin(sender, e) {
}
function onRequestStart() {
var btn = document.getElementById('<%= LoginButton.ClientID %>');
btn.disabled = true;
}
function onResponseEnd() {
var btn = document.getElementById('<%= LoginButton.ClientID %>');
btn.disabled = false;
}
</
script
>
</
telerik:RadScriptBlock
>
</
form
>
</
body
>
</
html
>
Telerik.Web.UI, Version=2009.3.1103.20 and we are upgrading our VS 2005 application to VS 2010. We are facing many problems in RadCombobox, TabStrip, Hierarchy Grid functionalities.
How to go about this?