Jump to content
Xtreme .Net Talk

Recommended Posts

Posted (edited)

Just started with ASP .NET this Saturday and it was the most frustrating experience I ever had. I went to bed Saturday, completely demoralized with the feeling that I had never coded on my life. Really frustrating...

 

Anyway, after 2 full days of bumping the head I managed to setup the website's main structure, I'm now struggling on how to achieve these basic things (well I guess point 3 is not that basic):

 

1 - How can I make the DIV's height fill the browser's available space? I know that setting the DIV to 100% means it will re-size of the div based on the controls within it. So, do I need to code it? How can I get the webpage's height to compute the DIV's height? Will I also need to create an event for that?

 

2 - I need to maintain selected a menu item in the ASP Menu Navigation control when the user opens a new page through it. I need to do this with CSS since I learned that this option: 'IncludeStyleBlock = false' should be set to true. Unfortunately if I set it to true I will loose the 'special' format that the CSS sets it to work with, because I need an extra horizontal space so that text don't get too close for each menu item.

 

3 - To handle a login / session on an ASP website do I need to use a database to handle all users? I don't have a clue how the login works in ASP so, if someone can point me to a good example I will really appreciate it.

 

Web developing is really strange. Seriously, it is a mess, chunks of code in multi languages with most control settings requiring being done in CSS. So much for "visual development". I haven't still figured it out how C# will actually do anything in ASP .NET. I hope to get there soon, once I set up the website's skeleton.

Edited by EFileTahi-A
Posted
Yes, ASP.NET is a little bit hard and confusing. I am also learning it. Come on!

 

If you want to learn and are interested in it, you can learn it well. It is not that difficult. Google is very helpful when you have a problem

Posted
If you want to learn and are interested in it, you can learn it well. It is not that difficult. Google is very helpful when you have a problem

 

And proof of that is that my ASP .NET sessions consist of 85% Googling and 15% actually coding. I just wish it could be the opposite.

  • 1 month later...
Posted

I have to say that one major major MAJOR tip here is:

 

DO NOT USE THE DATASET DESIGNER, EVEN IF YOUR LIFE DEPENDS ON IT!

 

If you do choose to use it, then make sure that your entire application is properly planned before you start and that there is no possible chance that you will ever want to change the data structure afterward.

 

We actually have a poster on our wall in the office with a big no-entry sign over the top of a dataset designer logo and the words "Don't do it - it's not worth it!" written beneath.

 

The long and short of it is that everything becomes terrifyingly complex if you need to change, for instance, a field name further down the line.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...