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

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

how to restore view style to default... urgent

Posted By:      Posted Date: September 26, 2010    Points: 0   Category :SharePoint

dear friends,

I have changed default font size of '.ts-syslabl' in view style of "Boxed" for a page. But it is reflecting in all view styles. May be i corrupted main css core file or vwstyles file with respect to that site collection. How to restore to default file with respect to css. Kindly help me out . It is urgent ...please.. It is the problem with only one site collection in which i tried.

I used Sharepoint designer 2010 .

pleasehelp me out

View Complete Post

More Related Resource Links

Personal view reverts back to default after updating properties of item


I am working with a company that has 1 site collection with several sub sites.  I have built 3 document libraries with workflow in 3 different sub sites and all behave as expected.  I have one site where ALL libraries do something perplexing;

If you are in a custom personal view and you go into the properties of a document and then exit (update or not, does not matter) it reverts back to the default view of that library. 

Has anyone seen this?  is there an option when creating an album that could cause this?

thanks in advance for any input on this odd issue.

Is it possible to change the title bar background and the font style on default template?



Is there any way to change the default top link /title bar picture and the fonts of the title without breaking anything in the layout/structure?

I have changed the theme to Obsedian and I would also like to change the picture of the title bar of this theme and also the font/style of the title, top link bar, menus..etc. Is there a way to do this?

Please note: I am using WSS 3.0 and I am not the Administrator of the sharepoint. I am only the site admin of some sites on this sharepoint. I can do some basic customization using SPD.

Basically, what I am trying to do is that I want to set up a sharepoint site, however I want to make it NOT look like a sharepoint site.Well I know this is possible, but for my case it might be just partially possible due to the limitation that I am not the Site collection admin and hence I do not have direct access to the server itself.

What I want is to hide most of the sharepoint links/menus/bars, etc and use my own buttons/hyperlinks etc .. for user to navigate on the sites.

Thanks in advance for your help/advices.



When i click on any other folder in the document library that will navigate to default view of DL?



I have document library with having some folder in the same ,i have displayed my library in the page as Treeview, so when i click on any of the folder in the library i need to navigate allitems.aspx page i.e default view page of the document library ,the document library having views.Suppose when i am in other view i have selected folder from library treeview folder is changing but view not navigate to default view.

pls help 


When the user want click on document library that should be navigate default view



I have document library which is having folders,the document library i have displayed as tree view in the left side of the page.

Here Document library having views,suppose i have selected one view on the document library it is navigating the particular view that is good but when i am trying to click document library folder still the page in same view do not navigate the default view .

I need when ever i click on any of the folder in document library that should navigate defualt view ,could you please help me on this.

Really its need urgent...


Create a new list View Style

Hi, In SharePoint 2010 for XSLT List View Web Part you can assign different view styles using SharePoint Designer. For example "Basic Table", "Boxed" or "Shaded" etc. These styles just don't fit my needs. So my question is how can I create my own View Style which I can apply to any list? I came across "Customize XSLT > Customize Entire View" option under Design tab in SharePoint Designer which allows me to change the XSL stylesheet and control the rendering for a list. But how can I create my own list "View Style" which I would like to reuse with other lists too? Thanks, Hitesh  

Change "View Report" button style

Hi,    How can i change the style of button "View Report" ? I want to change the image.     Tks!    

Load View and Partial View (Master/Detail) with default parameter(s) ?

MVC newb.  Members view (index) that lists members that users can select to show a partial view in the same view with details for the selected member Uses jquery (Ajax.ActionLink) to call a partial view method in the members controller to then load the members detail section Works fine up to here....but I'd like to load the partial view with "member" details for a default or random member on initial load -- ie not through the Actionlink selection How do I invoke the partial view method on the initial load?  I'm sure this is basic stuff but still still getting my head around the mvc "way" Can someone point me to an example or explanation somewhere?  (not turning anything up on my searches thus far)   thanks in advance!!

To Pass date in view at runtime!! Can anyone help Very Urgent

