Hristiyan wrote:
I'm creating my own "web shop" using .NET ( + JS, AJAX, SQL, CSS )
It would be very helpful to learn the basics of HTML. While you can build web application with out knowing too much about it, but getting the basics will help a lot.
Hristiyan wrote:
My experience has thought me that, the maximum logic exported in the SQL Server, the better
I agree. But you may also have some business logic that do not belong at the db layer. I like to create business logic layer and database layer.
Hristiyan wrote:
AJAX should be used for "partial updates of the page" and soooo on.
you could do a whole lot more with AJAX than partial page updates.
Hristiyan wrote:
.... i actually never read a good way of doing so! What is the right way to position a control in yout web form? ( I saw video lessons in which they places a 1row, 1 column table on the form and inside it they palced the control. I really, really dont think thats right )
Like I said, learning about HTML will help you clarify this sort of issues. you can use tables to position your controls. If you look into some of the web controls, like grid control, they get rendered as table.
Hristiyan wrote:
Than we create web controls needed
what do you meant by this? There are a number of web controls provided to you out of the box. If none sasifies your need, you can create your own web control.
Hristiyan wrote:
Question 3: There is a "logic" that i'm quite curious about. For example we have a search form in which by special criteria the records are listed. For example a query is executed and 1000 results are returned. Its natureal that only 20 records can be displayed and the other are calculated as "number of pages" ( 1,2,3 .... 50). When the user wants to click on page "3" is another query executed or are the results chached when the first query is executed ( in the current Session ) and the "page 3" displayed records taken from the chached data ?
Look at GridView. It can do all what you said. ;-)
Hristiyan wrote:
If i have defines access rights "administrator", "moderator", "user" the control ponals for each of this user types must be different ( or ... the administrator must have the admin + moder + user panels, the moderator must have the moder + user and the user can have only user panel ). That means that "the page must be different for each of this types".
There are two ways of doing this ( in my point of view ). First is to develope pages that inherit the base page, set "special access" ( authorization ) to those pages and implement the panels (and other logic). I really don't like that way.
The second is simply to generate different control panels based on the "special access" ( no pages are created for each type )
Is there another approach ? Please give me some advice.
Look at asp.net membership.
I think you are in a right track. you may want to pick good asp.net book and you will find most of your questions answered.