.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Help with part of my footer not working right in IE7

Posted By:      Posted Date: September 02, 2010    Points: 0   Category :ASP.Net
I have two div's that make up my footer... One has a list of hyperlinks the other has a copywrite.  The hyperlinks css works fine and falls right after the content of the page. However the copywrite div does not work in IE 7 it seems that the float left does not seem to be working... Can someone give me some suggestions on how I can get this div to stay at the bottom of my page too..  #Copywrite { font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; font-size: 50%; margin-left: 12px; text-align: left; float: left; width: 180px; clear: left; position: relative; } #hyperlinksList { font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; font-size: 70%; text-align: right; float: right; margin-right: 12px; margin-bottom: 12px; width: 575px; clear: both; color: #0076CC; }  

View Complete Post

More Related Resource Links

The Working Programmer: Going NoSQL with MongoDB, Part 3


Wrapping up his examination of MongoDB, Ted Neward discusses predicate queries, aggregate functions and LINQ support, and provides some tips on hosting the NoSQL database in a production environment.

Ted Neward

MSDN Magazine July 2010

The Working Programmer: Going NoSQL with MongoDB, Part 2


Ted Neward continues his dissection of the alternative MongoDB database system, using exploration testing to investigate the underlying technology.

Ted Neward

MSDN Magazine June 2010

Web Part working fine on the top-level page but 'Not Safe' error on lower-level pages.


I have created a Web Part which reads and parses the SharePoint logs in order to display usage information of the page it resides on.  The Web Part works perfectly on the top page, reading and displaying the information desired.  However, once the Web Part is added to any page lower in the site heirarchy (sub-page) the same Web Part throws the following error:

Web Part Error: A Web Part or Web Form Control on this Page cannot be displayed or imported. The type could not be found or it is not registered as safe.

Show Error Details
Hide Error Details

[UnsafeControlException: A Web Part or Web Form Control on this Page cannot be displayed or imported. The type could not be found or it is not registered as safe.]
  at Microsoft.SharePoint.ApplicationRuntime.SafeControls.GetTypeFromGuid(Guid guid)
  at Microsoft.SharePoint.WebPartPages.SPWebPartManager.CreateWebPartsFromRowSetData(Boolean onlyInitializeClosedWebParts)

Of course the current version of the Web Part is in the SafeControls list on the web.config.

The Web Part was originally designed to return site activity only for the top default.aspx page and worked fine but started to fail in the manner described above once I added the following line of code to return a SPCo

web part footer does not appear ?

Hi all I have a web part in a page but the web part's footer does not appear<asp:WebPartZone ID="WebPartZone1" runat="server" style="height:100px;" CssClass="PartZone" PartChromeType="TitleAndBorder" ShowTitleIcons="true" Width="200"> <FooterStyle CssClass="PartFooterStyle" /> <PartTitleStyle CssClass="PartTitleStyle" /> <ZoneTemplate> <asp:Panel ID="Panel2" runat="server" Width="200" Height="200"> <asp:Button ID="Button1" runat="server" Text="Button" /> </asp:Panel> </ZoneTemplate> </asp:WebPartZone> What can be wrong in this ? thanks

The Working Programmer: Multiparadigmatic .NET, Part 1

Software development isn't all about object-oriented design; it's about finding what works best, and incorporating it into your solution.Ted NewardMSDN Magazine September 2010

Why is the Content by Query Web Part CommonViewFields attribute not working as expected?

I am using the Content by Query Web Part to show data from a Custom List.  I have already added to the XSL "ItemStyle" sheet so that I can pick the correct Item Style.  That has worked fine - I have been able to show whatever fields I would like and apply any CSS Styles I would like to them.  The issue I am having is in formatting the field correctly.  I have two different fields in my current example that need to be formatted: [1] I want to show an Image, but right now it shows the URL  [2] I want to show Rich Text, but right now it shows all the HTML Code as Plain Text.  I have looked at many articles online, and they all tell me to change the following in the WEBPART file from: <property name="CommonViewFields" type="string" /> to: <property name="CommonViewFields" type="string">Thumbnail, Image;Teaser, RichHTML;</property> What I am doing wrong?  The Web Part still runs, but it does not format the fields any differently.  Thanks for the help!

Target audiences not working in excel services web part

My appologies i posted this originally in the pre-2010 forum So i'm reposting here: We have recently upgraded to Sharepoint 2010 and we're experiencing problems with the "target audience" field being available to the users. I am not the CA admin though so it'll make this a bit tough to get solved if the problem is there. What i'm looking for are the suggestions of things for me to forward to the CA admin to change or check if anything. We have a seperate Virtual Machine that is running 2010 that has this option available to users on that farm for some reason. however on our corporate farm we don't have that option available. Plus on top of this the quick launch items are not working with audiences as well to turn off the headers to links that have nothing in them due to security trimming on document libraries. I'm hoping that this being a more of an overview of things to check would help others who may have this problem as well. I've seen resolutions such as rebooting the server and such, however that's a bit lower level and we need some higher level things to check that may resolve the issue. Think the simple stuff first to check and lets work down the list. Doesn't matter how stupid it is but can we get a more compiled list of things to check to make sure that target audience visibility to users is enabled? Thanks!

