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

The code below is used for location selection purposes on an aspx page. There are 4 RadMenus inside a table which is inside a panel. Only one of these menus are visible at a time. All of these contents are updated inside an RadAjaxPanel.

Everything works fine in Firefox. But in IE7, the height of Menus are out of control!!! I mean, I add the menuitems dynamically at server side. Although I limit the outer panel's height to 400px, if the contents are crowded, it causes an overflow in IE7. 

What can be the cause of this problem?

Thanks...

<asp:Panel ID="pnlContents" Direction="LeftToRight" ScrollBars="Vertical" runat="server" 
                                                            Height="400px" Width="330px"> 
                                                            <table cellpadding="0" cellspacing="0" style="border: solid 1px #828282; background-color: #e5e5e5; 
                                                                height: 400px; min-height: 400px; width: 302px;"> 
                                                                <tr> 
                                                                    <td valign="top"> 
                                                                        <telerik:RadMenu runat="server" ID="rmLevel1" EnableEmbeddedSkins="true" ClickToOpen="true" 
                                                                            Flow="vertical" Width="300px" Skin="Default" OnItemClick="rm_ItemClick" Style="z-index: 10 !important;"> 
                                                                            <Items> 
                                                                                <telerik:RadMenuItem Text="U.S. Locations" Width="300px"> 
                                                                                </telerik:RadMenuItem> 
                                                                                <telerik:RadMenuItem Text="International Locations" Width="300px"> 
                                                                                </telerik:RadMenuItem> 
                                                                            </Items> 
                                                                        </telerik:RadMenu> 
                                                                        <telerik:RadMenu Visible="false" runat="server" EnableEmbeddedSkins="true" ID="rmLevel2" 
                                                                            Style="z-index: 10 !important;" ClickToOpen="true" Flow="vertical" Width="300px" 
                                                                            Skin="Default" OnItemClick="rm_ItemClick"> 
                                                                        </telerik:RadMenu> 
                                                                        <telerik:RadMenu Visible="false" runat="server" ID="rmLevel3" EnableEmbeddedSkins="true" 
                                                                            Style="z-index: 10 !important;" ClickToOpen="true" Flow="vertical" Width="300px" 
                                                                            Skin="Default" OnItemClick="rm_ItemClick"> 
                                                                        </telerik:RadMenu> 
                                                                        <telerik:RadMenu Visible="false" runat="server" ID="rmLevel4" EnableEmbeddedSkins="true" 
                                                                            Style="z-index: 10 !important;" ClickToOpen="true" Flow="vertical" Width="300px" 
                                                                            Skin="Default" OnItemClick="rm_ItemClick"> 
                                                                        </telerik:RadMenu> 
                                                                    </td> 
                                                                </tr> 
                                                            </table> 
                                                        </asp:Panel> 

NMA
Top achievements
Rank 1
 answered on 18 Jun 2009
2 answers
286 views
Help - My production site is down. The application works fine locally, but when I uploaded to the Internet, I get:

Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. The module was expected to contain an assembly manifest.

I was trying to update the telerik.web.ui dll to the latest version for my project.

I'm not sure what is going on, but I need to get it resolved very quickly.

Thanks so much.
Susan
Susan
Top achievements
Rank 1
 answered on 18 Jun 2009
2 answers
383 views
Where do I download the licensed version of RadEditor for MOSS?

The documentation says "Extract the contents of RadEditorMOSS_5_x_x_Dev.zip". The licensed version of RadControls we purchased contains no such file.
JEREMY BOND
Top achievements
Rank 1
 answered on 18 Jun 2009
1 answer
143 views
Hi All,
       1. I have created a Dynamic tab strip as similar to the "Load on Demand RadPageView". It works fine, but here in the example there use 3 different usercontrols. In my scenario the tabs are created depending on the dropdown selection. so i have kept 1 user control for all the tabs. Now i need to get the selected or clicked tab text in the user control to populate the data grid in the usercontrol. Is it possible to get n interact according to the selection.

protected void rmpCoverage_PageViewCreated(object sender, RadMultiPageEventArgs e) 
    { 
         
            string userControlName = "../UserControls/Question.ascx"; 
 
            userControlPage = Page.LoadControl(userControlName); 
 
            userControlPage.ID = e.PageView.ID + "_userControl"; 
 
            e.PageView.Controls.Add(userControlPage); 
         
    } 


2. I tried changing the dynamic to hierarichal tabstrip. the child menu wil remain the same for all the dynamic parent tab menu, So while creating the menu i hard code the child tabstrip. It works fine but.. the child tabs are always selected. how do i make it look clickable.

private void AddTab(string tabName) 
    { 
        RadTab tab = new RadTab(); 
        RadTab tabChild = new RadTab (); 
        tabChild.Text ="Additional Questions"; 
        RadTab tabChild1 = new RadTab(); 
        tabChild1.Text = "Questions"; 
        tab.Text = tabName; 
        tab.Tabs.Add(tabChild); 
        tab.Tabs.Add(tabChild1); 
        rtsCoverage.Tabs.Add(tab); 
    } 

