CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: Date Entered: 8/22/2006 9:18:52 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 0 Views: 83 Favorited: 0 Favorite
1 Items, 1 Pages 1 |< << Go >> >|
"danehrig" <>
NewsGroup User
Wierd problem with AdRotator inside ASP:Table in <form> section of MasterPage8/22/2006 9:18:52 PM

0

I'm having a pretty wierd problem.  I'm trying to finish our new standard masterpage, and VS2005 won't render my header table if I have my AdRotator in it.  Here's <form> content of my Masterpage:

Sorry about the formatting, I can't seem to get it to format more legibly.

<

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

<asp:Table ID="PresHeaderBlackTable" runat="server" Width="100%" BackColor="Black" BorderColor="Black" BorderWidth="0" CellPadding="0" CellSpacing="0" >

<asp:TableRow ID="TableRow1" VerticalAlign="Top" runat="server" >

<asp:TableCell ColumnSpan="2" Height="18px" VerticalAlign="Bottom" BackColor="Black" runat="server">

<asp:Label ID="topBlackBarLabel" runat="server" BackColor="Black" Font-Names="Verdana" Font-Size="Small"

ForeColor="White"

Width="723px" Font-Bold="True" Text="test"></asp:Label>

</asp:TableCell>

</asp:TableRow>

</

asp:Table>

<

asp:Table ID="PresHeaderLogoAdRotatorTable" runat="server" Width="100%" BackColor="#990033" BorderColor="#990033" BorderWidth="0" CellPadding="0" CellSpacing="0" >

<asp:TableRow runat="server" >

<asp:TableCell runat="server" >

<asp:Table ID="LogoTable" runat="server" BorderWidth="0" CellPadding="0" CellSpacing="0" BackColor="#990033" Height="85px">

<asp:TableRow VerticalAlign="Top" runat="server">

<asp:TableCell runat="server">

<asp:Image ID="PresLogoImage" ImageUrl="~/images/pres_logo.gif" AlternateText="Presbyterian Logo" runat="server" width='236px' height='28px'/>

</asp:TableCell>

</asp:TableRow>

<asp:TableRow VerticalAlign="Bottom" runat="server">

<asp:TableCell runat="server" VerticalAlign="Bottom">

<asp:ImageButton ID="PresNetImageButton" runat="server" ImageUrl="~/images/presnet_block.gif" ImageAlign="AbsBottom"/>

</asp:TableCell>

</asp:TableRow>

</asp:Table>

</asp:TableCell>

<asp:TableCell VerticalAlign = "Top" runat="server" width='105px' >

<asp:AdRotator id="PresHeaderAdRotator" runat="server" AdvertisementFile="~/Ads.xml"></asp:AdRotator>

</asp:TableCell>

</asp:TableRow>

</

asp:Table>

<div>

<asp:contentplaceholder id="MainContent" runat="server">

</asp:contentplaceholder>

</div>

</form>

 

This seems to render fine in IE and Firefox, but when I try to switch to the design view, it shows a rendering error in for the whole table which reads "Error Rendering Control- PresHeaderAdRotatorTable

An Unhandled Exception has occured.

Object Reference not set to an instance of an object.

This error goes away if I move the adrotator outside the table.

This probably seems like no big deal since the page renders correctly in a browser but I'm not going to be able to get the rest of my time to accept ASP until if it won't even render the masterpage correctly in the IDE.

Thanks for any help

1 Items, 1 Pages 1 |< << Go >> >|


Free Download:













advantage

fix master to staert first

accessing subpage variable from master page

dropdowns used to filter a gridview are not working with the masterpage

how to build navigation buttons that do not scroll with the rest of the page?

skin radiobuttionlist cells

adding a graphic to the end of some sitemap nodes?

css frindly adapters - how to apply skin?

menu control issues

how to share a masterpage or a .sitemap in multiple sites?

arrange controls in master pages

how to display root menu items in 2 rows using asp.net menu control?

prevent opening a new window in modal window using content page

asp:menu sub-menus

how to handle masterpage's event in content page? (c#)

url rewriting with urlrewriter.net

on mouse roll over..

microsoft (menu) server control source code?

codebehind of nested masterpages

unchecking nodes from treeview_click event

if else problem

regarding masterpage in vs studio pro 2008

customization of quick launch menu

need help disabling themes and stylesheetthemes for one page

how to access masterpage class outside of the app_code folder

how to access multiple sitemap file?

adding a "master" page

help with treeview control

navigation menu

sitemap datasource

css- footer sticks to contents

treeview expanddepth and currentnodestyle

change menu dinamically

an login panel in the masterpage

masterpage and theme not being applied

master pages not rendering properly

getting a menu control to wrap

menu control with theme

adding javascript in a content page

creating my own hierachical data list without using the sitemapprovider class

filter sitemap nodes base on roles?

can this be done?

sitemap / menu using arguments in the url

my label style is not showing up for some reason...???

is there a sample masterpage themes gallery

moving the wizard step links from left side

masterpage files & correct file path conventions to use??

how to access marquee tag in content page??

asp:menu error -> '0.cells' is null or not an object

gridview in a wizard

   
  Privacy | Contact Us
All Times Are GMT