This is a migrated thread and some comments may be shown as answers.

ToolBar not rendering in User Control

3 Answers 28 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
Josh
Top achievements
Rank 1
Josh asked on 12 Jul 2010, 06:18 PM
Hello,
I have a user control in which I wish to place a RadToolBar. However, the toolbar does not render at all in the browser; it only shows what looks like a couple of link buttons. They still function normally and appear fine in the Visual Studio designer. How can I get the toolbar to render correctly? I have used it on several other pages (none of which are user controls) and it looks fine.

Toolbar code:
<telerik:RadToolBar runat="server" ID="SearchToolBar" OnButtonClick="SearchToolBar_ButtonClick">
<Items>
<telerik:RadToolBarButton ImageUrl="../images/search.gif" Text="Search" ToolTip="Search with selected terms" Width="200px"
                    runat="server" AccessKey="S" Value="SEARCH" meta:resourcekey="SearchButton" />
                <telerik:RadToolBarButton ImageUrl="../images/erase.gif" Text="Clear Search" ToolTip="Clear search items"
                    runat="server" AccessKey="C" Value="CLEAR" meta:resourcekey="ClearSearchButton" />
</Items>
</telerik:RadToolBar>

Screenshots:
Browser view
Visual Studio 2008 Designer View

Using Q1 2010 and IE7

Thank you

3 Answers, 1 is accepted

Sort by
0
Josh
Top achievements
Rank 1
answered on 13 Jul 2010, 02:04 PM
After placing the same toolbar inside a RadAjaxPanel, it now looks like this:
0
Josh
Top achievements
Rank 1
answered on 13 Jul 2010, 10:13 PM
It seems that the problem is not with the toolbar, but with Telerik/IE7 in general (also happening to scheduler). When I load the page in Firefox or Chrome, the controls render fine. The strange thing is, this rendering problem only occurs for controls created after I upgraded to Q1 2010 - all controls created before the upgrade still work perfectly, even in IE7. I have verified that the correct DLL is in the bin folder and that the project has the correct reference (DLL version is 2010.1.519.20).
0
Josh
Top achievements
Rank 1
answered on 15 Jul 2010, 03:02 PM
Please disregard this thread; I have solved the problem.
Tags
ToolBar
Asked by
Josh
Top achievements
Rank 1
Answers by
Josh
Top achievements
Rank 1
Share this question
or