How To Create A School Site In Static Way
Feb 22, 2010I want to hints for school site how to develope a site in static way like without using database, only pages
View 2 RepliesI want to hints for school site how to develope a site in static way like without using database, only pages
View 2 RepliesSo i was thinking on using an image and a literal control. The questions i have is
1)Is there a better control to use than literal?I am using it because the text would have html and i must render it.
2)How i will achieve putting text beside the picture(the site uses a <strong> as i see in firebug but i cannot view the css and after that everything is simple text and some <br> )?
If i put the literal beside with <strong> and have a specific div size will the text automatically go below when reach the div limit?I'm asking because it will be html so i don't know if it(html) can surpass the main div container.
I have created firstly ASP.NET MVC 2. and write more functionality. After I create asp.NET Dynamic Data Site. now, when I click on run button in Visual Studio, mvc app. opened in browser as [URL]. and asp.NET Dynamic Data Site as [URL]. but i want to merge this app. in one. can I use asp.NET Dynamic Data Site and asp.NET MVC-2 at the same time?
View 1 RepliesI want to create the static website, but the user wants that to create the static website with the functionality that he or she can edit the text directly. I want to use Open CMS,Can Somebody tell me how to install CMS & how to use CMS?
View 1 RepliesI have a method that returns an array of custom class objects that are created by parsing a text file. At the moment every time I use it I am rereading the file which isn't very efficient.
What I wat to do is create an array containing the objects when the page loads and store them in an array which can then be used later.
[Code]....
I thought I could create the static object using something like:
static Album myAlbums[] = readArray("Albums.txt");
but I am getting the following error:
A field initializer cannot reference the nonstatic field, method, or property 'B2M._Default.readArray(string)'
I am new to C# so this is probably something dumb. (Feel free to poke fun in my general direction if this is the case!)
I am needing to have a music player (something like a strip down at the bottom of the page that goes all the way across), that remains at the bottom even when the user navigates to another page within the same site.The purpose of this is to play music on the website no matter where the user goes on the website.
View 1 RepliesI was looking for a solution on how to create a static google map by passing longitude and latitude value through database. What I want to do is to create a static image as PDF conversion requires static image. Thats why I want a static image so that I can convert aspx page into pdf and then email that map to the customer.
View 2 RepliesI am not able to run the tutorials because I don't have SQL express.
I am talking about The Entity framework tutorials.
The original connection strings:
[Code]....
Is it safe to access asp.net session variables through static properties of a static object?Here is what I mean:
public static class SessionHelper
{
public static int Age
{
get
{
[code]...
Is it possible that userA could access userB's session data this way?
I have a private static field in my Controller class in an MVC web application.
I have a static method in that controller that assigns some value to that static field, I want to apply lock on that static field until some other instance method in the controller uses the value stored in the static field and then releases it.
DETAILS:
I have a controller named BaseController having a static ClientId field as follows and two methods as follows:-
public static string ClientId = "";
static void OnClientConnected(string clientId, ref Dictionary<string, object> list)
{
list.Add("a", "b");
// I want the ClientId to be locked here, so that it can not be accessed by other requests coming to the server and wait for ClientId to be released:-
BaseController.clientId = clientId;
}
public ActionResult Handler()
{
if (something)
{
// use the static ClientId here
}
// Release the ClientId here, so it can now be used by other web requests coming to the server.
return View();
}
I did some research after posting. All I found was simple examples for no-layer architectures, like connecting to a database from your aspx page, so, in a corporate environment, it is unnaceptable.
I need to call a server-side method (using ASP.NET Ajax) in a 3-layer architecture.
For example, my Default.aspx contains a method LoadProducts().
[Code]....
[Code]....
This cannot change. There is no way to convert Business and Data layers to static.
How can I call the LoadProducts() method using ASP.NET Ajax?
One of my relatives is going to start a small salon. I would like to develop a small web-site (that is pretty basic: display information, book an appointment, display product/service information, show directions to the salon, etc). I can use a XML file as a basic data storage and am not intended to use any database for this. I can deal with the coding development of the web site, but I have not developed any web-site independently and have no detailed knowledge about how to host the site, etc. factors. I also would like to know that whether it's possible to develope such a web site using ASP.BET (Visual Web Developer) with NO cost?
View 8 RepliesI follow the tutorial and creted a web site for my company sales system. One of my collegue mention we use the wrong templet, we should use Web application for company application.Should i continue using web site or change to web application? We are creating application for company sales, inventory, hr ,etc where possible more than 1000++ user. And during month end, it will be high traffic and transaction. can Web Site Template with BLL and DAL handle it? or i just need a powerful server?
View 7 RepliesI have a question about C Sharp ASP.NET:Is there a difference (in code speed, resources) between:public static variable declared in public static class MyGlobals in a 'Code File' template;and the variable declared in a normal 'Class File' template;I use this variable in 2 different Class Files and also in _Default Page codebehind cs file.In fact in my case I need about 20 global variables of type List<string>.
View 9 RepliesI have a domain with name of http://MainDomain.com I want to create a site in this site and this site contains 14 sub domains there. I need a structure of sitemap which contains all sub domains. The list of sub domains
is given below. Any suggestion is welcome...
http://MainDomain.com (Main Domain)
http://Sba.MainDomain.com
http://sbaloan.MainDomain.com
http://sbaloans.MainDomain.com/
http://sbalenders.MainDomain.com/
http://commercialrealestatefinance.MainDomain.com/
http://commercialrealestatelenders.MainDomain.com/
http://commercialmortgages.MainDomain.com/
http://commercialmortgagerefinance.MainDomain.com/
http://commercialloanlenders.MainDomain.com/
[code]...
i plan to create a WAP site with VS 2008 by New 1 normal web application project, ist doable?are the things i should take care about is:- make sure the header of html is xhtml?- no using session to pass info? is all the C# code like that call database will work like normal asp.net?
View 4 RepliesI'm using ASPMaker to create a content site editor. It analises the database and creates automatically the pages(list, edit and add) for all DB tables. But ASPMaker is limited to customize the resources and design.
I need any easy and fast way to create this content editor in ASP.Net C#. Can someone indicate a software or any easy way to use Visual Studio 2008?
We have a website intended for students to enter their project information. The website will have 6 modules and each module will have about 7-8 webpages to enter data.
Now the client want to get a report of the project. Now we have about 6 modules and hence the total pages will come around 40. We developed a crystal report for showing this . It had around 60-70 subreports since we have around 40 pages!!!!and it was a painful way to create the report. Also the report took a lot of time to load....
We did it like this.... For each page a subreport... and we fill a dataset in the aspx page and assign it.... phew it was a bit of crazy stuff!!! at the end there were too datasets and the page went to database several times!!
I have my website created on asp.net and upgraded to 3.5.Now I need provide mobile site to some customer, I have no idea where to start. It seems the asp.net support on mobile web site is not quite clear. There are some introduce and guide, but they are not clear and some links are broken.I just want a most easy way to create a mobile version of my web site,
View 4 Replieswhats the exact use of static variables in overall programming in .net and for asp.net...
Recently i went for the interview where interviewer asked me 2 question which i was not sure for the same..
whats the use of session object, i said sessions are the server side object, they are used when you want to store user specific data at server side, then he asked what if i want to use static variables for the same, i was mum, can anyone tell me how asp.net will behave if i store the user specific information in static variables.If i use cookies which are the best option to store the data at client side (not sensitive one), but what if user has disabled cookies on his machine, will my application would crash.
Is there a way to be able to create a new database when a company signs up to my site, and be able to use that database when he/she logs in, so for example if company A logs in he uses CompanyA database and if company B logs in he uses Company B database, now they all have the same table structure, just need to figure out a way to use a specific database depending on the user that logs in.
View 2 RepliesI want to create small ecommerce site with sign up and log in pages. there are two categories jeans and T- shirt
I want to create category pages and product pages but I dont understand how to form tables in database means exactly how
many tables required for this application and how all tables are connected to each other ( how to make relationship in tables)
when particular user sign in and select particular pages how it will added in his cart.
I just want to be able to create a site that will allow users to insert/update/delete information from the site and the information will be recorded on the SQL DB.
Went through couple of Videos and Tutorials, it can't be that complicated?
how to create a web site using c#(not used asp.net) ,xml,xsl,xquery ,xpath ,jquery
View 3 Replieshow to create a user as administrator using web site administration tool
View 1 Replies