The child tab is clickable.. but when i load the parent tab the child tabs  are always selected. It should be selected after i click it.
The click of the child menu will also call the same usercontrol. So the click event capturing is imp to manipulate the user control depending on the clicked tab. How do i get it  Hope so i am clear in my questions. Seeking experts idea.

Thanks
ArunKumar.M
Alex Lawson
Top achievements
Rank 1
 answered on 18 Jun 2009
1 answer
113 views

Dear Sir,

I am using sitemap file to fill up RadMenu, it has only top level Image menu, no any subMenu.

To display image I have written following code inside ItemDataBound.

protected void RadMenu1_ItemDataBound(object sender, Telerik.Web.UI.RadMenuEventArgs e)

{

   SiteMapNode node = e.Item.DataItem as SiteMapNode;

   e.Item.ImageUrl = node["CustomImageURL"];

   e.Item.HoveredImageUrl = node["HoverImageURL"];

}

 

In above code I have written to display imageUrl and MouseHourImage.

 

Now I want selected menu should have different image therefore I need selected menu index or name.

 

RadMenu contain ItemClick event but this event will be execute at the time of sub menu clicked.

 

When I check “sender” object parameter in QuickWatch I found that following line return selected page url .

 

((Telerik.Web.UI.HierarchicalControlItemContainer)(sender)).CurrentSiteMapUrl

 

But when I try to write in code it gives me compilation error that “The property or indexer 'Telerik.Web.UI.HierarchicalControlItemContainer.CurrentSiteMapUrl' cannot be used in this context because the get accessor is inaccessible.”

I want to know that, is there any another way to display Selected image in RadMenu?

Atanas Korchev
Telerik team
 answered on 18 Jun 2009
4 answers
181 views
Hi Guys

I've been searching for a way to show the RadTimePicker popup above the control. There are examples using the datetime picker but nothing with just the radTimePicker. Is this possible?

If I have to resort to usign the datetimepicker then looking at the examle here http://www.telerik.com/help/aspnet-ajax/calendar_howtodisplayingthepopupabovetheinputarea.html how could I adapt this to take in a parameter of the control as the javascript seems to only search for one control named RadDateTimePicker1, I have 14 timepickers linked to shared timeviews so I owuld rather not adopt the datetimepicker solution if possible.

Regards

Steve
Steve Todd
Top achievements
Rank 1
 answered on 18 Jun 2009
2 answers
45 views
Hi,
I'm using the radmenu to switch content of the scheduler,
and when clicked I changed to ImageUrl to reflect the selected option (server side code)
every things work fine,
Till I turn Ajax On , then the ImageUrl changing doesn't do anything...
the rest of the functionality work as expected,
Please advise,
Mickey
Mickey
Top achievements
Rank 1
 answered on 18 Jun 2009
1 answer
83 views
I am using Hierarchal grid in my page. It is working good when It has less number of child in hierarchy. but when I add more child . The performance of the grid getting slow & I received the following error as a popup.
"A script on this page is causing Internet Explorer to run slowly. If it continues to run, your computer may become unresponsive".
I am using IE 6.0. Please solve this issue asap.
Thanks
Pavlina
Telerik team
 answered on 18 Jun 2009
1 answer
121 views
table Comments

CommentsID          CommentsText         CommentsRoot
1000                       "Some text"              Null
1001                       "Some text"              1000
1002                       "Some text"              1000
1003                       "Some text"              Null
1004                       "Some text"              1003

Hi, I'm working in a proyect on VB, where I have a Nested Radgrid, it takes the DataSource from a table called Comments in SQL Server as in the top table and I would like to to have the number of child that the Comment have
For example:
The format will be like this(whith the number of child):

1000                       "Some text"              Null   (2)
              1001                       "Some text"              1000
              1002                       "Some text"              1000
1003                       "Some text"              Null   (1)
               1004                       "Some text"              1003

I have alredy this format but I don't know how to get the number of child, Can anyone help me, please?

Tsvetoslav
Telerik team
 answered on 18 Jun 2009
1 answer
273 views
Hello Telerik-team,

i got an error and can't find it in the code:

[ParseException: Expression expected]
   Telerik.Web.UI.ExpressionParser.ParsePrimaryStart() +209
   Telerik.Web.UI.ExpressionParser.ParsePrimary() +36
   Telerik.Web.UI.ExpressionParser.ParseUnary() +365
   Telerik.Web.UI.ExpressionParser.ParseMultiplicative() +54
   Telerik.Web.UI.ExpressionParser.ParseAdditive() +54
   Telerik.Web.UI.ExpressionParser.ParseComparison() +57
   Telerik.Web.UI.ExpressionParser.ParseLogicalAnd() +49
   Telerik.Web.UI.ExpressionParser.ParseLogicalOr() +49
   Telerik.Web.UI.ExpressionParser.ParseExpression() +60

Can anyone help and tell me where I have to search the error?

Thanks!

Christian
Christian
Top achievements
Rank 1
 answered on 18 Jun 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?