Web Forms :: Change The Layout Of A Page?
Apr 28, 2010I have a requirement to design an asp.net website that will allow non-coding staff to be able to change the layout of a page - is there any way this can be done?
View 4 RepliesI have a requirement to design an asp.net website that will allow non-coding staff to be able to change the layout of a page - is there any way this can be done?
View 4 Replieshow to change the layout of a web form. I have tried the Tools->Options ->HTML Designer -> CSS Styling ->Change positioning to absolute , but of no use.
View 1 RepliesHow to change web site layout dynamically using asp.net? Suppose user wants to select one layout from choice and apply it dynamically.
View 2 RepliesHow can I change the treeview layout to display the data in colums orizontal instead of displaying them in a vertical manner?
View 4 RepliesYou'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:
[Code]....
However, I want to replace all of this, such that each 'row' of data renders like this:
[Code]....
How is this done? Can I just edit the code above, or would I need to do something more advanced in terms of not using a data grid and using some other control instead? Is it something that can be done in just a .aspx file or would it need to be done in C# and compiled?
im using a known cms system or maybe old cms system. its a simple ASP.NET application that was hand coded my problem is minor. This cms displays a catalog type website with products from a database. the display looks like its using an html file to house the catalog what i want to do is change that html file to another layout. ive been trying to find the systemdefs and libarary but no luck does anyone have an where these settings may be stored?
View 1 RepliesMe with C#.net, I had intalled a new keybord layout and I want to enter data in the textbox using the new keyboard language but save the details in sql server table in default keyboard layout . So how can I change the keyboard layout only at the time of insertion
View 2 RepliesHow to change just the layout (template) of the CreateUserWizard control programmatically? I would to define another layout (not using the horrid table) but continue to use all the event handling and the creation of the user of the CreateUserWizard control. Just for reference, the following code doesn't work, and produces an unexpected result not representing my Template at all. The "InstantiateIn" method of the ITemplate is not called.
public partial class b : System.Web.UI.Page
{
protected void Page_Init(object sender, EventArgs e)
{
CreateUserWizard createUserWizard = new CreateUserWizard();
createUserWizard.CreateUserStep.ContentTemplate = new Template();
Panel1.Controls.Add(createUserWizard);
}
}
public class Template : ITemplate
{
void ITemplate.InstantiateIn(Control container)
{
container.Controls.Add(new TextBox() { ID = "UserName" });
container.Controls.Add(new TextBox() { ID = "Password" });
container.Controls.Add(new TextBox() { ID = "ConfirmPassword" });
container.Controls.Add(new TextBox() { ID = "Email" });
container.Controls.Add(new PlaceHolder() { ID = "ErrorMessage" });
}
}
}
Now i'm developing a poll system which enable change dynamic layout , independance coder and designer.
View 1 Replies I now have a ReportViewer control on asp.net page with datasource select Country, Product, Value from Table1. This reportviewer is associated with Report1.rdlc and currently Report1.rdlc has this matrix layout
Country as row field, Product as column field and value as Calculate field (Sum)
I want on button1click on asp.net, the report change to this layout:
Product as row field, Country as column field, value remains as Calculate field.
How should I proceed with this ? I know pointing to Report2.rdlc would be an option but I have more than 20 scenario and I want to keep doing it in same Report1.rdlc. Is there way to programmatically change the layout of Report1.rdlc when buttonclick is fired ?
I'm trying to change the layout of the home item, but the whole layout section seems like it doesn't do anything. How do I change the layout of something?
View 1 RepliesIs there a way to change the layout of the login control so that it shows username and password side by side instead of the username on top of password?
View 2 RepliesI want to create a web page with a table on top and a scrollable panel. Similar layout to yahoo mail inbox page (list of inbox messages on top and the panel displaying details). Further more, the table displays general information list and the panel displays a list of detail records. when a user clicks a table row, the panel is going to jump to the specific detail row, similar to html anchors. Do you know how to implement this?
View 3 RepliesI've a page main.aspx. This page has a button 'Settings'. When it is clicked, I load another aspx page settigns.aspx in a popup. Now in the settings.aspx i allow the users to add controls dynamically. For example the user can create 5 textboxes. When he saves it there, I need to get that controls to main.aspx.
So i need to move all the controls from one page to another page. I'm not able to think of a solution with user controls.
I am new to ASP.NET development and I am running into an issue using master/content pages. I have a master file that basically defines all of the layout for my site. The only thing that the content pages are supposed to display is some very basic text/images/html, made available by one ContentPlaceHolder control in the master file.
My problem is in the display. When I view the content page, none of the layout that should be inherited from the master page is displayed -- I end up with just a 'blank' page. What seems odd, is that if I look at the Design View in VS 2005, the content page appears to show the layout that is defined in the master. Here is a sample of the source for the master and one of the content pages...
Master Page: content_pages.master
<%@ Master Language="VB" CodeFile="content_pages.master.vb" Inherits="content_pages" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
... links to CSS & Javascript files here (removed for simpler display in this post) ...
</head>
<body>
<form id="form1" runat="server">
<div id="content_holder">
<div id="content_background_top"></div>
<div id="content_background_middle">
<div id="header">
<div id="menu">... Menu Item Code (removed for simpler display in this post) ...</div>
</div>
<div id="gray_fade_bar"></div>
<div id="site_page_main">
<asp:ContentPlaceHolder id="PageContent" runat="server"></asp:ContentPlaceHolder>
</div>
<div id="footer">Footer Text Here</div>
</div>
<div id="content_background_bottom"></div>
</div>
</form>
</body>
</html>
Content Page: locations_odessa.aspx
<%@ Page Language="VB" MasterPageFile="~/content_pages.master" AutoEventWireup="false" CodeFile="locations_odessa.aspx.vb" Inherits="locations_odessa" title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="PageContent" Runat="Server">
Page content will display here.
</asp:Content>
i spent a few days in creating layout of asp.net pages using the tables and found it really tough to deal with.....
now i want to have a go with the css but not the asolute positioning of the css......
so what are the tags of css which will be helpful to me for creating layouts of my asp.net pages?
I am using master page which have content pannels as well as menu's .
View 2 RepliesCreating a simple CMs syetm and wish to provide the user with the ability to view the masterpage within a page. Basically want to render the masterpage and allow uses to drag a box within the contentholder areas. Similar to SiteFinity if anyone has seen that. I have had a look at other CMS systems and SiteFinity appears to be the only one doing this?
View 1 RepliesI need a multi-column page layout. All colums are side by side and same width. This is very easy with CSS. But real problem is, i need to fill these columns with cells. Every cell is a record from a dataset. So i need to fill a column from top cell to bottom cell thus need to fill the page from left column to right column. As you see below every cell may have different height, because every record may cover different area in a cell (string length). Datalist is eliminated beacuse it has table layout, every row in this table has same height.
A repeater can manage for one column but what about the other columns. Should i use 3 or 4 repeaters side by side and share the data somehow between them. But this time there is another problem after first page is finished, sequential pages must have the same multicolumn layout filled by cells as i mentioned above. I think i need multi columns nested repater with paging support.
im workin on a project using web parts..i have two pages:the first one contains two webpartzones and a set of webparts. in the second one, i should have the same webparts in the first but organised in a specific form. now this page is considered as a template page which the user can choose to apply on his first
page.when the user chose this page. the first one should organise its webparts in the second webpartzone in a way that looks the same as the order of the webparts in the second page.
I have my home page with asp.net webparts. I can do all operations like closing, minimizing, dragging webpart from one zone to another.But I find out one strange issue that when I modified home page of one user and logged out. then in same browser if I login for another user, same modification that I have performed for earlier user appears for the second user.
View 6 Repliesi have only basic Knowledge of Master Page and a Small Knowledge of CSS,
Now i have to Create a MasterPage with Menus, images, header, footer etc, asĀ Educational Website must have.
Exmaple or any Link Through Which i can Learn how to use id and Classes, div Tag to Divide The Page, and id and Classes to give Nice Look to Menus and other items,
Im developing an admin section for a cms tool and in previous tools i used a master page, which then had a page called verified.aspx. this contained a menu control and then dependant on which menu item they selected loaded a user control into a multiview controlThis works fine accept for some small annoying post back issues (not refreshing data and also the time taken to load the large amount of controls)
I have a master page with 2 content placeholders. Im my verified page (which uses the master), i have a nav menu on the left. Dependant on the item selected fro the nav menu on the left, id like to poplute the content placeholders content with an aspx page (which contains a user control) or just an apsx page
ive seen a couple of articles suggesting iframe, and a couple suggesting nested master pages but i dont believe i can get this to work with nester masters,
I want to create a web page with a table on top and a scrollable panel. Similar layout to yahoo new email page (list of inbox messages on top and the panel displaying details). Further more, the table displays general information list and the panel displays a list of detail records. when a user clicks a table row, the panel is going to jump to the specific detail row, similar to html anchors. Do you know how to implement this?
View 1 RepliesI am a beginner to web development and ASP.NET. I am creating a web application (not public, so SEO, bookmarking etc. is of no concern) with the typical layout of header on top, Navigation on the left, content on the right. I want the content to update without the whole page reloading when selecting something on the navigation bar. What is the typical way to implement this? MasterPage with ContentPages and using an UpdatePanel (tried this, but does not seem to work, I guess because the URL is different for each content page)? Using Frames? Using an iFrame for the content part? UserControls for the content part
View 5 Replies