Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
149 views
Hi,
 I have used Radmenu but i have a problem that every time mouse hover on Items on menu bar the items are  flickering simultaneously.this is a big issue please suggest me how can i remove this problem.

Thanks
Kate
Telerik team
 answered on 14 Jul 2011
0 answers
483 views
In order to make the usage of embedded Telerik skins even more transparent than before and reduce the size of the main Telerik AJAX assembly (Telerik.Web.UI.dll), we decided to introduce a separate dll for the AJAX skins (Telerik.Web.UI.Skins.dll) to attain both goals.

Update: Since Q3 2011, all existing skins, except Default, are moved to the skins assembly. By doing so, we were able to shave few megs off the main assembly and transfer that load to the skins assembly. And though 6 megs might seem modest for some, it's some 40% reduction in terms of the file size.: Separate Skin Assembly in RadControls for ASP.NET AJAX with Q3'11.

As it was mentioned four months ago, all embedded skins (except the Default one, which will remain plugged in the Telerik.Web.UI.dll) will be shifted to the Telerik.Web.UI.Skins.dll and to utilize any embedded skin other than the Default skin, you will have to have a valid reference to the new AJAX skins dll in your project.

More information is available in these help articles:
Skins Location
and
Skins Troubleshooting
Telerik Admin
Top achievements
Rank 1
Iron
 asked on 14 Jul 2011
3 answers
104 views
I have a MasterPage with a content page that contains a RadTabStrip containing 5 tabs there are 5 associated user controls that load into their corresponding PageViews. I am using the following code to load the associated user control into the selected tab.

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;
}

In the Page_Init of the control I build the DataGrid based on a defined .cs file for the grid definition.

protected void Page_Init(object source, EventArgs e)
{
    this.__activeBatchesRadGrid = PolicyRadGrid.GridDefinition();
    this.PlaceHolder1.Controls.Add(this.__activeBatchesRadGrid);
}

What I am seeing is every time I make a tab selection all of the PageViews are reloaded. This sample Code is being used so indeed there is no postback after all tabs have been initially loaded. However, as each tab is clicked the first time there is a postback to every control for every tab.

Even after all tabs have been initially loaded If click the refresh button of a RadDataGrid or the Pager control, all PageViews are recreated and their associated RadGridViews are repopulated even if it is not the grid I am working with. This is slowing down the presentation drastically. I know I must have missed something. Any help would be appreciated.

~Tim



Kate
Telerik team
 answered on 14 Jul 2011
1 answer
60 views
I have a grid that uses a needdatasource in which a xmldatasource is connected and i have a separate query-box, which uses a firecommand to update the grid using the xpath settings in the datasource. I have used this method, because now i can create a more complicated xpath method for selecting. I works fine, expect when the result for the the xpath selection is zero (no records found). Then the firecommand is not working, i think because the mastertable is not existing then. However the datasource itself always contains all the records, so the mastertable doesn't have to be empty. When i reload the grid with all the records, it works fine again. How can i solve this?

Sorry - posted in the wrong section

Radoslav
Telerik team
 answered on 14 Jul 2011
1 answer
51 views
I have a grid that uses a needdatasource in which a xmldatasource is connected and i have a separate query-box, which uses a firecommand to update the grid using the xpath settings in the datasource. I have used this method, because now i can create a more complicated xpath method for selecting. I works fine, expect when the result for the the xpath selection is zero (no records found). Then the firecommand is not working, i think because the mastertable is not existing then. However the datasource itself always contains all the records, so the mastertable doesn't have to be empty. When i reload the grid with all the records, it works fine again. How can i solve this?
Radoslav
Telerik team
 answered on 14 Jul 2011
3 answers
134 views
I've tried adding the web.config setting:
<add key="Telerik.AsyncUpload.TemporaryFolder" value="C:\TempUpload\" />

I've also tried using the TemporaryFolder property in the control, and while the files are saved in the defined location, an error is still thrown if I do not give Full R/W access to the "~/App_Data/RadUploadTemp" folder.  Is this a known issue or is there something I'm missing here?  I'm using the 2011.1.519.40 build.
Peter Filipov
Telerik team
 answered on 14 Jul 2011
1 answer
199 views

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.
------------------

RadAsyncUpload does not have permission to write files in the TemporaryFolder. In Medium Trust scenarios, the TemporaryFolder should be a subfolder of the Application Path.

 

at Telerik.Web.UI.RadAsyncUpload.TestTemporaryFolderPermissions() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
-----------------------

Application is running under full trust and when i dont share the folder it works fine. Please help!!
Peter Filipov
Telerik team
 answered on 14 Jul 2011
1 answer
94 views
Is there a way to load content (external or other pages in the same project) on RadSlidingPane open or onexpanding? Thanks
Marin Bratanov
Telerik team
 answered on 14 Jul 2011
1 answer
158 views
Hello,

I'm trying to use the Server.Transfer with the boolean preserveForms true, so I can read the values from another page.
The issue here is that the controls ids are different in the destination page, for instance, an RadTreeView with ID "trvEntities" will have the "ctl00_Content_trvEntities_ClientState" key in the Form collection.

Is there any way that I can get this key based on the ID I gave to the control, in order to access it's value?

Thanks!

Tiago Ribeiro
Tiago
Top achievements
Rank 1
 answered on 14 Jul 2011
1 answer
74 views

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

Marin Bratanov
Telerik team
 answered on 14 Jul 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?