.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

web layout

Posted By:      Posted Date: October 20, 2010    Points: 0   Category :ASP.Net

Hi dear, i have made a website.when i browse the website and resize the browser. the layout completely disturb. i have also used the div and table tag  but it didn't solved the problem.plz help someone.


View Complete Post

More Related Resource Links

Panels messing up page layout



On a few different pages in my web app I have a scrollable panel that contains a gridview. When there is nothing in the panel display as I want it to, however when the grid view is populated with data it stretches the panel across the page which looks awful, it means the panel is partially stretched across the window but is still scrollable

Anyone know why this might be happening?



Change grid view from table to other HTML layout



You'll have to excuse my ignorance, I'm coming at this from a front-end perspective, and don't really know how to deal with data views in ASP.NET.

Basically, I'm trying to change the layout of some repeated data from a straight table, to something more design-heavy.  It's the same data, just re-organised slightly.  The current ASP.NET code looks like this:

                    <asp:GridView ID="GVMoments" runat="server" AllowPaging="True" AllowSorting="True"
                        AutoGenerateColumns="False" PageSize="20" RowHeaderColumn="FirstName"
                        SkinID="GroupSkin" DataKeyNames="moment_id" 
                        <PagerSettings Mode="NumericFirstLast" PageButtonCount="20" Position="TopAndBottom" />
                        <RowStyle />
                                <asp:BoundField DataField="moment_id" HeaderText="moment_id" ReadOnly="True" SortExpression="moment_id"
                                    Visible="False" In

Crystal Reports can grow fields with large amounts of text layout problem


A can grow field in the details section of a crystal report may have so much text that the section will be larger than the remaining space available on the page (the space below the previous record).  The section has vertical lines on it with Extend to bottom of section when printing set to true.  The section starts on a new page (and may continue on the following one).  I want it to start on the page where the last record was laid out, and continue to the new page without leaving a gap with vertical lines on it.  I'm using Crystal Reports 9 and I can't work out how to do it. Has anyone got a solution?

Page layout list not displaying in page settings



I have 4 different custom page layouts in my publishing site at the site collection level. I have one site named "Services" in site collection. When i create page, i select one page layout from above 4. But when i go to the page settings of that page to change the page layout of it, i can see only one page layout which this page based on.

Problem is why all the page layouts not listing there? I checked "Page layout and site templates" settings from look and feel of Site Settings, this r set to "Pages in this site can use any layout".

Please help..!

Thanks in advance.


Sandip Patil

Sharepoint Developer


Content deployment: pages not based on a page layout

Is it possible to use content deplyoment feature when pages (in page library) are not based on a Page Layout?

Variation label in a page layout and Translated Columns



Can any body elaborate on this two terms in publishing sites.

1: Variation label in a page layout

     When i edit the page layout from browser interface of publishing site with variation, there is one field called "Variation" where user

     have to select the variation label from a list.

2: Translated Columns

     Don't know what is this, i try to google a lot but not found any information.


Thanks in advance

Regards Sandip Patil Sharepoint Developer http://www.worldofsharepoint.com

