Telerik Forums
UI for ASP.NET AJAX Forum
9 answers
379 views
please see attached image:
Kate
Telerik team
 answered on 03 Jun 2011
2 answers
186 views
This problem happens only in IE7, the same application works fine in chrome and firefox, i have read all the post in this website but the problem still happens, cannot set the width in the columns because the header text doesn't fix, the grid have a scroll but the space keeps comming, it doesn't happens when MasterTableView TableLayout set to "Fixed", but the columns content doesn't fix.

attach an picture of the problem.


i hope you can help me,

regards

Andres G.

andres
Top achievements
Rank 1
 answered on 03 Jun 2011
1 answer
49 views
Hi

I refered the  Window / RadWindow And MDI from demos Now when i open any new window using javascript from a opened page how to bring the opened page text in tadstrip.

Help !!!

Marin Bratanov
Telerik team
 answered on 03 Jun 2011
2 answers
108 views
Hello,

I'm trying to embed the rotator as mentioned in the telerik examples, but it is not fading the images. The images are moving from right to left and they are not performing the fade effect even the sample is copy paste from the telerik samples.

Here is the code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
  
<head runat="server">
    <title></title>
     <style type="text/css">
        .rotatorBackground
        {
            float: left;
            margin-left: 50px;
            margin-top: 10px;
            width: 440px;
            height: 185px;
            border: solid 2px #dedede;
            -moz-border-radius: 15px;
            -webkit-border-radius: 15px;
        }
        .rotatorStyle
        {
            margin: 40px auto 0px;
        }
        .rotatorStyle .RotatorItem
        {
            margin:5px;
            height: 100px;
            width: 100px;
        }
        .rotatorCarouselStyle
        {
            margin: 0px auto;
        }
        .RotatorItem
        {
            border: solid 1px #dff3ff !important;
        }
        .mainDiv
        {
            margin-bottom: 20px;
        }
        .configurationPanel
        {
            width: 290px;
            border: 0px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
      
    </telerik:RadScriptManager>
    <telerik:RadAjaxLoadingPanel ID="LoadingPanel1" runat="Server" Transparency="30"
        EnableSkinTransparency="false" BackColor="#E0E0E0">
    </telerik:RadAjaxLoadingPanel>
     
    <telerik:RadAjaxPanel ID="AjaxPanel1" runat="server" LoadingPanelID="LoadingPanel1">
        <div class="mainDiv">
            <div class="rotatorBackground">
                
                <telerik:RadRotator ID="RadRotator1" runat="server" Width="224px" Height="112px"
                    CssClass="rotatorStyle" ItemHeight="112" ItemWidth="112" 
                    SlideShowAnimation-Type="Fade" SlideShowAnimation-Duration="3000"  >
                    <Items>
                        <telerik:RadRotatorItem>
                            <ItemTemplate>
<asp:Image runat="server" ID="Image" ImageUrl='Img/Northwind/Customers/Thumbs/ANATR.jpg'
CssClass="RotatorItem" AlternateText="Customer Image" />
                            </ItemTemplate>
                        </telerik:RadRotatorItem>
                        <telerik:RadRotatorItem>
                            <ItemTemplate>
<asp:Image runat="server" ID="Image1" ImageUrl='Img/Northwind/Customers/Thumbs/ANTON.jpg'
CssClass="RotatorItem" AlternateText="Customer Image" />
                            </ItemTemplate>
                        </telerik:RadRotatorItem>
                        <telerik:RadRotatorItem>
                            <ItemTemplate>
<asp:Image runat="server" ID="Image2" ImageUrl='Img/Northwind/Customers/Thumbs/BOTTM.jpg'
CssClass="RotatorItem" AlternateText="Customer Image" />
                            </ItemTemplate>
                        </telerik:RadRotatorItem>
                        <telerik:RadRotatorItem>
                            <ItemTemplate>
<asp:Image runat="server" ID="Image3" ImageUrl='Img/Northwind/Customers/Thumbs/CACTU.jpg'
CssClass="RotatorItem" AlternateText="Customer Image" />
                            </ItemTemplate>
                        </telerik:RadRotatorItem>
                        <telerik:RadRotatorItem>
                            <ItemTemplate>
<asp:Image runat="server" ID="Image3" ImageUrl='Img/Northwind/Customers/Thumbs/CENTC.jpg'
CssClass="RotatorItem" AlternateText="Customer Image" />
                            </ItemTemplate>
                        </telerik:RadRotatorItem>
                        <telerik:RadRotatorItem>
                            <ItemTemplate>
<asp:Image runat="server" ID="Image3" ImageUrl='Img/Northwind/Customers/Thumbs/ERNSH.jpg'
CssClass="RotatorItem" AlternateText="Customer Image" />
                            </ItemTemplate>
                        </telerik:RadRotatorItem>
                        <telerik:RadRotatorItem>
                            <ItemTemplate>
<asp:Image runat="server" ID="Image3" ImageUrl='Img/Northwind/Customers/Thumbs/LAUGB.jpg'
CssClass="RotatorItem" AlternateText="Customer Image" />
                            </ItemTemplate>
                        </telerik:RadRotatorItem>
                        <telerik:RadRotatorItem>
                            <ItemTemplate>
<asp:Image runat="server" ID="Image3" ImageUrl='Img/Northwind/Customers/Thumbs/MAISD.jpg'
CssClass="RotatorItem" AlternateText="Customer Image" />
                            </ItemTemplate>
                        </telerik:RadRotatorItem>
                        <telerik:RadRotatorItem>
                            <ItemTemplate>
<asp:Image runat="server" ID="Image3" ImageUrl='Img/Northwind/Customers/Thumbs/MEREP.jpg'
CssClass="RotatorItem" AlternateText="Customer Image" />
                            </ItemTemplate>
                        </telerik:RadRotatorItem>
                        <telerik:RadRotatorItem>
                            <ItemTemplate>
<asp:Image runat="server" ID="Image3" ImageUrl='Img/Northwind/Customers/Thumbs/OCEAN.jpg'
CssClass="RotatorItem" AlternateText="Customer Image" />
                            </ItemTemplate>
                        </telerik:RadRotatorItem>
                    </Items>
                </telerik:RadRotator>
            </div>
        </div>
    </telerik:RadAjaxPanel>
  
    </form>
</body>
</html>

Thanks for your help
Mike_T
Top achievements
Rank 1
 answered on 03 Jun 2011
1 answer
76 views
hi,

how to hide parent radwindow behaviours when open child radwindow in javascript and how to enable parnet radwindow behaviour when close child radwindow


regards,
asiq
Marin Bratanov
Telerik team
 answered on 03 Jun 2011
5 answers
455 views
Hi
I'm using a hierarchical grid. In one of them I defined columns but all of them is set to visible = false. All of these columns I binded manualy in nested view template. The grid have just one row. Nested view template is automaticaly expanded. I want to place the edit and the delete button onto view template instead to having them in column (e. g. GridEditCommandColumn). Is this possible ?

I'm using this because I don't want to loose the automatic update delete and insert abilities.

Thank you very much.

Tibor
Princy
Top achievements
Rank 2
 answered on 03 Jun 2011
10 answers
253 views
Hello every one,


How to find control in ,
But One thing that radlist box in EditFormSettings,
That why how i find that controls.
Reply As soon As possible

 protected void RadListBoxSourceGroup_Transferred(object sender, Telerik.Web.UI.RadListBoxTransferredEventArgs e)
        {
            RadListBox SelectedList = (RadListBox)FindControl("RadListBoxDestinationGroup");
            foreach (RadListBoxItem item in SelectedList.Items)
            {
                Response.Write(item.Attributes["myId"]); // get the third value
            }
        }


Thanks,
Mohamed.
mohamed
Top achievements
Rank 1
 answered on 03 Jun 2011
1 answer
107 views
1. I have a general layout like this (see below). What happens is when i click on content1 or 2 pane they slide open but they DONT fill up 100% of the width of "LeftPane", unstead they open in a small slice about 200px it looks like. If I explicitly change content1 width to be like 700px then it opens bigger, but i want to use percentage to fill in 100% of "LeftPane". How can i get percentages to work?

2. Say i make CONTENT1 docked and open on load. (expandedpaneid=content1 and dockonopen=true). How can I totally prevent the user from ever undocking ie closing that pane. Such that CONTENT2 will just slide open overtop content1 but CONTENT1 can never be closed or undocked?


<telerik:RadSplitter ID="RadSplitter1" runat="server" skin="vista" Width="100%">
   <telerik:RadPane ID="LeftPane" runat="server" Scrolling="None" Width="58%">
 
      <telerik:RadSlidingZone ID="Zone1" runat="server" Width="22px" ClickToOpen="true">
            <telerik:RadPane ID="Expanding_CONTENT1" Title="Pane1" runat="server" Scrolling="None" Width="100%" >    
            </telerik:RadPane>
            <telerik:RadPane ID="Expanding_CONTENT2" Title="Pane1" runat="server" Scrolling="None" Width="100%" >    
            </telerik:RadPane>
      </telerik:RadSlidingZone>
 
  </telerik:RadPane>
 
  <telerik:RadSplitBar runat="server" ID="SplitBar1" CollapseMode="Both" />
 
  <telerik:RadPane ID="RightPane_AlwaysOpen" runat="server" Scrolling="None" Width="38%">
  </telerik:RadPane>
 
</telerik:RadSplitter>


UPDATE: Did some more testing and the layout/sizing is actually all correct as long as I don't use ExpandedPaneId or Dock any Panes. As soon as i dock something or set expandedpaneid then the size of the left pane jumps to a small window and the right pane takes up most of the screen. (not the behavior i want)

Another Issue i noticed is resizing the browser doesn't resize Panes? why is this? The radgrid and all the other controls i have used automatically resize if i resize the browser but the above layout does not resize at all - unless i reload the page


THANKS
jason
Dobromir
Telerik team
 answered on 03 Jun 2011
5 answers
190 views
Hello,

I have a radGrid inside a XmlHttpPanel and when I call panel.set_value() I am getting the following error:

XmlHttpPanel Callback Loading error:
Exception=Script control 'rfltMenu' is not a registered script control.
Script controls must be registered using RegisterScriptControl() before
calling RegisterScriptDescriptors().
Parameter name: scriptControl


I have downloaded and installed the latest build ( 2009_2_927) which seems to have fixed a similar error I was getting before with the GoToPageTextBox. 

Thanks

Ernie
Pero
Telerik team
 answered on 03 Jun 2011
4 answers
119 views
Hi,
I'm using Telerik version 2009.31208.20. I have a master page in which I put some windows in a radwindow manager and an OnClientClose javascript function that is invoked when a window is open then closed in the content page. This scenario works perfectly.
However,
I have placed in the  content page 3 radtextbox (change pass word form),. After entering the  old and new password, I clic on a validate button to send the form and change the password. This works fine in all web navigators except in Google Chrome: some times and at random way, when I clic on the validate button i get the "try to enter your old passwold" and the radtextbox is cleared (an empty string is sent to the server). When I debug javascript in the page, this error is shown: erreur javascript :"OnClientClose is not defined : $create(Telerik.Web.UI.RadWindow, ...get("ctl00_frmCoordonneesPostale"));".
Thanks.
here the master page source code:
 <telerik:RadWindowManager ID="RadWindowManager1" Skin="WebBlue" runat="server" Behaviors="Close, Move" 
        Modal="True" ReloadOnShow="True" ShowContentDuringLoad="False" OnClientClose="OnClientClose" 
        InitialBehaviors="Close"
        <Windows> 
            <telerik:RadWindow ID="frmCoordonneesPostale" runat="server" Title="<%$ Resources:Labels, SubSpacefrmCoordonneesPostaleTitle %>" 
                DestroyOnClose="False" Height="510px" KeepInScreenBounds="True" VisibleStatusbar="false" 
                Width="575px" ReloadOnShow="true" ShowContentDuringLoad="false" Animation="FlyIn" OnClientClose="OnClientClose" /> 
            <telerik:RadWindow ID="frmMsg" runat="server" Title="<%$ Resources:Labels, SubSpacefrmMsgTitle %>" 
                DestroyOnClose="False" Height="534px" KeepInScreenBounds="True" VisibleStatusbar="false" OnClientClose="OnClientClose" 
                Width="575px" ReloadOnShow="true" ShowContentDuringLoad="false" Animation="FlyIn" /> 
            <telerik:RadWindow ID="frmConfirmRegister" runat="server" Title="confimation" DestroyOnClose="False" Height="200px" KeepInScreenBounds="True" VisibleStatusbar="false" OnClientClose="OnClientClose" 
                    Width="570px" ReloadOnShow="true" ShowContentDuringLoad="false" Animation="FlyIn" /> 
        </Windows> 
    </telerik:RadWindowManager> 
<script type="text/javascript"
 function OnClientClose(radWindow) { 
            if (radWindow.Argument != null & radWindow.Argument == 'ConfirmMessage') { 
                radWindow.Argument = null
                if (radWindow._name == 'frmCoordonneesPostale') { 
                    $find("<%= RadToolTip1.ClientID %>").show();                     
                    return; 
                } 
                if (radWindow._name == 'frmMsg') { 
                    $find("<%= RadToolTip2.ClientID %>").show(); 
                    return; 
                } 
            } 
            if (radWindow._name == 'frmConfirmRegister') { 
                document.location.href = "login.aspx";  
            } 
        } 
............... 
 </script> 
 

Here the content page source code (change password form):
<asp:UpdatePanel runat="Server" ID="UpdatePanel1"
                        <ContentTemplate>
                                    <table cellspacing="2" cellpadding="2" border="0" width="100%" style="position: relative; 
                                left: 21px; z-index: 1000;"> 
                                <tr> 
                                    <td colspan="2"
                                        <span class="repliB" id="ChangePwd"><span class="changePassword" onclick="cacherMontrerB('ChangePwdContent','ChangePwd')"
                                            <img src="Images/pixel.gif" width="13" height="13" alt="puce" class="puceTriangleB" 
                                                style="cursor: pointer" /> 
                                            <asp:Label ID="lbChangePassword" runat="server" Style="cursor: pointer"><% =Resources.Labels.SubSpaceTdChangePassword%></asp:Label> 
                                        </span><span id="ChangePwdContent" class="listeCache listeItems"
                                            <table id="tblChangePwdDefaultMessage" runat="server" Visible="True" cellspacing="2" cellpadding="2" border="0" width="90%" style="padding-left: 22px"
                                            <tr style="vertical-align: text-top;height: 70px"
                                                    <td colspan="2" style="text-align: right"
                                                        <asp:Label runat="server" ID="MsgInfoDefaultModifPwd" Text="<%$ Resources:Labels, MsgInfoDefaultModifPwd %>" CssClass="MsgInfoDefaultModifPwd"/> 
                                                    </td> 
                                            </tr> 
                                            </table>        
                                            <table cellspacing="2" cellpadding="2" border="0" width="90%" style="padding-left: 22px"
                                                <tr style="vertical-align: text-top"
                                                    <td style="text-align: right"
                                                        <span class="classTitleMember"
                                                            <asp:Label ID="Label1" runat="server" Text="<%$ Resources:Labels, SubSpaceTdTapeOldPassword %>"></asp:Label></span
                                                    </td> 
                                                    <td style="text-align: right"
                                                        <telerik:RadTextBox ID="tbxOldPwd" runat="server" ValidationGroup="ChangePassword" 
                                                            CssClass="classTbx" Skin="WebBlue" TextMode="Password" Width="160px"
                                                        </telerik:RadTextBox> 
                                                    </td> 
                                                </tr> 
                                                <tr style="vertical-align: text-top"
                                                    <td style="text-align: right"
                                                        <asp:Label ID="Label9" CssClass="classTitleMember" runat="server" Text="<%$ Resources:Labels, SubSpaceTdTapeNewPassword %>"></asp:Label> 
                                                    </td> 
                                                    <td style="text-align: right"
                                                        <telerik:RadTextBox ID="tbxNewPwd" runat="server" CssClass="classTbx" Skin="WebBlue" 
                                                            ValidationGroup="ChangePassword" TextMode="Password" Width="160px"
                                                        </telerik:RadTextBox> 
                                                    </td> 
                                                </tr> 
                                                <tr style="vertical-align: text-top"
                                                    <td style="text-align: right"
                                                        <asp:Label ID="Label2" CssClass="classTitleMember" runat="server" Text="<%$ Resources:Labels, SubSpaceTdConfirmPassword %>"></asp:Label> 
                                                    </td> 
                                                    <td style="text-align: right"
                                                        <telerik:RadTextBox ID="tbxConfirmNewPwd" runat="server" CssClass="classTbx" Skin="WebBlue" 
                                                            ValidationGroup="ChangePassword" TextMode="Password" Width="160px"
                                                        </telerik:RadTextBox> 
                                                    </td> 
                                                </tr> 
                                            </table> 
                                            <table cellspacing="2" cellpadding="2" border="0" width="90%" style="padding-left: 22px">                                                 
                                                <tr style="vertical-align: text-top"
                                                    <td style="text-align: right"
                                                    </td> 
                                                    <td style="text-align: right"
                                                        <asp:Button UseSubmitBehavior="false" CssClass="classebouton" ID="btnChangePassword" runat="server" Text="<%$ Resources:Labels, SubSpacebtnValidate %>" 
                                                           OnClick="btnChangePassword_Click" Width="165px" ValidationGroup="ChangePassword"
                                                        </asp:Button> 
                                                    </td> 
                                                </tr> 
</table>
............ 
  </ContentTemplate> 
  </asp:UpdatePanel> 


Georgi Tunev
Telerik team
 answered on 03 Jun 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
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
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?