Social Comments Web Part Not Working

I want to use Social Comments web part. When I import this web part to the web part gallery, It was imported successfully but when I use it in any web part Page I receive following message: Cannot Import This Webpart Here is the link from which I am following the steps to add this web part for my videos to be commented. http://msdn.microsoft.com/en-us/library/ff464368.aspx Please tell me the solution of it, that how can I use the web part.  There is a NOTE in the above link which is as follows: To use the Noteboard Web Part, enable the User Profile Service Application and make it available on the server. All users of the site must have the UseSocialFeatures profile permission. At my site Collection, User Profile Service has started But I am unable to find UseSocailFeature in my site collection.

Social Comments Web Part Not Working

I want to use Social Comments web part. When I import this web part to the web part gallery, It was imported successfully but when I use it in any web part Page I receive following message: Cannot Import This Webpart Here is the link from which I am following the steps to add this web part for my videos to be commented. http://msdn.microsoft.com/en-us/library/ff464368.aspx Please tell me the solution of it, that how can I use the web part.

Filter on web part not working for certain columns


Hi all,

I have a list of "Faults" - this contains the Shop Number that the fault was logged against (which is a lookup column to the "Shops" list), who logged the fault ("Created By") and the details of the fault ("Title").

If I add the list as a web part and filter by Created By, it works perfectly - I get multiple entries in the list for all faults logged by a certain person.

However, if I filter by a Shop Number - I only get a handful of entries in the list, going back a few days - anything older than that is simply not there.

Yet if I go to the main page for the Faults List (AllItems.aspx) and change to Datasheet view - the filter works perfectly, I can see EVERY entry for a particular Shop when filtering on Shop Number.

Any ideas? It only seems to happen when using a Web part OR a DFWP - as a result, I can't pass the Shop Number as a filter parameter to it, nor can the users see a complete history of faults when viewing individual shops.

I've no idea what has changed recently, other than deletng some custom views we had created in the Faults list - could this have caused a problem? Can the Faults list be "reset" somehow without losing any data? To clarify - it's ONLY happenning when the list is viewed as a web part of DFWP, when it's viewed in Datasheet m

Set the working/start directory for a Library web part?


Greetings all,

One of our departments has a relatively large library with folders, sub-folders and sub-sub folders. They want to be able to add a web part to one of their pages that displays items only within a sub-sub folder, rather than beginning at the root level of the library.

How might we customize the part so that it starts its display at the sub-sub folder we need?



Visual Web Parts - programmatically change Web Part Title not working



I have four custom made Web Parts (based on the Visual Web Part template) that show a filtered set of data from various lists. These work just fine on my front page (which is a Publishing enabled page/site). Each Web Part has some functionality for setting a date filter on the set of data. Now, on every load I generate a string which tells what the current filter is (default filter, custom set date filter +++) and set this string to the Web Part's Title. This text then shows up in the Web Part's header. All this works just fine on the front page.
However, I also have a few sub sites that are based on either the Blank Site or a Team Site and on these sites setting the Web Part's Title property doesn't work. Well, it works, but doesn't get rendered. If I do a "Edit page" or go to one of the Web Part's properties, all the Web Parts' headers get updated to the correct text. But, the next time I load the page, it's back to some old value. 

I dont' get it! Does anyone know what might be causing this?


The Working Programmer: Multiparadigmatic .NET, Part 2


Finding the commonalities and variabilities within a system, and expressing them, forms the heart of design.

Ted Neward

MSDN Magazine October 2010

The Working Programmer: Multiparadigmatic .NET, Part 3: Procedural Programming


Procedural programming is often seen as "old school," outdated and useless in modern software design, but the design paradigm still shows up in a surprising number of places-including the compiler and MSBuild.

Ted Neward

MSDN Magazine November 2010

Content Editor Webpart not working in web part page


I Have a CEWP, i have written jquery for displaying the same.It works fine when i do the following:

Site Actions --> Edit page -->Add a Webpart --> CEWP --> and in the Source control editor, i paste the jquery. My jquery does a calculation by comparing two values A and B in a list. If A is greater, one image is shown, if it is less another image will be shown.When the user clicks the image the list gets opened and on the change in the values the image will be changed. This works perfectly when i do the above.

But when i create a Webpart page, it gets created in the Shared Documents site. And when i add a web part and does the same thing, my CEWP is not showing the correct image.




The Working Programmer: Multiparadigmatic .NET, Part 7: Parametric Metaprogramming


In this series we've examined procedural and structural programming, objects, and metaobjects. Now let's take a look at generics and put them to work as an example of parametric polymorphism in action.

Ted Neward

MSDN Magazine May 2011

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend