.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

Changing font size on table of contents webpart

Posted By:      Posted Date: April 14, 2011    Points: 0   Category :C#
Does anyone know how to change the font size, style of the Level 1 style. Right now I have that style set to vertical with descriptions and need assistance on how/where to do this.

View Complete Post

More Related Resource Links

Changing font size for all text in DataView webpart?

I'm in SharePoint designer. Would you know what class I need to change the font tag on to impact the size of font for the entire dataview? I've tried the DataFormwebpart, the webzone, the table. No luck. And when I change the ms-vh or ms-vb it only changes it it on the tr or td selected. I'm also not seeing an option inside the webpart properties. <table border="0" width="100%" cellpadding="2" cellspacing="0" style="font-size: large"> Thanks.  

changing font color on a data column field based on the contents

I am trying to change font color if the datafield has the string EMERGENCY. This is my original template field: <asp:TemplateField HeaderText="Type" SortExpression="DigType"> <EditItemTemplate> <asp:Label ID="Label1" runat="server" Text='<%# Eval("DigType") %>' ></asp:Label> </EditItemTemplate> <ItemTemplate> <asp:Label ID="Label1" runat="server" Text='<%# Eval("DigType") %>' ></asp:Label> </ItemTemplate> </asp:TemplateField>   and this is what I thought would work: <EditItemTemplate> <asp:Label ID="Label1" runat="server" Text='<%# Eval("DigType") %>' ForeColor='<%# IIf(Eval("DigType")="EMERGENCY","Black", "Red") %>'></asp:Label> </EditItemTemplate> <ItemTemplate> <asp:Label ID="Label1" runat="server" Text='<%# Eval("DigType") %>' ForeColor='<%# IIf(Eval(&quo

Changing the font size of Folders in left Navigation bar.

Hello guys, I want to change the font size of folders in the tree view of the left Navigation Bar.I am new to CSS. So can you guys let me how do I decrease the font size of folder Thanks

Need more font size options in browser edit mode

Is there a way to have a different font size other than the drop down menu of Editing Tools > Format Text of: 8, 10, 12, 18, 24, 36, 48, 72 pt ?   As a designer, I feel handcuffed with just these options. 

DatePicker calendar font size

Due to the fact that we have globally changed the TextBlock size, the DatePicker calendar does not display properly. The month at the top is too big and is getting cut off.   Is there a way to either override the font  size for the DatePicker to have its normal size or to directly set the size through a style? I tried this:   <Style TargetType="{x:Type CalendarItem}">     <Setter Property="TextElement.FontSize" Value="10"/> </Style>   But it didn't work. I could override the entire CalendarItem template but I'd rather not.

Filtering the Table of Contents Web Part

Hi there, I'm trying to filter the Table of Contents web part so that it only shows a list of sites; excluding the documents, lists, discussions, etc... This is on our projects site, and will be used to show a list of projects. I've scoured the net for quite some time and found some people trying to do the same kind of thing, but couldn't seem to get their custom xsl template to do the trick. I'm by no means an xslt expert, but I believe the answer lies in adding a custom style template that will filter the resultset in the LevelStyle.xsl file? Please help!!!

changing table columns collations

hi i have a database with "SQL_Latin1_General_CP1_CI_AS" collation i changed it to "Persian_100_BIN" but none of columns collations is not converted to "Persian_100_BIN" and remained in "SQL_Latin1_General_CP1_CI_AS" collation. how i can change all columns collations to "Persian_100_BIN"? tank u.

How to calculate a SQL Server performance of a query based upon table schema, table size, and availa

Hi What is the best way to calculate (without actual access to a SQL Server) the processing speed of a query (self-inner-join) based upon table schema, table size, and hardware (CPU, RAM, Drives)? ThanksThanks Jeff in Seattle

Changing Properties/Attributes of a Webpart in inline code block - Error 'System.Web.UI.WebControl

