Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
65 views
How to move EditFormSettings Template to bottom after click "Add New Row"

thankā¸Ģ you
Shinu
Top achievements
Rank 2
 answered on 03 Dec 2013
2 answers
252 views
How to visible GridEditCommandColumn some row
ex. visible in rowindex 1 and 3
Nitisak
Top achievements
Rank 1
 answered on 03 Dec 2013
3 answers
71 views
Hello Telerik Team.
There is a problem/Bug in Online demo for Menu . I am using IE9.0.8112.16421
in This page : http://demos.telerik.com/aspnet-ajax/menu/examples/functionality/righttoleft/defaultcs.aspx
When you Don't use Comopatibility Mode ,everyThing is Fine but When you Enable Compatibility Mode
and Mouse over on "Format" then "Font" , submenu appears above the Format's submenu JUST FOR FIRST TIME,but in other tries ,it Apears in correct place.
Is any Solution for solving this Problem?Because I have a Problem Like this.
Thanks.
Princy
Top achievements
Rank 2
 answered on 03 Dec 2013
5 answers
359 views
Please Anybody can help me? 
I cann't change parent window url after radwindow close.
this is code on parent window .
 function UpdateParentPage(args) {

                if (args != null && args != '') {
                    if (args.startsWith('MoveReservation')) {
                        UpdateParentPageWithAjaxRequest('GrpResRoomRebind');
                    }
                    else if (args.startsWith('CheckIn')) {
                        window.location.reload();
                    }
                    else {
                        UpdateParentPageWithAjaxRequest('ReBindTransList');
                       // RedirePage();
                    }
                }
            }
            function RedirePage()
            {
               top.location.href= "../../Reservation/FolioNew.aspx";
            }
.....
Code on RadWindow
   function ResizeAndClose(width, height, key) {
                    //if (document.referrer.indexOf("/Update/ReservationDetails.aspx") > 0) {

                    //    top.location.href = '../../Reservation/FolioNew.aspx?';

                    //}
                    GetRadWindow().setSize(width, height);
                   
                    setTimeout('GetRadWindow().close("")', 100);
                   
                    GetRadWindow().BrowserWindow.UpdateParentPage(key);
                    GetRadWindow().BrowserWindow.RedirePage();

                   
                }

What i want is after process this  GetRadWindow().BrowserWindow.UpdateParentPage(key), want to go redirepage. 

Shinu
Top achievements
Rank 2
 answered on 03 Dec 2013
4 answers
258 views

Hi,

I can not find any properties to maintain the current position of Multipage after the postback.

In my case, I define multipage in usercontrol from which is added to target control of RadToolTipManager.  The scroll position is always back on the top after the postback.

Regards,

Duy
Duy
Top achievements
Rank 1
 answered on 03 Dec 2013
12 answers
139 views
Hi, im using a template to create a "Close" icon where user can close particular tabs. When I drag/drop any tab to reorder, I lose the icon. Im using Q3 2012 (2012_3_1205). I fill the control dynamically in code-behind but I also experience it if defining tabs in the markup. Here is the code:

<telerik:RadTabStrip  ID="RadTabStrip1" runat="server" EnableDragToReorder="true"  >
                         <TabTemplate>
                                 <div class="CloseIcon">
                                 </div>
                                     
                                <div class="TabWrapperRight">
                                    <%# DataBinder.Eval(Container, "Text") %>
                                </div>
                        </TabTemplate>
</telerik:RadTabStrip>

CSS
.CloseIcon
{
    width: 13px;
    height: 11px;
    background:url("/Images/Icons/close.png") 0 0;
    margin: 4px 0px 0px 25px;
}

.CloseIcon:hover
{
background:url("/Images/Icons/close.png") 0 -11px;
}

.TabWrapperRight
{
position:relative;
float:right;
}

Let me know if you need more code to reproduce it.

TIA
Chanan Zass
Top achievements
Rank 1
 answered on 02 Dec 2013
1 answer
30 views
We're evaluating the trial version of the controls, but we're not getting a splitbar image, no matter which skin we select or which browser we use.
The test project is referencing runtime version v4.0.30319 of both Telerik.Web.UI.dll  and Telerik.Web.UI.Skins.dll.

The ultra simple code of our testpage:
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="TestRadSplitter.aspx.vb"
    Inherits="WebwareNET.TestRadSplitter" %>
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <div>
        <telerik:RadSplitter ID="RadSplitter1" Width="100%" Height="100%" Orientation="Vertical"
            LiveResize="True" runat="server" Skin="MetroTouch">
            <telerik:RadPane ID="LeftPane" MinWidth="200" Width="200"
                Scrolling="None" runat="server">
                Inside left pane
            </telerik:RadPane>
            <telerik:RadSplitBar ID="RadSplitBar1" runat="server">
            </telerik:RadSplitBar>
            <telerik:RadPane ID="RightPane" Scrolling="Both" runat="server">
                Inside right pane
            </telerik:RadPane>
        </telerik:RadSplitter>
    </div>
    </form>
