Web Forms :: How To Separate Applications And Master Layouts
Feb 18, 2010
What would be a suitable way to share a Master layout and css/image resources across seperate websites applications on the same server.
Primarily, an update to the Master layout application must not require all the other applications to be rolled out again, they must seemlessly update.
View 2 Replies
Similar Messages:
Mar 22, 2010
I have two web applications in the same solution.They both use different membership/profile and role providers.They are named differently. When I run the solution, and visit one website, and login everything is fine.I then go to the other website, it thinks I am already logged in and the profile provider tries to load profile properties that do not exist.How can I keep them separate, so when I try to log in on one site, it doesn't think I'm still logged in on the other.
View 1 Replies
Nov 15, 2010
I'm working with VS2010 and I wonder should I use one Solution for multiple web applications (web sites) or is it better to create separate web applications (with it's own solution) for each web site?
View 4 Replies
Jan 14, 2011
I maintain a local government website and we have 3 developers and each one develops various web applications. Each web application has it's own directory structure under a folder called "Apps". There may also be another level of folders under the Apps folder. My trial approach at the moment is to have a folder called "Apps/Common/Master" which contain the MyMaster.master page. I have another folder called "Apps/Test/MasterTest" which I have setup a project to use the Master file in the Apps/Common/Master folder. I looked at some information about sharing Master Pages in the MSDN documentation and it mentioned creating a virtual directory and I tried creating a virtual directory "Apps/Test/Master" which points to "Apps/Common/Master" but from Visual Studio it doesn't show up and so when I try to reference the Master Page it can't find it.
My goal is to have a single Master page that we all use that we maintain in a single place and any changes to the single Master Page will be reflected in all of the applications that reference that master page. I don't want to copy the Master page to each project because then modifying the original master page won't update the copies.
View 4 Replies
Nov 14, 2010
I made my own master-detail pages using a listview. Rather than url, I use a listview event to set a session variable and response.redirect to the detail page, which on Page Load, loads the data from the database using the session variable, where it can then be edited. The details page is basically just text boxes and dropdownlists, but I used some third party controls and it all looks really sharp.
Here is the corner I pained myself into. Several dependent dropdowns on the master page filter the main listview. If I go back to the master page using response.redirect, the user would have to use the dropdowns again just to get back to where they were before they went to the details page. This is just not going to work.
To further complicate things, I wanted the master page to have paging on it. So if a back button reloads the page, they would have to set the dropdowns again, and page through the data again if needed. Egads.
The closest I have come to working is using a javascript back back button, but this fails after some postbacks on the details page (that are needed). And of course, the master page isn't refreshed when you go back to it (but I could probably live with that).
View 5 Replies
Nov 11, 2010
We are developing a framework which will be shared accross applications. What is the best way to share master pages, user controls accross applications by preventing other developers to modify the master pages and the user controls ?
Is the following way suitable one ? Embedding masterpages and the user controls in a dll and using VirtualPathProvider to load the master pages and user controls dynamically.
But in this approach developers can not view the design. Is there any other way to convert master pages and user controls to a different format as developers can able to view design?
View 2 Replies
Sep 29, 2010
Is it possible to inherit a sharepoint master page(as a parent) in another application's master page which will be treated as child (i.e. after integrating that standalone application with the sharepoint application)? I am totally new to Sharepoint..
View 2 Replies
Jun 27, 2010
How to display Master-Child relation in two separate grids.
e.g:
Products table: (Master table with productid as primary key)
Productid, ProdDesc
Item table: (Child table with productid as foreign key)
ItemId, ItemDesc, Productid
On selecting a row in Master, all rows related to that productsid should get displayed in the child grid. We need to link the two events.
View 1 Replies
Jan 7, 2011
i am working on a project in which i have to create newsletters. We wish to give user functionality of editing the complete layout ( drag and drop if possible) I am able to achieve drag and drop with web parts but can't customise them much like adding richtext box and saving multiple copies of same page with different layouts. I then wish to enable user to send the html only part of page which contains dynamic layout.
View 1 Replies
Jun 14, 2010
My application requirement is, there should be different Layout themes (not only colors but also controls can be at different location), which user can easily change. How I can do that?
For eg. In wordPress there are different layout themes,
How should be the site folder structure? How I can implement that?
View 1 Replies
Jan 14, 2010
I have access to two seperate databases (mySQL) located on two servers. I need to get the data, link the tables on a key field and display the results in a datagrid. My challenge is that if the search criteria changes for the display it affects rows returned from on table and should thus automatically affect the linked table and resulting data returned.
what the best approach would be to achieving this? So far I have set up a dataset with a dataadapter and table for each connection and then linked the tables in the dataset. The problem that I'm having is getting the linked resultsets to work.
On my form I have the datagrid with two Objectdatasources one for each dataadapter and i believe that's where I'm going wrong...
View 1 Replies
Jun 24, 2010
What I'm tryin to achieve now is to apply a different layout dependingon which user is logged. However, I cannot do any of this kind of conditional logic in the page itself. What I was thinking was an action filter that tests the current user, and if they are logged in applies one layout to the view and if they are not applies a different layout to the view.
View 6 Replies
Feb 9, 2011
A client has an ASP.NET website with master pages and a layout directory.
What we need is 2 different layouts on the site. Can I easily have two layouts with different master pages on the same site?
What's the best way to do that?
View 2 Replies
May 19, 2010
I am a .Net developer with almost 4 years of experience. Until now I have been using tables for creating layouts of my websites and I am quite experienced with this technique. I have been trying to design table less (CSS based) designs for the past few months and I have acquired a lot of knowledge about CSS. However, I feel that if the design is very complex or needs out of the box thinking than I am unable to create such layouts. I have read many books and seen many videos but most of them will create layouts of designs that are fairly straight forward and not too complex. Can anyone guide me to a complete book or training that can satisfy my needs and also teach me the thought process behind implementing CSS layouts.
View 4 Replies
Feb 17, 2011
For our next project (a small app in ASP.NET/C#) we have to create drag and drop zones in the UI so that components/widgets can be dragged and dropped and layouts can be changed dynamically (for example, the user should be able to switch between two-column to a three-column layout from the front end). After doing some searching, I got to know that there are two approaches: Use Web parts and Content-zones. Using jQuery.
I also learnt that jQuery approach is preffered, but I would like to know how can I create such zones in my application and also save these zones per user (in the D so that when the new request comes for that user their preferred layout is displayed? I basically want to know if there are some tutorials on creating persistable drag and drop zones using jQuery.
View 3 Replies
Nov 15, 2010
Is this a defect with Razor nested layouts?
View 3 Replies
Mar 27, 2011
i am using mvc3 and razor view engine,
when i request login page, the page views in master page. i do not want to this. because i am making an admin page so the page must be free from master page.
i will design a new page for login that included username and password inputs.
aspx view engine includes Page Inherits="System.Web.Mvc.ViewPage but razor view does not include
View 1 Replies
Mar 10, 2010
I'm after a bit of advice on how to handle a multi tenant site in ASP.NET from a UI perspective. What I want to be able to offer is a choice of layouts to the client i.e.
Layout 1: Navigation horizontal at the top. Search results in a table in the middle. Some text at the bottom.
Layout 2: Navigation vertical on the left. Some text in the middle. Search results at the bottom
Layout 3, Layout 4, Layout x etc...
Each element within the various layouts can differ too. For example, the search results might look like simple list in Layout 1, but will have a completely different look in Layout 2. Once a client has decided on Layout x, I then need to apply their company identity to the layout by changing the colours, logos, etc.
View 3 Replies
Jun 7, 2010
I've been worked with web services so far, and I'm interested in expanding my services to console applications as well so I started digging up with WCF but I'm conserned that I won't be able to use the HttpContext collection that I've been used to do with web services one important thing which is to generate a random value from HttpContext.Current.Request.ServerVariables["ALL_HTTP"] that I need to reckon if it's the same or at least near what machine that is calling my service. How can I overcome this problem?
I need to know what machine is calling to count the number of attempts to login into my system for example. So must do it inside of the svc code otherwise if I let the client inform what ip address or what computer he is using, anyone could forge this argument and surpass by another machine. May be I'm approaching this matter wrongly. And I should count the number of attempts per state session, but how is it done?
View 1 Replies
Apr 28, 2010
simplify the look of buttons,layouts son we can simplify the look of a site for smartphone?The idea is to represent links instead of buttons and to replace any loyout to just the left in order to be better viewable in a smartphone,
View 2 Replies
Feb 2, 2010
I am beginner to ASP.NET MVC.
We are doing project in Asp.Net MVC and Nhibernate.
How to seperate my project in to layers ? how to design classes ?
should i followany patterns ? repository patterns ?
View 3 Replies
Apr 22, 2010
Our corporate intranet is designed so that each web application is a child application in the primary application.. Everything has worked fine with Visual Studio 2008 and even in 2010 running the website locally works great, the output directory for the child apps is ..in and the ProjectName.dll copies to that directory.. When I do a publish however it does not and I have to manually copy the dll from the bin folder in the project folder to the parent bin folder, this isn't hard of course but more of a pain in the butt each time I need to publish something. I made sure the output directory is correct for both debug and release yet on publish is just copies it to the child bin and not the parent bin as needed.
View 2 Replies
Mar 20, 2010
I have a page inside my folder ( say Admin Folder , Page1.aspx ) and I want to use the Master Page which is placed Outside the folder.
with Intellisense I am getting like this ~/Mymaster.master", but at run time it is throwing an error.
View 4 Replies
Aug 4, 2010
I got a Master page and nested master pages in the subfolders.
Top Level Master page
Second Level Master page inherited Top Level Master page
Third Level Master page inherited Second Level Master page
However, changes (i.e. new images & alt. name) that I made in the Top level master page did not apply to the second or third levels.My webpage has a correct front page but not in the sections. How can i correct this ?
View 3 Replies
Feb 2, 2010
I am working on masterPage/sub masterpages, all worked fine until this morning.When I open a .aspx which uses masterpages, in the design view it shows the error message..
I've checked both master pages several times, all tags are matched and visual stuido itself doesn't indicate any errors. Also in debug mode the html page is generated without any problems..
View 10 Replies