Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
87 views
Hi,

I am using 2012.3.1016.35 of the ASP.NET for AJAX controls.

I have a RadMenu containing a RadMenuItem, which contains a user control that contains a RadTreeView.  The RadTreeView uses a RadTreeViewContextMenu on the nodes.

In IE and Firefox, the Context Menu displays as expected, AFTER I set the z-index of the RadTreeViewContextMenu as follows:  

style="z-index:40000"

PROBLEM:
The context menu does NOT display in the latest version of Chrome (version 22.0.1229.94, but I assume it is also a problem in earlier versions).

This is a huge deal for us.  I've seen one other forum post on this, where Telerik simply says it "looks like a documented bug in Chrome".

MORE INFO:
I use the exact same type of treeview and context menu in two other places of our web app, but in those places I do NOT nest the treeview in a radmenu, and in those cases, the context menu DOES DISPLAY in Chrome.

Can you help please?  Is there anything I can try, to get this to work?

Thanks,
Brent
Brent Hetland
Top achievements
Rank 1
 answered on 30 Oct 2012
16 answers
570 views
I am trying to implement Load On Demand for the RadPanelBar. If I click on the Expand/Collapse button the ItemClick never fires. Also when another item is expanded, then the control that was previously loaded dissapears. I have been trying to make this work for over a day.

<form id="form1" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <telerik:RadAjaxManager runat="server" ID="RadAjaxManager1">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="RadPanelBar1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadPanelBar1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
        <telerik:RadPanelBar ID="RadPanelBar1" runat="server" OnItemClick="RadPanelBar1_ItemClick"
            ExpandMode="MultipleExpandedItems">
            <CollapseAnimation Duration="100" Type="None" />
            <Items>
                <telerik:RadPanelItem runat="server" Text="Root RadPanelItem1">
                    <Items>
                        <telerik:RadPanelItem runat="server">
                        </telerik:RadPanelItem>
                    </Items>
                </telerik:RadPanelItem>
                <telerik:RadPanelItem runat="server" Text="Root RadPanelItem2">
                    <Items>
                        <telerik:RadPanelItem runat="server">
                        </telerik:RadPanelItem>
                    </Items>
                </telerik:RadPanelItem>
            </Items>
            <ExpandAnimation Duration="100" Type="None" />
        </telerik:RadPanelBar>
    </div>
    </form>


public partial class RadPanelBarTest : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
    }
 
    private void LoadUserControl(Telerik.Web.UI.RadPanelItem item)
    {
        Label userControl1 = new Label();           
        userControl1.ID = "userControl1";
        userControl1.Text = DateTime.Now.ToString();
        item.Items[0].Controls.Add(userControl1);
        item.Expanded = true;
    }
 
    protected void RadPanelBar1_ItemClick(object sender, Telerik.Web.UI.RadPanelBarEventArgs e)
    {
        this.LoadUserControl(e.Item);
    }
}

I basically used the exact suggestion here: http://www.telerik.com/community/forums/aspnet-ajax/panelbar/radpanelbar-with-load-on-demand-items.aspx , except i changed the ExpandMode to multiple and i used a label for simplicity of this post.
Harald Breidler
Top achievements
Rank 1
 answered on 30 Oct 2012
6 answers
128 views

i have a grid with large number of columns
it has two levels

when i use the following
<Scrolling AllowScroll="true" UseStaticHeaders="true" ScrollHeight="300px" />

the width is auto fitting into 100%, with out scroll, squeezed

How can i get rid of this problem.

Please help.
Arijit Chatterjee


Pavlina
Telerik team
 answered on 30 Oct 2012
4 answers
121 views
Hi...i need to use the Radscheduler with other component in the same page, in this case Ext.Net component, but then insert the RadScheduler in the page and show the page, i retrive this error JScrip:

Unhandled exception at line 240, column 5 in http://localhost:8497/WebResource.axd?d=7SNUFUE229WI3L9Dj-W-PAIm_W9gkIOUcn1bePKMGP3OeC75SRjPFoYYmjCeF4psB8g09B5xCr100kKxX9laHQ-2GhFxzDtJFZbuxerix4Q1&t=634773918900000000

0x800a1391 - Errore di run-time di Microsoft JScript: 'theForm' non è definito

Other RadComponent work Ok..

There is my simpli code:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm3.aspx.cs" Inherits="AnalisiProcedimenti.WebForm3" %>
 
 
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
 
<!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>
         <ext:ResourceManager ID="ResourceManager1" runat="server" Namespace="" DirectMethodNamespace="Ext.net.DirectMethods">
            </ext:ResourceManager>
      <div>
          <telerik:RadTextBox ID="RadTextBox1" runat="server"></telerik:RadTextBox>
          <telerik:RadCalendar ID="RadCalendar1" runat="server"></telerik:RadCalendar>
          <telerik:RadScheduler ID="RadScheduler1" runat="server" DataDescriptionField="Description" DataEndField="End"
              DataKeyField="ID" DataRecurrenceField="RecurrenceRule" DataRecurrenceParentKeyField="RecurrenceParentID"
              DataReminderField="Reminder" DataSourceID="SqlDataSource1" DataStartField="Start" DataSubjectField="Subject"
              DisplayDeleteConfirmation="False" EnableDescriptionField="True" ReadOnly="True">
              <Reminders Enabled="True" />
          </telerik:RadScheduler>      
         
      </div>
  <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:DbAnaProConnectionString %>" SelectCommand="SELECT * FROM [PROCAL]"></asp:SqlDataSource>
    </form>
