.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

Editing Site Design While Live.

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


I am looking for a tutorial or more information on creating a Templating system to allow a user to edit the template of a ASP.Net website, Such as creating his or her own 'Skin'.

It would be great if anyone could point me in the right direction. 

View Complete Post

More Related Resource Links

Master Pages: Master Your Site Design with Visual Inheritance and Page Templates


Master pages in ASP.NET 2.0 solve a problem many Web developers have been solving on their own with a variety of techniques for years - providing a single master template for an entire site. This article covers the details of master pages, discussing their usage and implementation and how they are a natural evolution of custom techniques developers are using today.

Fritz Onion

MSDN Magazine June 2004

Editing a resource file is not reflected in the site?



I am editing core.resx file which is located at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Resources location.

I am changing :

<data name="cui_ButNoteBoard">
    <value>Note Board</value>


<data name="cui_ButNoteBoard">

Basically I want to customize the dialog box which appears on click of the comments icon present on the right side of the page header in SP 2010. I want to change the title of one tab in dialog box(from 'Note Board' to 'Comments').

But the change is not reflected in the tab title. Am i missing something here or updating the wrong resource file?

Please guide.



throw exception message giving internal server error on live site


using vb.net/asp.net 2005

when a user enters a bad email I am doing a check on this and throwing an exception message as follows, this works fine on the test site but for some reason the same code on the live site gives a "internal server error" (http code 500).  The code below:

            If isThisEmailValid(strEmailThatTheUserEntered) Then
		'do something


                Throw New Exception("You entered a bad email address.")

            End If

not certain why this is happening, I assume that it's some server or config difference between the test and live sites.  has anyone seen this before?  For a quick fix i'm registering javascript alert and showing the same text so it works but I would like to figure out why the code above is not working.

as always, thanks for your feedback


Multiple Sharepoint site design


Hello All,

My company uses standard license MOSS2007 in our corporate network. There is another network “production” that corporate users do not have access to.

I would like to create an additional site in production network using my existing standard license. The purpose if this is to limit corporate users access or even to see the site.


Is that possible? I don’t have a deep knowledge of a SharePoint so forgive my lingo and please provide details when responding.




Having Problems creating a development copy of a fairly complex live site, sharepoint 2007


Hi All,

I have inherited a sharepoint distribution from a previous set of contractors, which I am now trying to set up for a developer hired to fix a few bugs in custom code.
This sharepoint installation consists of a farm that includes the following: - Not Configured - Windows Sharepoint Services Incoming E-Mail, Windows Sharepoint  Services Web Application - Central Administration / Excel Calculation Services / Office Sharepoint Server Search / WSS Incoming email / WSS Web App - Office Sharepoint Server Search / WSS Incoming email / WSS web app

SQLCluster - WSS Database

I have a development machine with a single install of sharepoint / mssql 2005 that I would like to set up as a test server for code/database changes

I set out thus to export (stsadm -o export etc.) a copy of the live site, and import it into my test server. This gave me a lot of errors regarding features, which I looked up to be custom solutions that were not installed, so I installed those, and attempted the import again, this time another error regarding features missing. I checked the features/template directory and noticed on live there are a few features that are not listed in the solutions panel, these look to be mostly custom webparts

login is redirecting to live site...


When I login to my site in visual studio, it used to login to the local machine. Now for some reason I don't know, I'm being redirected to my live website. What should I check for this?

Also, on my live site, 2 logins aren't working.  They were working earlier today. My administrative login and one of my other logins. I'm told that the credentials are incorrect when this is not the case. I know exactly the credentials and I have my table open with sql server management studio. I'm staring right at them and getting the wrong login error message.

Silly me. These logins were deactivated by accident when I recently deactivated a number of bounced emails. Problem solved.



Is there anyway to know the absolute path for site root i design time?


Hi there,


I have an user control that reads the data from app_data folder and does some processing.

In design time I'd like to show the row data in control placeholder (using GetDesignTimeHtml).

To do that I need to figure out the absolute path to app_data folder on my project.

The HttpContext is not available and HostingEnvironment.MapPath returns null.


Is there anyway to solve the problem?




Workflow for the creation and editing of sites within a site collection


Hi there.

How would you go about creating a workflow for the creation and editing of sites within a site collection?

I'm assuming users would have different roles such as Approvers and Authors.


Return My Site to it's original design

I need to return the My Sites section of my intranet back to the original "out of the box" design that came with the installation. In site actions under "Site Theme" I changed the site to a self-designed theme used on the main site, this theme didn't work (main links/picture omitted) and now can't change back. Under Select a Theme I only get the option I have. The "Reset to site definition" doesnt' bring back the original design and I've tried this in Designer aswell.
The only way I can see of fixing this is re-linking the original default.master and then making my changes.  But where can I get this code?

Design Tips for a strange site?


I have been tasked to create  site for our trainers to upload items into their “portfolio”

Only the individual trainer, and the supervisors should have access to the individuals material.


I was thinking of doing a separate library and page for each individual trainer as to keep permissions simple.


Can anyone think of anything that might make a more effective site for this design?

live connections in sharepoint 2010 server site


How to find out number of live connections in sharepoint 2010 server site(intranet and internet)?

I Mean command for find out  active session(how many users accessing site?) on sharepoint server sites?

intranet and internet

can we findout using netstat command?please guide me

tel me options for findout users session

Thanks Mohan Periyasamy

Best Practices For Making Responsive Design Look Nice on Your Site

Designing a website featuring a respective layout has become a necessity that is hard to ignore. In fact, after the release of Google's mobile-friendly algorithm the demand for responsive web design has increased to a great extent. But remember that, a responsive design is more than compressing and expanding. A correct respective web design is one that makes a website accessible on countless devices based on the width of the screen of the device.

Abstract Factory Design in C# , Vb.NET

Provide an interface for creating families of related or dependent objects without specifying their concrete classes

Prototype Design Pattern in C#. Vb.NET

Specify the kind of objects to create using a prototypical instance, and create new objects by copying this prototype

Adapter Design Pattern in C#, VB.NET

Convert the interface of a class into another interface clients expect. Adapter lets classes work together that couldn't otherwise because of incompatible interfaces.

Singleton Design Pattern in C#, Vb.NET

Ensure a class has only one instance and provide a global point of access to it.

Changing the graphics on the home page of a SharePoint site

When you create a site in Microsoft Windows SharePoint Services by using the default Team Site template, the home page includes two default graphics. A Windows SharePoint Services graphic appears in the body of the page, and a picture of a house in a circle appears near the site title. You can change these graphics to customize your site. Changing the smaller graphic requires a Windows SharePoint Services compatible Web page editor
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