.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

Vertical align table cells via SharePoint UI

Posted By:      Posted Date: October 05, 2010    Points: 0   Category :SharePoint


Is there anyway to vertical align table cells via the sharepoint 2010 WSIWYG editor? From what I can tell, you have to go into the html to do this, but you can't really tell end users to do this, especially for something that's quite a common request. Is there a way that i'm unaware of?

btw the main place where we need this ability is while using the PublishingWebControls RichHtmlField control.


View Complete Post

More Related Resource Links

How to tie a dropdown list from a nother table to a dataview in sharepoint designer



i created a dataview for a user table to insert new records. now i have to use a dropdown list that get data from another table. to insert in my user table. in the user table only the code is stored. but i need to get that code description that is in another table in my dropdownlist to choose from in my dataview.

how can i do this in sharepiont designer2007?

How to create scrolling table for columns in a SharePoint Designer Data View


I have a fairly complex SharePoint Designer 2007 Data View they have added two more requirements.

1. Have the columns on the right side be able to scroll left to right as there is a large number of columns, while the first 3 columns on the left side stay locked in place.  This is only one list not two, and because of some other requirements I have it must remain to be just one list.

2. Then they also need to have scrolling up and down of the entire list with the headers locked in place.

The first requirement is more important than the second, but preferrably I need to do both.

I am new to XSL so not familar with the syntax. Is this something I can do on a custom Data View? Does anyone have any examples of how?

I have a drawing that show how it needs to look but I don't see an option here to upload a graphic.

So here is a link to my graphic example uploaded to my blog area: http://lindachapman.blogspot.com/  or just the image here: http://4.bp.blogspot.com/_aB01ue__NvQ/TGL42MOvrGI/AAAAAAAAAA4/c3xP4uCy4BU/s1600/Scrolling.png

I failed to mention that 3/4 of the columns are HTML Calculated fields wh

sharepoint New Item form database table

hi, i want to know if i create a custom list in sharepoint designer and i modify it with my own fields. when the user filled this form where in the database are the filled data stored. thus in witch table in the wss_content db will the data be stored?

sql convert vertical table to horizontal (deep to wide)

Hi I have 2 tables, where one holds Name and address information in a wide format, second table is a deep version where i have the records with field names (i.e. Date Of Birth) in the value and then another field with the actual value. I need to merge both tables together to create a new 3rd table and have everything in a wide format, so name and address for one record plus another new column with Date of Birth, so in the end i would just have one row for a person. i am using sql 2008, i dont have any examples to show, which makes it difficult to explain. a visual example would be table 1 id   name  address1      address2  postalcode 100 john    1 anystreet  anywhere  125254 table 2 id  fieldname  fieldvalue 100 dateofbirth  1 jan 1900 100 age         10 100 mobile     123456789 new table should look like table 3 id   name  address1      address2  postalcode   dateofbirth  age  mobile 100 john    1 anystreet  anywhere  125254      1 jan 1900    10   123456789 i have a very large dataset so need something generic and fast as there are lots of different field names so i would need to add th

Excel External Table Data can only create new SharePoint List when Exporting from Excel?

I have a SQL Query that I refresh everyday in Excel. I want to be able to export this list over to a SharePoint list right after my refresh in Excel but I can only Export to a SharePoint list only once. If I try to export again to the same list then it will give me the error "The specified list name is already in use on this server. You must rename the list before publishing it to the server." I have web parts that have connections to this list and I do not want to export my Query to a new SharePoint list everyday. Does anyone know a way around this issue?

How to Control each cells width and height of a Table ?

Hi, I want to fix the size of each cells of a table . for that i used Style like this: <td style="width:10px;height:10px"> contents </td> But it seems that there is no any effect of applying these settings.How can  i set its width and height. It seems that it purely depends on the contents of cells. Now, if suppose there are two rows, <tr id='r1'> <td id='d1'> content of size 10px </td> <td id='d2'> content of size 10px </td> </tr> <tr id='r2'> <td id='d3'> Content of size 400px </td> <td id='d4'> content of size 20px </td> </tr>   Then cell of id 'd1' will get a size of 400px ,since its just below cell is of size 400px. I want to fix its size. Is that possible ?  

Uploading Excel 2007 table into WSS 3.0 - How does SharePoint decide the column that is used to edit

Hi, In Excel 2007, there's an option to upload (export) an Excel table into SharePoint.  The range of cells have to be identified as a table.  In the Table ribbon, there's an Export button.  When I upload the Excel 2007 table, SharePoint (WSS 3.0) decides which column in the table will be linked to the properties dialog box for each line in the table.  It seems to be a sporadic decision on the part of SharePoint. Does anyone know how WSS 3.0 decides which column will be linked to properties?  And, is there any way to control this when uploading the file? Thanks!Thanks! Patti N.

Binding SharePoint Multiline textbox to a infopath repeating table Listbox

Hi, I have a InfoPath form  with repeating table control which gets the data from a sharepoint list. I'm trying to bind a multiline textbox to a listbox and intend to get the line by line data entered in the multiline textbox in sharepoint to show as same line by line in the form's listbox. or is there any other way of getting this done.  Thanks.