I'm trying this code below, but gettting error: System.Web.UI.WebControls.WebParts.WebPart' does not contain a definition for 'FilterValue1' I need to change the value of the FilterValue1 properties of a content Query WebPart with title = Applicant Files. Thanks in Advance!
protected override void OnLoad(EventArgs e) {  base.OnLoad(e); SPSecurity.RunWithElevatedPrivileges(delegate() { using (SPSite SiteCollection = new SPSite("https://somesite/")) { SPWeb myWeb = SiteCollection.OpenWeb(); myWeb.AllowUnsafeUpdates = true; Microsoft.SharePoint.WebPartPages.SPLimitedWebPartManager mgr = null; mgr = myWeb.GetLimitedWebPartManager("default.aspx",System.Web.UI.WebControls.WebParts.PersonalizationScope.Shared); foreach (System.Web.UI.WebControls.WebParts.WebPart myWebPart in mgr.WebParts) { if (myWebPart.Title == "Applicant Files") { myWebPart.FilterValue1 = "/13"; mgr.SaveChanges(myWebPart); break; } } } }); }

Changing table name and Index relation

Hi experts, Does changing the table name in sql require anything with the indexes as well? Do I need to drop and create indices in this case? Regards

Button height doesn't increase with larger font size

Hi, I've got a couple buttons in a StackPanel that aren't increasing when I increase the font size. I think it has to do with the VerticalAlignment but I'm not catching what's going on. Here is the xaml: <StackPanel Grid.Row="3" Grid.RowSpan="1" Height="Auto" HorizontalAlignment="Stretch" Name="stackPanel1" VerticalAlignment="Stretch" Width="Auto" Orientation="Horizontal"> <Button Background="#FF7F3F96" BorderBrush="{x:Null}" Content="exit" FontFamily="Myriad Pro" FontSize="12" Foreground="White" Width="Auto" MinWidth="74" Margin="23,8,11,9" /> <Button BorderBrush="{x:Null}" Content="new" FontFamily="Myriad Pro" FontSize="12" Foreground="White" RenderTransformOrigin="-0.243,0.516" Width="Auto" MinWidth="74" Margin="11,8,11,9"> <Button.Background> <SolidColorBrush Color="{DynamicResource Green}" /> </Button.Background> </Button> </StackPanel>

how to fix the height of the table to be same as the screen size?

hi,iam trying to have my web page design inside a table that fills the screen in width and height.i tried like this<table  border="0" cellspacing="0" cellpadding="0"                         style="width:100%; height:100%; margin-right: 0px; margin-left:0;margin-top:0; margin-bottom: 0px;">            <tr> etc...the table width is filling 100 % but the height is not expanding to the bottom of the screen.my aim is to have a column in the table that looks like a left pane and it will contains dynamically added controls so if there is controls or no the column will have the height of the screenthanks for the help

How to display the contents of a table while debugging a stored procedure


I see that after a call to my stored procedure I am jumping into a trigger while trying to insert rows. How do I see what SELECT * FROM INSERTED is or what is in other tables while I am debugging my stored procedure. (I know I can put SELECT * FROM INSERTED into my trigger, etc. but I am looking to be able to debug my stored procedure without changing anything except things in my debug environment.

filtering table contents shown in datalist


i am using this code to fill my datalist:

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        Dim myConnection As SqlConnection
        Dim myCommand As SqlDataAdapter
        myConnection = New SqlConnection("mydb")
        myCommand = New SqlDataAdapter("SELECT * FROM Posts", myConnection)
        Dim ds As DataSet = New DataSet()
        DataList1.DataSource = ds

    End Sub

it works and fills the datalist with the whole table..

when this page opens the address bar is like "www.example.com/threads.aspx?thread ID=123"

i would like the datalist to show all contents in the table with this specific thread ID.. thank you in advance :)

Exporting to Word with table of contents


I was looking for functionality in SSRS 2008 that allows the creation of a table of contents when exporting to Microsoft Word.

I have not been able to find any examples and thought maybe I would have to use a 3rd party component.  Has anyone had experience doing this in SSRS and if so could you provide an example.

Thank you,


Changing the font Of urdu


hello everybody

private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
            obj.Key = e.KeyChar;
            char getvalueFromFunction = obj.getKeyBoardKey();
            if (getvalueFromFunction == 'B')
                e.KeyChar = getvalueFromFunction;

this is my code under the presentation layer or form1.

public class keyPress
        private char key;

        public char Key
            get { r

Make font size relative to container or browser size?


Is there any way to make font size a percentage of the size of either the parent container or the browser window viewport? Having fixed-width fonts inside variable-width containers is causing the layout to break.

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