private void AddTab(string tabName, string id)
{
RadTab _tab = new RadTab {Text = tabName, PageViewID = id};
RadTabStrip1.Tabs.Add(_tab);
}
protected void RadMultiPage1_PageViewCreated(object sender, RadMultiPageEventArgs e)
{
string _userControlName = string.Format("/Controls/{0}.ascx", e.PageView.ID);
Control _userControl = Page.LoadControl(_userControlName);
_userControl.ID = e.PageView.ID + "_userControl";
e.PageView.Controls.Add(_userControl);
}
private void AddPageView(RadTab tab)
{
RadPageView _pageView = new RadPageView {ID = tab.PageViewID, CssClass = "pageView"};
RadMultiPage1.PageViews.Add(_pageView);
tab.PageViewID = _pageView.ID;
}
protected void RadTabStrip1_OnTabClick(object sender, RadTabStripEventArgs e)
{
AddPageView(e.Tab);
e.Tab.PageView.Selected = true;
}
protected void Page_Init(object source, EventArgs e)
{
this.__activeBatchesRadGrid = PolicyRadGrid.GridDefinition();
this.PlaceHolder1.Controls.Add(this.__activeBatchesRadGrid);
}
<
add
key
=
"Telerik.AsyncUpload.TemporaryFolder"
value
=
"C:\TempUpload\"
/>
I am deploying the control on a webfarm. I dont have a NAS, instead im trying to use folder sharing and drive mapping. However i am not able to do so. I even created a new drive and shared, still no success.
Follwing is the stack trace i am seeing.
------------------
Hi
When we want set RadToolTipManager text direction to “right to left”, must use CssClass!
Well, now look at this code:
<%@ Page Language="C#" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>tooltip</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<form id="form" runat="server">
<h1>RadToolTipManager text direction set to default(left to right).</h1>
<div style="margin:auto;width:50px;">
<tlk:RadScriptManager ID="radScriptManager" runat="server" />
<tlk:RadToolTipManager runat="server" ID="radToolTipManager"
ManualClose="true"
ManualCloseButtonText="ManualCloseButtonText"
Position="MiddleLeft"
RelativeTo="Element"
ShowEvent="OnMouseOver"
Width="275">
<TargetControls>
<tlk:ToolTipTargetControl TargetControlID="button" />
</TargetControls>
</tlk:RadToolTipManager>
<asp:Button ID="button" runat="server"
Text="Button"
ToolTip="آزمايشی" />
</div>
</form>
</body>
</html>
first bug: CssClass is not working for RadToolTipManager, and also we can’t customize tooltips elements like font with Font Properties of RadToolTipManager!
So I set direction property of parent div tag style to rtl(direction:rtl;), but it is not working too!
Finally I realized that the only way to changing RadToolTipManager text direction is that I must be set direction property of form tag style or a tag that is parent of form tag!!!
now look at finally code:
<%@ Page Language="C#" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>tooltip</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<form id="form" runat="server" style="direction:rtl;">
<div style="margin:auto;width:50px;">
<tlk:RadScriptManager ID="radScriptManager" runat="server" />
<tlk:RadToolTipManager runat="server" ID="radToolTipManager"
ManualClose="true"
ManualCloseButtonText="ManualCloseButtonText"
Position="MiddleLeft"
RelativeTo="Element"
ShowEvent="OnMouseOver"
Width="275">
<TargetControls>
<tlk:ToolTipTargetControl TargetControlID="button" />
</TargetControls>
</tlk:RadToolTipManager>
<asp:Button ID="button" runat="server"
Text="Button"
ToolTip="آزمايشی" />
</div>
</form>
</body>
</html>
But when I do this an other bug detected!
Secound bug: Scrollbar is very long! Look at images