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

I have a page with 3 tabs, in one of the tab, I have the following code:

 

 

 

 

<telerik:RadPageView ID="HomePage" runat="server">  
        <iframe id="HomeIframe" width="100%" height="100%" runat="server" frameborder="0" /> 
</telerik:RadPageView> 

 

 


In the pageload event, if I set the src attribute of the iframe to :

 

 

HomeIframe.Attributes["src"] = "www.google.com"; 

 

 

Then it would append the solution name to the url as: mysolution/www.google.com and display a 404 error on the page.

But if i set it to : 
HomeIframe.Attributes["src"] = "http://www.google.com"; 

Then I get these errors:

"htmlfile: Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus"
and
"htmlfile: Access is denied."

Does anyone know what could be causing the error?
Hoang
Top achievements
Rank 1
 answered on 18 Jun 2009
0 answers
112 views
Hi

When I am trying to show all the Label in the dropdown as Bold. It is working fine for IE7 but in IE6, it is not showing bold. Please suggest how I can take care of this. Also is there anything else I need to take while working for Telerik control?

My code look like this.....

If

item.Value <= 0 Then

 

item.Style.Add(

"font-weight", "bold")

 

item.IsSeparator =

True

 

End

If

 

 

 

Thanks,
Pradip  

 

pradip
Top achievements
Rank 1
 asked on 18 Jun 2009
2 answers
117 views

Hi Telerik Team,

 

     In RadSliding Pane I want to display the table content in the bottom of the Pane. But currently content of the RadSliding Pane (eg: table) persists on the top. How to set this to the bottom of the Pane.

 

Please help me to solve this issue.

Mukunda
Top achievements
Rank 1
 answered on 18 Jun 2009
4 answers
113 views
Hi there,

I'm trying to integrate the progress area control into an existing web application, and I'm not able to see the Progress Area when uploading a file via the standard asp:FileUpload control

Curiously, a web site started from scratch with a test page works just fine. 

I've gone through the web.config files in both places. In particular, I've commented out all references to modules in the web.config of the existing application, including the Spring framework which I suspected might be causing a problem. In spite of doing so, the progress area still doesn't appear.

Although I'm not getting an error, I did check http://www.telerik.com/support/kb/aspnet-ajax/upload/906-ajax-callback-error.aspx and went through everything:

- Went to http://mysite/Telerik.RadUploadProgressHandler.ashx and got the line of javascript
- no blocking handler mappings present
- no configuration in either web.config concerning trusts, so I would assume that since the basic case worked, it's a non-issue
- check if file exists setting is off
- added the forms suthentication setting for the handler - since I can access the handler via a HTTP request I assume it's also not an issue
- no URL rewriting. The server is running IIS 6 on Windows 2003 and there are no unusual ISAPI filters installed on either site.

Am I missing anything?

Thanks,
Mark


Mark DeMichele
Top achievements
Rank 1
 answered on 18 Jun 2009
5 answers
163 views
I am trying to expand all the nodes at runtime and the code is working perfectly. But the only issue I see is even though the node is expanded, the node is still shown with "+" (plus). How can I make a node to display with "-" (minus) when it is expanded at runtime?
Sri
Top achievements
Rank 1
 answered on 18 Jun 2009
2 answers
127 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
284 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
375 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
138 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
108 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?