Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
36 views
Hi, I have the following code:

<%
    rcb.DataSource = new[]
    {
        new { ID = 1, Value = "Sony" },
        new { ID = 2, Value = "Samsung" },
    };
  
    this.Page.DataBind();
%>
<telerik:RadComboBox ID="rcb" runat="server" MarkFirstMatch="true" AllowCustomText="true" DataTextField="Value" DataValueField="ID" />
When I input character "S" to the RadComboBox, it select "Sony" and append "ony" to textbox. After that, if I input "a" he should select "Samsung". It works on IE or FF, but not on Chrome 5. On Chrome after I input "a" he insert it between "S" and "ony", so I have "Saony".
Simon
Telerik team
 answered on 21 Jul 2010
1 answer
132 views
I've run into an issue where if a combobox contains enough info to generate a scrollbar, when list is dropped down if the user quickly moves their cursor over the dropdown, the list is somehow auto-scrolled instead of being left at the top of the list. Any ideas on why this may occur and how I might go about fixing it?
Simon
Telerik team
 answered on 21 Jul 2010
3 answers
130 views
Hi there

I have recently started developing with the Rad Controls and have a question.....

We are experimenting with the RadMenu and have set it up to load the menu structure using the LoadContentFile method.

This is working very well and we are able to generate menus based on the current users profile/membership.

The issue is we can see no way to set the navigateURL property in the XML - How do we achieve this?

I am aware that it can be done in code but is there anyway this property can be set in the XML?

Ideally we want to manage the menu structure using numerous XML definitions as we need to customise the menu for each seperate client and would rather do this with simple updates to XML rather than editing code each time.

Any help greatly appreciated


Geoff
Top achievements
Rank 1
 answered on 21 Jul 2010
1 answer
181 views
All of my RadAjaxLoadingPanels are having the problem that they only are displayed the first time an event is fired. The second time I do a partial update on my page, they aren't visible, but the update itself works fine. Added my code below.

<telerik:RadScriptManager ID="sm" runat="server">
    </telerik:RadScriptManager>
    
    <telerik:RadAjaxManager ID="ram" runat="server">
    <AjaxSettings>
    <telerik:AjaxSetting AjaxControlID="ecoWrapper">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="ecoWrapper" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
    </AjaxSettings>
    </telerik:RadAjaxManager>
    
    <telerik:RadAjaxLoadingPanel runat="server" Skin="Simple" ID="RadAjaxLoadingPanel1" BackgroundPosition="Top"  >
    </telerik:RadAjaxLoadingPanel>


 <asp:Panel runat="server" ID="ecoWrapper">
...
</asp:Panel>


What could be the issue here? My page is within a masterpage if that matters.


Pavlina
Telerik team
 answered on 21 Jul 2010
