C# - How To Design This Best
Jan 28, 2011
On my pages I sometimes have a tab menu with the following HTML:
<div class="tabWrapper">
<div class="tab tabSelected"><a href="artworkHome.aspx">Home</a></div>
<div class="tab"><a href="#">Create New</a></div>
<div class="tab"><a href="#">Help!</a></div>
<div class="clear"></div>
</div>
Different groups of pages have different tabs obviously. But what is the best way to write these tabs onto a page without manually doing it with HTML each time, so that if I want to add a tab I don't have to go through each page ensuring they are all the same?Should I make my own control? What is the best way to load these tabs in a modularised way? Should I have a class which holds all the tab groups and builds the HTML?
View 3 Replies
Similar Messages:
Feb 23, 2010
can't connect to sql 2005 express sp1 and vs is also sp1. 2) Which my guess is because of the database connection not being able... design view is not able to pull in the application for design, it's as if there is no theme and css just white background and black print.
View 1 Replies
Feb 27, 2011
I installed Rad Controls. Using that controls, I designed my application pages. At design time, the design is not visible. It shows the following error:
RadTabStrip1Failed to create designer 'Telerik.Web.UI.RadTabStrip, Telerik.Web.UI, Version=2010.1.415.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4'
View 2 Replies
Dec 30, 2010
I'm about to design my Web service API, most of the functions of my API is basically very simular to my web application. Now the question is, should I create 1 single method and reuse them for both the web application and the web service api? (This seems to be the logical solution, however its very complicated; it's much easier to duplicate the method used by the web application, and keep both separate, ie one method for the web application and one method for the web service.)
1) REUSE: one main method and reuse them for both web application and web service application (I like this but it's complicated)
WebAppMethodX --uses-->
COMMONFUNCTIONMETHOD_X
APIMethodX ---uses---->
COMMONFUNCTIONMETHOD_X
ie Commonfunctionmethod_x contains reusable set of common features
PRO: less code, less maintenance, less bugs.
CON: very complicated
2) DUPLICATE: two methods, one method for the web application and one method for the web service.
WebAppMethodX
APIMethodX
PRO: simple
CON: duplication = more code, more maintenance, more bugs!
View 4 Replies
Jan 5, 2010
in my project the design view is not viewed, but the project is working well and good .. the only issue is i cant see my design view ..
error stated is ""Cannot switch views: Validation (Internet Explorer 6): Element 'Style' cannot be nested within element 'td'.""
View 2 Replies
Jun 21, 2010
I am doni. I need help in developing a website. I can able to fit layouts. using the following codes.
<div id="nav">
<ul>
<li><a>About Us</a></li>
<li><a>Home</a></li>
<li><a>Services</a></li>
<li><a>Contact us</a></li>
</ul>
</div>
Since <a> tag has redirection (href) property. using that we can redirect page. But I need to preform operation in code behind page (Default.aspx.cs)
View 3 Replies
Sep 27, 2010
i have followed GridView in my ASP.Net Page:[URL](Made by mine designer in Photoshop).(The header Background is a file)I tried a lot, but it seems very very hard to design this.Here is my code:
<asp:GridView ID="itemsGrid" runat="server" AllowPaging="True"
AutoGenerateColumns="False" AllowSorting=true
DataSourceID="imeiEntryDataSource" OnRowDataBound="gvItems_RowDataBound"
[code]...
View 2 Replies
Feb 8, 2011
We are moving from ASP.NET Web Forms to MVC 2.0. In most of our projects we have a typical setup to communicate with a database.
Common (objects/entities like 'SiteMenu' and 'Users')
Business Logic Layer (with calls to de Data Access Layer)
Data Access Layer
The DAL has a DatabaseHelper with common database operation, an OdbcHelper with database specific operations (eg MySQL) and a StoredProcedure class with all the stored procedures.
How is this design translated into a repository design? We want to use our own database helpers instead of NHibernate etc.
View 1 Replies
Dec 6, 2010
how to Design web program (asp.net) ? I'm used to WinForm Design when i drag any control to the screen - He did not refuse me but in asp.net (web Design) the control Do not want to settle where i want. i came from the WinForm world and now i do my first steps in the WebForm.
View 3 Replies
Oct 4, 2010
I am working with a financial application and am looking for the best solution for designing my application.
We have 100's of stored procedures where most/all of our business logic sits. We have WCF web services projects built using Web Service Software Factory (http://servicefactory.codeplex.com/). We have stored procedures built for nearly everything (tables, dropdowns, etc..) and each of these stored procs have their own webservice exposed to be called by the web application. Each web service is a very simple method that calls the stored procedure with the exact paramaters of the web service. I am not too sure if this is the best design and would like to ask for suggestions and alternatives to the design. Does anyone else have a similar environment ? How is it implemented on your end ?
View 2 Replies
Nov 9, 2010
how to get what you design to look like when you publish or view the website? What I design and then view, does not always come out correctly.
View 3 Replies
Dec 17, 2010
Looking for design recommendations in asp.netwhat be better to use for design controls on the screento put controls in table ? or absolute position for the controls ?what is better to use ? What all developers use ?
View 4 Replies
Jan 14, 2011
I am totally lost with this one. I made a site with a Site.master, ChildMaster.master, and a few web form(Welcome screen, About page, etc). Use a main.css page for formatting perpose. Here's the problem. My welcome screen I've done with Design screen and everything is perfect but as soon as I debug and send it on site, nothing matches, the 2 columns wich should be side by side VERTICALLY are HORIZONTAL... Tried every tricks I know and changed just about every code lines and it just comes back all crooked. Any gourou out there got an idea what in hecks name is going on?
View 1 Replies
Mar 6, 2011
I want to design a database of chemical material. As every body knows that the chemical material has more than 20 variety of features such as color, molecular weight,temperature,pressure,pH, etc. I learn that all of features was designed into description item in some database,but I think it is not an easy way to research. As a good SEO principle,I expect material can be searched by many items, could you tell me how i improve that design,
View 6 Replies
Nov 18, 2010
I'm using ASP.Net and Crystal Report. I want to make a report that fill in a pre-printed from. Ex : Invoice...
I try to set form as a background image then I fill it with report's component. It is success. But when I deploy to customer it is not match. I think reason is the printers. So I want end user can adjust the component's position on web. It is the same Simulsoft Report.Web software or I need change the component's position only.
View 6 Replies
Aug 11, 2010
1) I have images (.png) with transparen backgrounde,which is draw by my designer suppose name of image is Col1.png 2) I also have few images with fabric design. suppose name is fabric1.jpg/png 3) Now i want to create new image with same design as Col1.png with fabric1.jpg/png design.
View 1 Replies
Feb 3, 2010
I guess the title gives most of my question away, I have a university project in which I must design and create a website in php or asp.net I have chosen the asp.net path since I am pretty familiar in php and I prefer C# to php.. Could someone please reference some good online places to visit to do some further learning, and recommend some books
View 4 Replies
Jul 20, 2010
I am using asp.net and c#.
I have a some classes. Some of the classes are having same methods insert, update and delete.
Each insert will insert different data to different table. (same for update and delete). What type of pattern can be applied for this kind of class.
View 3 Replies
Nov 4, 2010
While designing (and then implementing) a layered application:
Is it correct to use the same ORM objects accross all layers? (which would go against encapsulation).
Or the presentation, business and data layer should each have their own objects? (which would lead to lots of code repetition).
e.g. (just to illustrate the question): if one uses Linq to SQL in the Data Layer and Visual Studio's O/R designer to generate the ORM objects, are those objects supposed to be used in the Business and Presentation Layers as well.
i.e.: Are the objects associated with the entities that the application handles a crosscutting issue?
View 1 Replies
Oct 7, 2010
So i am using visual studio 2008, asp.net 3.5, with the basic toolkit provided. Now i have made the gui which a lot of functionality but the design is very basic. nd looks too old. I need to give it a new look, a new feeling new designs. like the gridview, the buttons the textboxes, the menus look basic. this is not working for me. let me how should i go about doing this?
1) i have herd about tool kits but dont kno which ones are good..(dont want the really expensive ones) but if it is really good my company is ready to spend.
2) will the new VS 2010 or asp.net 4.0 make a difference.
3) The ajax toolkit or silverlight toolkit is any good?
4) i also need to show Charts and graphs now, currently using MS charts.. but now i need which is good.
View 2 Replies
Mar 13, 2010
i m new with ASP .net and I dont know how to create master page with ASP .net
View 5 Replies
Jan 18, 2011
I am very new to application design, how and from where should i start to design application
View 3 Replies
Apr 27, 2010
what are design patterns and UML diagrams with best examples. How we should use in real time scenarios. Recurring iam facing these type of questions in project round.
View 5 Replies
Feb 18, 2010
I'm experimenting with LinqToSql and the MVP pattern and having trouble setting on a good design. I'm using Asp.net 3.5 (not MVC) Here is a example
public interface IMyBusinessCardView
{
string Field1 { get; set; }
string Field2 { get; set; }
string Field15 { get; set; }
}
public class MyBusinessCardPresenter
{
private IMyBusinessCardView _view;
private MyBusinessCard _myCard;
public void ViewClickedSave()
{
_myCard.SaveNewBusinessCard(_view);
}
public void LoadView()
{
_myCard.LoadMyBusinessCardToView(_view);
}
}..........................................
View 3 Replies
Nov 5, 2010
How to design a dropdown on XSLT? I need a dropdown with four valuesoption 1option 2 option 3 option 4I have the following on the XSLT
<div>
<select>
<option value="option1">Option 1</option>
<option value="option2">Option 2</option>
<option value="option3">Option 3</option>
<option value="option4">Option 4</option>
</select>
</div>
I wanted to pass the selected value from the dropdown to the asp.net
View 2 Replies