SharePoint 2007 - Consolidating everything as feature into WSP [Content Type, Page Layout, Pages, Ma


Hello –


Overview – We are building a Mobile Web Site using SharePoint 2007. The big screen site has been already built and we need to integrate the mobile site into same site collection of big screen –


·         The Mobile site will use the existing content types of existing big screen site

·         We will build a new custom Master page

How to Layout Web Page?

Hello everybody. I am new in web development and I am designing a web based application now a days. This is my semester project and as well as my first web application. So I have designed the home page using fixed layout taking my pc's 1600x900 resolutions under consideration. I have tested it in IE, Firefox, and Chrome. But I am getting a horizontal scrollbar. And I have come to know that use of fixed layout reduce the portability of web site. I need some information/web link and help on liquid layout. I am collecting images from various free template provider website for my web pages and also taking concepts from that. Any help, any information will be very helpful to me. I have uploaded my project (so far) here: http://uploading.com/files/d15133c1/ProjectWork2.zipx/. And also I have uploaded an image of my designed page here: http://lh6.ggpht.com/_7ii6RI_rc38/THlX-byHDMI/AAAAAAAAAIA/jDWqApfjIno/s800/WebPage.jpg so that you can see what my thought is. Thank you.

A layout, mouse selection, ListView problem/question

I'm having a problem with a particular layout scenario, and how it interacts with a left mouse click in certain situations. I have 3 rows in a Grid.  The first is a ListView (Master), with the Row Height set to '*'. It's ItemSource is bound to a collection in a ViewModel, and its SelectedItem is bound to a value in the ViewModel.  When the SelectedItem is null, it should take up its entire container (the other 2 rows are invisible). The second row is the GridSplitter.  It's visibility is bound to a value in the ViewModel.  It's only visible when the SelectedItem in the Master ListView is not null.  It's GridRow height is set to Auto, and it's height is explicitly set to 5 (via a style). The third row is a sub-ListView that shows Detail data for the Master SelectedItem in the top ListView.  It's GridRow Height is set to zero by default, and if an item is selected in the Master ListView, it should become visible and have a set height (400 to start, via a binding on the Height of the row). The desired effect is that when an item is selected in the Master ListView, the Detail ListView becomes visible and the GridSplitter allows you to resize the top and bottom as needed.  If necessary, the ScrollBars become visible in the Master ListView to show any items that are now obscured by the Detail ListView (via the automatic scrolling featur

Report with Static Layout (Restrict Rectangle Growth/Static Tablix size)

How do you stop a Tablix or the rectangle that is a Tablix is contained in from growing.  I have been designing a report that must have a very specific layout due to government and commericial policies.  In this report is a header on top, a footer, some other reporting data above and below a rectangle that contains a tablix region.  I need this tablix and/or rectange to stay a constant size, if there are more rows, it should start another page in the report.  Instead, it grows and pushes all the datafields below it, down and off the page.    I have also tried this with a frame.  The table must show within the frame on form only.  The frame can contain maximum of 10 rows, but the table will grow outside the frame and the items below are pushed down and off the page.  I cannot see how I can setup a page break on every 10th row on a table. Does anyone know how setup a constant size Tablix/Table in a rectangle or frame so that it will not grow beyond the specified size (so the data fields below it will not be moved) and will instead create a new page?  This is crucial to our application and we may have to switch reporting solutions if we can get this figured out. Thanks for you help!  

ASP.net 3.5 layout issue

Greeting, I have asp.net content page that has more than 30 asp.net controls. all the control set with style="position:absolute" I know it is not good practice for ASP.NET web page globalization using style="position:absolute. Now is there a way to convert my current asp.net page layout to be fit with most of the internet browser. I read this article http://msdn.microsoft.com/en-us/library/95xdeeha%28VS.90%29.aspx that explain this issue but it is really hard to go and modify each control. In case there is no way what I should chnage in my control style propriety to make internet browsers

Table-Layout attribute and MSDN claims re capabilities

I am developing a CompositeDataBoundControl that is basically a 'table' inside a 'div', in order to limit the size of the Control and use the scrolling capabilities of the 'div' tag ('RenderBeginTag("div"). So essentially the control is; <div style="overflow:auto;width:400px;height:300px;"> <table style="table-layout:fixed;">   My problem/question has to do with the capabilities claimed by MSDN of the CSS Attribute 'Table-Layout'. See; http://msdn.microsoft.com/en-us/library/ms531161(v=VS.85).aspx   One of the essential goals of my Control is to limit the width and height of 'Cells' (<td>'s) in the table and let the content be clipped.  MSDN says one can do this by setting the 'width' property of each Cell in the first row of the table. I have no problem with this and it works just fine.   My problem is that MSDN also claims that one can set the height property of each row and that any wrapping of text is 'clipped' and the row height is maintained. See Remarks section; "If the row height is specified, wrapped text is clipped when it exceeds the set height".  I can't make this happen. Any time whitespace occurs in the cell content, and the content exceeds the cell width, the content is wrapped to a new line and the row/cell height is adjusted automatically to fit all the content. In other words it appears that MSD

CSS Layout Problem when height is fixed to 100%

Hi all,I'm using 3 column DIV layouts for my aspx page which i downloaded it from james tyler website.My problem is when i set height of all the div layers to some 750px it is looking good and when i remove the height, all the DIV layers are getting shortened and looking awakward.I mean if the left menu DIV contains only 3 items, the whole div's height is being reduced to fit those only 3 menu items. I need to maintain 100% height for all DIV layers and my DOCTYPE is XHTML1.0 STRICT. Can anyone please help me out as i'm stuck here.. Here is my CSS and Markup:/* Header styles */ #header { clear:both; float:left; width:100%; } #header { border-bottom:1px solid #57B6DD; } #header p, #header h1, #header h2 { padding:.4em 15px 0 15px; margin:0; } #header ul { clear:left; float:left; width:100%; list-style:none; margin:10px 0 0 0; padding:0; } #header ul li { display:inline; list-style:none; margin:0; padding:0; } #header ul li a { display:block; float:left; margin:0 0 0 1px; padding:3px 10px; text-align:center; background:#eee; color:#000; text-decoration:none; position:relative; left:15px; line-height:1.3em; } #header ul li a:hover { background:#369; color:#fff; } #header ul li a.active, #header ul li a.active:hover { color:#fff; background:#000; font-weight:bold; } #header ul li a span { display:block; } /* 'widths' sub menu */

How to Create Page layout only for webpart zone

HI Guys, I want to Create Page layout for Publishing site in SP2010 so do i need to create Page Layout Based on Page content Type ? i have created page layout based on Page content type but when i save page i got error Invalid SPListItem. The SPListItem provided is not compatible with a Publishing Page. Please assist me.   Thanks Ronak Thanks Ron

usercontrol layout in canvas at runtime puts in mult. copies of 1st element in collection.

I created a usercontrol which has a few DP's that match up with fields in a sql table. The requirements of this control specify if I get a specific status value I will flash the usercontrol to draw attention to a specific area of equipment in the facility. I also provide a tooltip which has all the fields of data to view. The usercontrol should only display it's description. On a button click I run the following code which instantiates a new observablecollection of my custom usercontrol (I call it profiNode). It then fills a dataset by calling our DAL and then I loop through the datarows using the values to create a new profiNode object for each row. I then add these to the observable collection, but I suppose a generic list would work too.     ProfiNodes = new ObservableCollection< profi.profiNode > (); DataSet data = new DataSet(); data = this.DataLayer.getDataSet("Select * from ProfibusMapping", CommandType.Text, null); foreach (DataRow row in data.Tables[0].Rows) { profi.profiNode node = new profi.profiNode((string)row.ItemArray[0],(int)row.ItemArray[1], (int)row.ItemArray[2], (int)row.ItemArray[3], (string)row.ItemArray[4], (DateTime)row.ItemArray[5], (int)row.ItemArray[6], (int)row.ItemArray[7], (string) row.ItemArray[8], (double)row.ItemArray[9], (double)row.ItemArray[10]); node.ID = string.Format("node_M{0}_A{1}&q

Help with page layout

 have master -child pages on my site and I am unable to specify control location on page. See image at http://img225.imageshack.us/img225/3114/pagelayout.jpg and I am limited by purple boundary. Red rectangles represent where I do want to display control.
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