4 answers
103 views
I have been using your example to retain open TreeNodes after URL navigation (http://www.telerik.com/help/aspnet/treeview/tree_retain_nodes_after_urlnavigation.html).

This works fine, but just for nodes on the first level, not child nodes.
What do I have to do to search through ALL nodes and their children?

Thanks in advance for your help

Best regards

Thomas
Thomas
Top achievements
Rank 1
 answered on 21 Jul 2010
1 answer
150 views
I have a ListView that contains a list of images.On image click i open a Radwindow:
<telerik:RadWindow runat="server" ID="Details"  NavigateUrl="hcitempage.aspx" Title=""   VisibleStatusbar="false" 
                  Width="660px" Height="450px"  AutoSize="false" Behaviors="Close" ShowContentDuringLoad="false" CssClass="rwLoading"  ReloadOnShow="true"
                  Modal="true"   OnClientClose ="OnClientClose" 
              </telerik:RadWindow>

And in my window i am placing at the left a vertical rotator I have the following code :
<form id="form1" runat="server" >
 <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>
        <script type="text/javascript">
            function GetRadWindow() {
                var oWindow = null;
                if (window.radWindow) oWindow = window.radWindow;
                else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;
                return oWindow;
            }
  
            function Close() {
                GetRadWindow().close();
            }
  
              
        </script>
  
  <div >
    <table >
  <tr valign="top" >
    <td >
    <table>
     
    <tr>
     
  <td style="width:50%;border:solid  1px #E4E4E4;font-family:Tahoma; font-size:10pt;"  valign="top">
    
    
    
   
      <asp:Label ID="Name" runat="server" Font-Size="12pt" style="color: #344850;" Font-Bold="true" ></asp:Label><br />
        <asp:Label ID="l1" runat="server" text="Price:" ></asp:Label>  
        <asp:Label ID="Price" runat="server" ></asp:Label><br />
        <br />
       
     <asp:Label ID="l3" runat="server" Text="quantity:"></asp:Label><br />
      <asp:TextBox ID="qty" runat="server" Text="1" Width="92px"></asp:TextBox> <br />
      <br />
      <asp:Label ID="Label3" runat="server" Text="Size:"></asp:Label><br />  <asp:DropDownList ID="SizeList" runat="server">
       
           </asp:DropDownList>
        
                
         <br />
      <br />
             
     <asp:Label ID="Label2" runat="server" Text="Color:"></asp:Label><br /> <asp:DropDownList ID="colorList" runat="server"  >
       
           </asp:DropDownList>
      <asp:Label ID="details" runat="server" Text=""></asp:Label>
           
            
     
           
         <br />
   
       
           
            
     
           
         <br />
      <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="add-button.png"    
           /> 
      <asp:Button ID="Button1" runat="server" Text="close" Visible="false" 
          onclientclick="Close()"  />
       
  </td>
   <td valign="top" align="center" class="style1" >      <a   class="jqzoom" id="zoomed" runat="server"  ><img id ="small" runat="server"  height="225" width="250" style="border:none;"/></a>
        
        
    
  <asp:ImageButton ID="zoom" runat="server" ImageUrl="graphics/zoom.png" /> 
      
</td>
<td style="width:20%;" valign="top" align="center"  >
  <div dir="ltr" >   
                   <table>
                                            <tr >
                                              
                                             <td ><img  style="position:static;"  id="rrButtonLeft1" alt=""  src="rotator/rotator_left_01.png"  /></td></tr>
                                           <tr >   <td >                                             <telerik:RadRotator ID="RadRotator1" runat="server" Height="200px" Width="30px" ScrollDirection="Up" Skin=""
                                                               RotatorType="ButtonsOver" ItemHeight="30px" ItemWidth="30px"
                                                                DataSourceID="XmlDataSource1"  ScrollDuration="350"
                                                                FrameDuration="800">
                                                                <ItemTemplate>
                                                                                                                                                        <img align="center" border="0" height="20" hspace="0" src='<%# XPath("src") %>' width="20" onclick="<%# XPath("link") %>"  />
                                                                                                                                                    </ItemTemplate>
                                                              <ControlButtons LeftButtonID="rrButtonLeft1" RightButtonID="rrButtonRight1" />
                                                </telerik:RadRotator></td></tr>
                                             <tr > <td ><img  style="position:static;"  id="rrButtonRight1" alt=""   src="rotator/rotator_righ_01.png"   /></td>
                                            </tr></table>
                                                 </div>
                                                         
</td>
   </tr>
    </table>
    </td>
    </tr>
 </table>
   </div>
    </form>


My problem is that the window horizontal scroll appears when i have a vertical rotator even though it's width and item's width are very small as u can see in the image attached.. When i remove the rotator the window displays correctly without vertical scroll and when i put instead of the rotator a list of images with width and height 20 px also no vertical scroll..Is that a bug or am i missing something?
Pero
Telerik team
 answered on 21 Jul 2010
2 answers
131 views
I have a Master and detail section in the hierarchy radgrid. I have Radgrid1_SortCommand firing when i click on the Detail Column but i am getting the FieldName in the GridSortExpression as Empty. Could some one shed a light on this please.
Pavlina
Telerik team
 answered on 21 Jul 2010
3 answers
195 views
Hi Guys,

Don't know if it's me, but I can't find the client-side data binding features (as per RadGrid).  My understanding was that RadListView was a more adaptive method for binding data (as per the videos I have seen).  Can you provide me an update or better still an example of this working.

Thks, David
Rosen
Telerik team
 answered on 21 Jul 2010
1 answer
116 views

We created the follow RadWindowManager

<telerik:RadWindowManager
    ID="RadWindowManagerDefault"
    runat="server"
    KeepInScreenBounds="false"
    Width="950px"
    Height="2048px"
    Skin="Office2007"
    RestrictionZoneID="janelas">
</telerik:RadWindowManager>

and, on Page_Load we create the RadWindow components:

int i = 0;
foreach (EstadoWidgetResp widget in lista)
{
    radw = new RadWindow();
    radw.ID = "widget-" + widget.IdControle;
    radw.Title = widget.Title;
    radw.ShowContentDuringLoad = true;
    RadWindowManagerDefault.Windows.Add(radw);
    i++;
}

the page contains a DIV element as restricted zone for the windows:

<div id="janelas">       
</div>

but, when we look at the rendered HTML (using FireBug extension), whe found:

[html]
[head contents]
[body]
    <form id="aspnetForm" action="Default.aspx" method="post" name="aspnetForm">
[DIV of #1 window (RadWindowWrapper_ctl00_)]
[DIV of #2 window (RadWindowWrapper_ctl00_)]
...
[DIV of #n window (RadWindowWrapper_ctl00_)]
[body page]
<div id="janelas">[RadWindowManager element]</div>
[end of html]

So, when we resize the browser window, the RadWindows still fixed, but, as a DIV element the 'expected' behaviour was: the RadWindow moves with the DIV (id="janelas") because, we expected that the RadWindows render was insed of restricted zone element.

Can we render the RadWindows inside the DIV[id="jalelas"] element ?

Thanks in advance,
André

Georgi Tunev
Telerik team
 answered on 21 Jul 2010
1 answer
83 views
Hi

I have developed 5 level grid using Ajax Grid. I had set various properties of parent table grid like

 

 

AutoGenerateEditColumn="True"

 

 

 

AutoGenerateHierarchy="True"

 


When I click on Edit button of parent grid, It d'nt load the data I need to again refresh the page. This problem is only with parent table grid, all other child table grid working fine, their is no issue with them.

I using asp.net ajax 2009 q3 2009 sp2 with vs 2010.

Thanks  

Pavlina
Telerik team
 answered on 21 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?