Hey I have to pass the Bussiness date in my query at run time I have tried the query below but not able to Execute it. Select * from table name where and RT.BUSINESS_DATE = ? --if only one date --if between two dates and RT.BUSINESS_DATE Between ? and ? Can Any one help me with the Syntax. Will be greatfull!!!

Is there a way to set default style properties for a table or matrix?


We have a company standard we use for fonts, color, background, borders. 

Is there a way to set the default font to say 8 pt (vs 10 pt) so that I do not have to change every textbox and column header when adding columns to a table?



Cant adjust Box size in Custom view with Box style implemented in sharepoint



i have a sharepoint view which has boxed style implemented to it. It displayes information in form of two boxes adjacent to each other on the site. the issue i am facing is that the two boxes are of unequal size. The left size box takes enough space and hence the box adjacent box has to squeez in the left over space.

how can i customise those according to  my needs. any help would be appreciated.

Thanks in advance



default style for control

Hi all , I have a problem when I use button in some code base , I found some guys already defined lots of style for the button and buttonbase , but I want to use the default style in WPF , can I prevent the button inherit the style from custom , only use the WPF ?

Jquery UI buttons style return back to windows default button



i have placed my 

    <link type="text/css" href="css/smoothness/jquery-ui-1.8.5.custom.css" rel="stylesheet" />
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.8.5.custom.min.js"></script>

<link type="text/css" href="css/smoothness/jquery-ui-1.8.5.custom.css" rel="stylesheet" />
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.8.5.custom.min.js"></script>

under my template.master - master page.

so i make a new page based on my master page.&nb

MVC2: Change the default generated HTML when creating a strongly typed view


Is there any way to change the HTML that is generated by default when you create a strongly typed view in MVC2?

I currently get a structure like this:

            <div class="editor-label">
                <%: Html.LabelFor(model => model.category_id) %>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.category_id) %>
                <%: Html.ValidationMessageFor(model => model.category_id) %>

I want to change it to a structure like this:

                <div><%: Html.ValidationMessageFor(model => model.user_login) %></div>
                <div><%: Html.LabelFor(model => model.user_login) %></div>
                <div><%: Html.TextBoxFor(model => model.user_login) %></div>

infopath form default view issue



i'm having some issue with my form views.

i have 3 views for my form. 1 for the fill in, 1 for approving and the last one to be submitted to the database

i have set the fill in form as initiator. and the approver view as default but when the 3rd user wants to open the form to submit the form to the database it does not open the form with the view for submitter. it keeps opening the approver view.

and if i set the approver view to default it opens the approver view, if i set the fill in view to default it open the fill in view.

how can i fix this. can i only create 2 views for 1 form?

Default style on control?


What is the proper way to set up default styles for a Custom Control Library?

I wanted to have the control and style in the same library but it was not calling the OnApplyTemplate().
Company.Framework -> WPF -> Controls -> MyControl -> MyControl.cs
Company.Framework -> WPF -> Controls -> MyControl -> MyControlStyle.xaml

I realized I needed a Generic.xaml.  When I had it set up this way, my modules would throw errors when trying to load.
Company.Framework -> WPF -> Controls -> MyControl -> MyControl.cs
Company.Framework -> WPF -> Controls -> MyControl -> MyControlStyle.xaml
Company.Framework ->Themes -> Generic.xaml
Company.Shell ->App.xaml

This is currently how I have it set up. It works, but I want the default style back with the control.
Company.Framework -> WPF -> Controls -> MyControl -> MyControl.cs
Company.Shell -> DefaultSkin -> Resources -> MyControlStyle.xaml
Company.Shell -> DefaultSkin -> Resources.xaml


Changing default 7 day calendar view to 5 days (mon-fri)


We are currently using a 'list' calendar on month view for holidays.

The calendar is currently showing monday to sunday. We work a 5 day week so saturday/sunday are irrelevant. Is it possible to change this view so that it only displays mon to fri??


View all resources on a SharePoint group calendar by default.


I have set up a group calendar in SharePoint and added 10 items to the associated Resources list.  By default resource bookings will not appear on the group calendar unless you manually select the resources through the interface.  I would like the calendar's default view to display all bookings (or all available resources) by default.  Anyone have recommendations on the best way to do this?


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