Bug with GroupSettings.Height

9 posts, 0 answers
  1. tparks69
    tparks69 avatar
    8 posts
    Member since:
    Nov 2006

    Posted 02 Apr 2008 Link to this post

    When I use GroupSettings.Height I am consistently getting a javascript framework error. 

    Error: get_childListElement() is null or not an object

    This doesn't happen in the RadQ3 2007 version.  Is this  a known problem, is there a workaround?

    Thanks,
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 03 Apr 2008 Link to this post

    Hi Tom,

    We are not aware of such a problem. What is the exact setup in which you use RadMenu. Could you please send us some code, or open a support ticket and attach a small demo project.

    Thanks.

    Peter
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. T. Tsonev
    Admin
    T. Tsonev avatar
    2809 posts

    Posted 03 Apr 2008 Link to this post

    Hi,

    Actually, we have recently discovered an issue with templated items that results in such error. If you are using templated items, please open a formal support ticket, so we can send you a hotfix.

    Kind regards,
    Tsvetomir Tsonev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  4. tparks69
    tparks69 avatar
    8 posts
    Member since:
    Nov 2006

    Posted 03 Apr 2008 Link to this post

    Actually, I'm not using templated items, it seems to happen when I use GroupSettings-Height in conjunction with the ExpandMode=WebService.  All I have to do is remove GroupSettings-Height="50px" (from the code below) and the code works fine.  I'm using the free developer version so I'm guessing I don't get access to put in a support ticket?

    This is (most of) the code:  (.aspx)

    <

    body>

    <form id="form1" runat="server">

    <asp:ScriptManager ID="ScriptManager1" runat="server" />

    <div>

    <telerik:RadMenu ID="RadMenu1" runat="server" OnItemClick="RadMenu1_ItemClick">

    <WebServiceSettings Path="rad3.asmx" Method="testmethod" />

    <Items>

    <telerik:RadMenuItem Text="Projects" Value="1" GroupSettings-Height="50px"

     ExpandMode="WebService"></telerik:RadMenuItem>

    </Items>

    </telerik:RadMenu>

    </div>

    </form>

    </

    body>

    This is the code for the asmx.cs:

    [WebService(Namespace = "http://tempuri.org/")]

    [

    WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]

    [

    ScriptService]

    public class rad3 : System.Web.Services.WebService

    {

    [

    WebMethod]

    public RadMenuItemData[] testmethod(RadMenuItemData item, object context)

    {

    List<RadMenuItemData> result = new List<RadMenuItemData>();

    RadMenuItemData itemData = new RadMenuItemData();

    itemData.Text =

    "FirstText";

    itemData.Value =

    "FirstValue";

    result.Add(itemData);

    RadMenuItemData itemData1 = new RadMenuItemData();

    itemData1.Text =

    "2ndText";

    itemData1.Value =

    "FirstValue";

    result.Add(itemData1);

    RadMenuItemData itemData2 = new RadMenuItemData();

    itemData2.Text =

    "3rdText";

    itemData2.Value =

    "FirstValue";

    result.Add(itemData2);

    RadMenuItemData itemData3 = new RadMenuItemData();

    itemData3.Text =

    "4thText";

    itemData3.Value =

    "FirstValue";

    result.Add(itemData3);

    RadMenuItemData itemData4 = new RadMenuItemData();

    itemData4.Text =

    "5thText";

    itemData4.Value =

    "FirstValue";

    result.Add(itemData4);

     

    RadMenuItemData itemData5 = new RadMenuItemData();

    itemData5.Text =

    "6rdText";

    itemData5.Value =

    "FirstValue";

    result.Add(itemData5);

    RadMenuItemData itemData6 = new RadMenuItemData();

    itemData6.Text =

    "7thText";

    itemData6.Value =

    "FirstValue";

    result.Add(itemData6);

    RadMenuItemData itemData7 = new RadMenuItemData();

    itemData7.Text =

    "8thText";

    itemData7.Value =

    "FirstValue";

    result.Add(itemData7);

    return result.ToArray();

    }

    }

  5. T. Tsonev
    Admin
    T. Tsonev avatar
    2809 posts

    Posted 04 Apr 2008 Link to this post

    Hi,

    Thank you for reporting this problem. We have managed to fix it and I am attaching a trial hotfix here.

    Greetings,
    Tsvetomir Tsonev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. tparks69
    tparks69 avatar
    8 posts
    Member since:
    Nov 2006

    Posted 04 Apr 2008 Link to this post

    Hmm... that didn't seem to do the trick.  Maybe I apply the Hotfix incorrectly?  I just took the folders in the .zip and copied them over the existing Prometheus folders.
  7. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 07 Apr 2008 Link to this post

    Hello tparks69,

    Please review the following KB article (scroll to the "Prometheus" section) for more specific instructions on how to install the new version of the assembly successfully.

    If you still have problems after trying the tips in the article, please let me know.

    Best wishes,
    Simon
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  8. tparks69
    tparks69 avatar
    8 posts
    Member since:
    Nov 2006

    Posted 14 Apr 2008 Link to this post

    OK, the hot fix prevents the .js error I reported before.  But, the GroupSettings-Height does not appear to be working 100%. 

    For example:  I have a list of 100 items I load into the menu.  When I click to drop it down it goes beyond the bottom of the page.  So I apply GroupSettings-Height = "200px" to the menu.  The first time I go to click the menu open, it still goes beyond the bottom of the page.  It should have the little arrows that allow me to scroll within the menu, but they are not there.

    Interestingly, after I select a menu item and the page posts back, and I drop down the menu again, the little arrows appear.
  9. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 17 Apr 2008 Link to this post

    Hi tparks69,

    I tried reproducing the problem you described with v2007.3.1517, but to no avail.

    I have attached the test page for your reference. Please examine it and if you manage to reproduce the problem, please send it back to me. I will investigate it and eventually provide a solution or a workaround.

    Greetings,
    Simon
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top