Click to See Complete Forum and Search --> : Help with some basics please


iowastudent09
01-22-2011, 01:46 PM
Hi, I have developed website a few years ago in JSP. I am given a new project by a company to develop a web application (getting rid of desktop application and putting on web), so I am trying to redesign it in a great way. I want to have main buttons for big programs on the left panel, so when you click one, the button turns different color, maybe goes flat (if you know what I mean), and then that button will reload a new page, which will have the same left menu, but a lot of new buttons on top of the page, and these buttons on top of page when clicked will just retrieve SQL queries, only loading the middle of the page where the queries will be displayed, as opposed to the whole page. Is this possible without using Ajax? Also, will this make it too slow, considering some of the queries will be very big. I want to make it as neat as possible and as easy as possible for the user, even though I am very new to ASP and these kinds of designs. I have never had any experience with Ajax, so if that's needed, I will need to learn.

So all I want it main buttons on left panel, shape changed, color changed, will they need pictures and things like that, or can I do this in CSS/HTML? And each of those buttons will load a new page with a lot of new tabs on top, and those tabs on top will for example fill out an application, retrive customer list, but will not reload the whole page... on the middle. How do I go about doing this?

Ribeyed
01-26-2011, 05:33 AM
Hi,

Firstly you can't have part of an asp page refresh without Ajax. ASP being server side only there is no way to rebuild the page without either sending it back to the webserver for processing or using some client side coding; Ajax, javascript.

Ajax is based on javascript and and allows asynchronous calling to the sebserver which will give you the ability to sent part of the page back to the server for processing without having to refresh the page.

If you have big queries you should make sure you utilise optomized stored procedures/functions.

ALl your cosmetic questions can be achieved using CSS; colour/style changes etc.

Side note.. I don't think I've ever seen an asp tab control, I guess you can build it with styled buttons and divs but its a bit of **** to do.

I would recommend you consider ASP.NET than classic ASP if your thinking about intergrating AJAX into your website.

regards


Ribs