</body>
</html>

And what we see in the browser can be seen in the attached screenshot.

What do we need to do to get the splitbar image in the RadSplitBar?
Vessy
Telerik team
 answered on 02 Dec 2013
1 answer
74 views
Hi,

We are calling the autoSize method manually to resize the window in some cases after load so that it fits with content.
We had no problem with this when using Classic render mode, but when switching to Lighweight it doesn't decrease its width anymore!

See the following sample:
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="window.aspx.vb" Inherits="TestaTredjepartWeb.window" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="s" runat="server">
    </asp:ScriptManager>
    <div>
        <telerik:RadWindowManager ID="RadWindowManager1" runat="server">
            <Windows>
                <telerik:RadWindow ID="RadWindow1" runat="server" VisibleOnPageLoad="true" AutoSize="true" RenderMode="Lightweight" Title="Hello" NavigateUrl="windowcontent.aspx" VisibleStatusbar="false" >
                </telerik:RadWindow>
            </Windows>
        </telerik:RadWindowManager>
    </div>
    </form>
</body>
</html>

Content window:
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="windowcontent.aspx.vb" Inherits="TestaTredjepartWeb.windowcontent" %>
 
<!DOCTYPE html>
 
<head runat="server">
    <title>This is the title</title>
    <style>
        html, body, form
        {
            padding: 0px;
            margin: 0px;
            overflow: hidden;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="s" runat="server">
        </asp:ScriptManager>
        <div id="div" style="background-color: red; height: 300px; width: 300px">
            test
            <asp:Button ID="btn" runat="server" OnClientClick="$get('div').style.height = '200px'; window.top.GetRadWindowManager().getActiveWindow().autoSize(); return false;" />
        </div>
    </form>
</body>
</html>


When clicking the button the height of the window should be 200px instead of 300px, but it only gets a little bit larger...
If setting RenderMode="Classic" it does work as expected!

Regards
Andreas
Marin Bratanov
Telerik team
 answered on 02 Dec 2013
1 answer
977 views

I have 2 pages (Home and ĐĄategory) Load page Home on there's button. Click button run panel RadWindow (NavigateUrl: ĐĄategory).

protected void ShowWindow()
    {
        string script = "function f(){$find(\"" + RadWindow_editor.ClientID + "\").show(); Sys.Application.remove_load(f);}Sys.Application.add_load(f);";
        ScriptManager.RegisterStartupScript(Page, Page.GetType(), "key", script, true);
    }
    protected void RadButtonEdit_Click(object sender, EventArgs e)
    {
        ShowWindow();
    }

Load RadWindow NavigateUrl - ĐĄategory on there's button. Click button close RadWindow.

protected void RadButtonEdit_Click(object sender, EventArgs e)
        {
            ClientScript.RegisterStartupScript(Page.GetType(), "mykey", "Close();", true);
        }
 function GetRadWindow() {
     var oWindow = null;
     if (window.radWindow)
         oWindow = window.radWindow;
     else if (window.frameElement.radWindow)
         oWindow = window.frameElement.radWindow;
     return oWindow; 
 }

 function Close() {
     var oWindow = GetRadWindow();
     oWindow.argument = null;
     oWindow.close();
     return false;
 }

How to refresh the page Home? (Click button close RadWindow)

Thank you!

Marin Bratanov
Telerik team
 answered on 02 Dec 2013
1 answer
54 views
Hi,

When using autosize and Lightweight, the height of the window is always 4px to large!

Sample:
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="window.aspx.vb" Inherits="TestaTredjepartWeb.window" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="s" runat="server">
    </asp:ScriptManager>
    <div>
        <telerik:RadWindowManager ID="RadWindowManager1" runat="server">
            <Windows>
                <telerik:RadWindow ID="RadWindow1" runat="server" VisibleOnPageLoad="true" AutoSize="true" RenderMode="Lightweight" Title="Hello" NavigateUrl="windowcontent.aspx" VisibleStatusbar="false" >
                </telerik:RadWindow>
            </Windows>
        </telerik:RadWindowManager>
    </div>
    </form>
</body>
</html>

Contentwindow:
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="windowcontent.aspx.vb" Inherits="TestaTredjepartWeb.windowcontent" %>
 
<!DOCTYPE html>
 
<head runat="server">
    <title>This is the title</title>
    <style>
        html, body, form
        {
            padding: 0px;
            margin: 0px;
            overflow: hidden;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div style="background-color: red; height: 300px; width: 300px">
            test
        </div>
    </form>
</body>
</html>

As you can see the red color of the inner content doesn't fill all the way down...

Regards
Andreas
Marin Bratanov
Telerik team
 answered on 02 Dec 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?