SQL server for SharePoint and normalized table relationships

Reading the below posted information from a 2008 web discussion, does it follow then that the underlying SQL server for SharePoint 2010/2007 is unable to be used to setup/manage normalized table relationship databases?   Even though the underlying SharePoint data is stored in SQL Server, SharePoint is not a relational database. It is fine for managing documents. It is NOT fine for managing data except at the simplest unrelated "lists" level. … Take a table with three fields. EmpID, EmpFirst, EmpLast. In Access/SQL the data would be: EmpID,EmpFirst, EmpLast 123, Pat, Hartman 489, Elvis, Presley In SharePoint, it would take three rows for each one row in a relational table. The data would be: GUID, tblName, FieldName, Value sls, tblEmp, EmpID, 123 sl2, tblEmp, EmpFirst, Pat ake, tblEmp, EmpLast, Hartman ksl, tblEmp, EmpID, 489 qkl, tblEmp, EmpFirst, Elvis alajk, tblEmp, EmpLast, Presley

Is there anyway to Sync SharePoint 2010 table to MOSS 2007 table?

Hello, I would like to know what can i use to sync a sharepoint 2010 table to a sharepoint 2007 table? Also could this be done by pulling the webservice for sharepoint 2007 site?

Vertical Align Menu Items when RenderingMode=List


I am having problems getting my Menu Items to align vertically in the middle when I set my rendering mode = list.

aspx code

        <asp:Menu ID="Menu1" runat="server" Orientation="Horizontal" 
            RenderingMode="list" CssClass="AspNet-Menu">
                <asp:MenuItem NavigateUrl="#" Text="Menu 1" Value="Menu 1"></asp:MenuItem>
                <asp:MenuItem NavigateUrl="#" Text="Menu 2" Value="Menu 2"></asp:MenuItem>
                <asp:MenuItem NavigateUrl="#" Text="Menu 3" Value="Menu 3"></asp:MenuItem>

css code for list

/* MENU */

.AspNet-Menu ul li{ width:60px; height:30px; background-color:Silver; vertical-align:middle;}
.AspNet-Menu ul li a
	color: Red;

But if i set the rendering mode to table it works fine...

aspx code

        <asp:Menu ID="Menu1" runat="server" Orientation="Horizontal" 
            RenderingMode="table" CssClass="AspNet-Menu">

Table td align center with width problem


Hi, can you please tell me why the alignment isn't working:


<table border="1" width="700px">
            <td align="center" width="14px">
1 </td> <td align="center" width="14px">
<td align="center" width="14px"> 3 </td> <td align="center" width="14px"> 4 </td> <td align="center" width="14px"> 5 </td> </tr> </table>


but when i remove the width from all the tds, the align will work.


How to add a Repeating Table to Sharepoint Custom List (via Customize Form)



I have create a InfoPath Form Library, and I have a repeating table on the InfoPath form. Now I want to submit the same Templete to a SharePoint List(with the repeating table), is it possible?  



Search data from sharepoint list and populate repeating table (Seach text should be entre in first f


Hi All,

I am newbie to infopath.

I have assignment to search data from sharepoint list and display it to repeating table. Below is the case in detail.

i. User enter search text in first textbox of repeating table.

ii. After text enter you will Enter or click tab button.

iii. As user press Tab /Enter, the other textboxes of repeating table will populate with data automatically.

iv. If searched data rows are more then one, then dynamically add new row's in repeating table and  show searched data.

I am working at offical assignment and it's deadline is very tough. i had made extensive search at google and msdn forum but unable to accomplish. I would appreciate and thanks is some provide me solution in form to a small infopath application and code snippet.




Save/Update/Delete Sql Server data base table using Sharepoint Designer


Can some one help me to achieve below task

Save/Update/Delete Sql Server data base table using Sharepoint Designer.

Datagrid CellStyle vertical align problem


Im using the WPF toolkit when I set a textcolum cell style to align the text to the center vertically it becomes very hard to select the text

without the cellstyle I can just click anywhere in the cell and begin editing the text in there, but with the cellstyle you have a very limited area in the cell where you can select the text field

does anyone have any way to fix this?

                      <Style TargetType="{x:Type dg:DataGridCell}">
                          <Setter Property="VerticalAlignment" Value="Center"></Setter>

Why do things not align the same way in different table styles?


So I have added a 2 column table into a team site where I am listing some documents and when the Table Style is the default "light" everything aligns at the top of the table, but if I chose the "Clear" style things no longer align to the top of the cells, same with the other options.  This is very annoying as there are no controls that would allow you to change the alignment.  I love the new functionality but it seems like it was released half baked, something like having either all the styles use the same alignment or allowing the alignment to be adjusted really is something that should be dealt with quickly.

I am sure there are HTML, or other code solutions to this issue but if you are going to put things out there in the controls they you need to either have them function correctly without adjusting code (cause 2010 loves to screw with any adjustments to code so much) or not have the features included until they are fully functional.

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