</body>
</html>
If leave the RadScheduler the error not appear.
The RadScheduler is show ok in the page , but the open the page i retrive the error.

Thanks
Aurelio
Aurelio Righetti
Top achievements
Rank 1
 answered on 30 Oct 2012
5 answers
114 views
I have been having problems with the self hierarchy with the RadGrid control with the columns not lining up.  It is a cross-IE problem.  I decided to look at the TreeList control.  How can I have all of the data on the client pre-loaded without having to make a server call for each expand/collapse.
Pavlina
Telerik team
 answered on 30 Oct 2012
3 answers
171 views
Hello,

I need help on Drag and Drop feature for RadGrid, Please is the my requirement.

 

We have 140 columns in a table, we need to show them in RadGrid based on the user choice by dragging from RadListBox.

 

We need to have a accessibility to drag columns from RadListBox to RadGrid to show selected columns and also drag column from RadGrid to RadListBox to hide columns from Grid.

 

I have achieved to show selected column from RadListBox but I donot have idea to hide columns based on dragging from RadGrid to RadListBox, Please help me on this.

 

Thanks,

Kiran

Pavlina
Telerik team
 answered on 30 Oct 2012
4 answers
56 views
I have an annoying problem that I would like to see if it can be reproduced. For every Radcombobox I add to a page, IE8 will add a click sound. So 5 rcbs, 5 click sounds on pageload/postback. The number of clicks is not easy to count until I turn on my debug bar which slows down the script firing process. I have a modal search window with 10 radcomboboxes, so every postback I can clearly hear 10 clicks. I would post code, but I can easily create the problem by just creating a page and start adding comboboxes to it. I have seen this behavior talked about in relation to iFrames in IE. I do not get this behavior when viewing demos on the Telerik site, although I am not sure what type of skullduggery is in the code on those pages.

I am using Telerik.Web.UI, v.2012.3.1016.35. This is for an external site so syaing "just use Chrome" will not help.

Please Help. Thanks.
Mark
Top achievements
Rank 1
 answered on 30 Oct 2012
4 answers
161 views
I had a problem with the script and style managers. My web site uses a separate box to handle SSL, so when requests get to my servers, they are always http. So the managers use http to access the CDN, However, if the requested page is actually secure, this cause mixed content warnings and failed pages.
However, this is not ideal. I would rather not have to hard-code your cdn urls in my app. It would be nice to have a property so I could tell the managers that they need to access the secure urls, even when the web server is handling an insecure request.

I resolved this by setting the BaseUrl property to the secure address

    CdnSettings-BaseUrl="https://d35islomi5rx1v.cloudfront.net"

However, this is not ideal. I would rather not have to hard-code your cdn urls in my app. It would be nice to have a property so I could tell the managers that they need to access the secure urls, even when the web server is handling an insecure request.
Gary Davis
Top achievements
Rank 2
 answered on 30 Oct 2012
1 answer
49 views
I am new to ListView and looking for some initial guidance on technical approach for the following:

I hav a list of items displayed from a SQL datasource. The user has only one editing need, namely select yes or no via checkox.

I would like to present this list so that all list items are editable (the checkbox) without any action on the part of the user. I understand I need to build a list of "editindexes" after the dataset is filled. (I have an example picked up here, but it is in C and I only understand VB)

If I get those checkboxes to be editable, what is my next step in being able to respond to the user's selections?

Since the controls are databound, I am thinking that there would be an event on each checkbox selection that might be appropriate, or that all the boxes would be processed if I added a Save button and did something to commit the changes back to the database.

As you can see, this is my first venture into editable datasets and databinding, and just need to pointers on where & how to proceed.
Eyup
Telerik team
 answered on 30 Oct 2012
4 answers
219 views
I'm having an issue retrieving the type of a control if it is a Combobox.  All other control types work fine but the combobox always gets reported back to me as type "text".  Here is some trimmed down, generic code that will illustrate what I am trying to do.  This javascript is placed in a shared JS file that is executed on every page and will be invoked any time a person presses down or enter on their keyboard.
 
document.onkeydown = function (e) {
     e = e || window.event;
     if (typeof e != 'undefined') {
         var tgt = e.target || e.srcElement;
 
        // If the keypress was ENTER (13) or DOWN (40)
         if (e.keyCode == 13 || e.keyCode == 40) {
             // Determine which element we're currently on
             currentField = e.target;
              alert(currentField.type);
         }
   }
}

Thanks in advance.
Kalina
Telerik team
 answered on 30 Oct 2012
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?