|
Any ASP.NET project should be at least three projects, the presentation layer, the middle tier, and the data layer. Having your programmers work on multiple projects that represent parts of the presentation layer is a terrible idea, IMO. Doing that without having the seperation of n-tiered development would be even worse.
You put all the files in source control, and each programmer checks out the bit they are working on.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
hi all,
i have major issue with the web site i am developing.i have a main page which has some menus and in that main page i have placed an where i will be displaying all the content(there are separate content pages) depending on the menu item selected by the user.but the problem is that i have to set the height of the iframe, but what actually i want is to change the height of the iframe according to the page i load into it.i want all this to avoid the scrollbar for the iframe.
is there any way to do this.
hope to hear from you soon
thanks
Vinod
|
|
|
|
|
This is the absolute oposite to how the iframe is built to work, but you can do it using javascript. Determine the size of the contents of the body, and use that to resize the iframe.
---
b { font-weight: normal; }
|
|
|
|
|
I am trying to use LDAP authentication in ASP. Is it possible, please help.
siddhu
|
|
|
|
|
Hi there,
You can use the IP*Works to connect the LDAP server, then you can authenticate the login user. For more information, you can see an article:
http://aspalliance.com/638[^]
|
|
|
|
|
Hi Thanks a lot, but I am looking out for code in classic ASP (pre-ASP.Net)
siddhu
|
|
|
|
|
Does he have a version for classic ASP?
|
|
|
|
|
I am maintaining some legacy applications written in .ASP.
The problem: they are using the application object to store cache information in. This was fine until these webs were installed on Widnows 2003 which uses the worker processes. This means that the application object is no longer shared on a website level, but on a worker proces level.
Is there anybody that has a solution for this (other than the obvious: move to asp.net and use cache())
I am open for products that can solve this issue as well.
|
|
|
|
|
Hi there,
In IIS6, the worker process isolation mode is selected by default, however, you can switch it back to the IIS 5.0 isolation mode by setting a true value for the metabase property IIs5IsolationModeEnabled . Doing so can make your application work in the same way as with the version 5.x of IIS, however, you cannot take advantage of the improvements provided in IIS6. If it works, it should be used temporarily until you find another solution.
|
|
|
|
|
Thanks, i thought about this solution, but will this not limit the .net functionality used in other sites on the same server?
This settings should have been site-specific; that is what i really need.
|
|
|
|
|
Unfortunately, this setting is server-specific as II6 cannot run both isolation modes at a time on the same machine. That also means it will prevent other sites from using the features supported by II6. We may think about another work-around.
|
|
|
|
|
Using either ASP/ASP.Net/Jscript/HTML is there a way that from an HTML page I can open another web page and get the HTML of *that* page as a string that I can pass to a control for editing?
I am specifically using the FCKeditor and the .value property of that control. I'd like to pass it the HTML of another page so that page can be edited. (I did try looking at the SourceForge site but was not able to find anything that specifically answered this.)
Along those lines using the same technology can the edited stream then be written to disk as a new html page?
- Rex
I know you can't become if you only say what you would have done and you'll miss a million miles of fun." - Len
Work hard, play hard. Don't forget who you are and don't forget where you're from. Do all these things well and you won't have to wonder where you are going.
|
|
|
|
|
|
Being pretty new to all of this on the web I can execute that code in a web page so long as the server is supports ASP.Net right? Just stick that code into an aspx and go with it?
I know you can't become if you only say what you would have done and you'll miss a million miles of fun." - Len
Work hard, play hard. Don't forget who you are and don't forget where you're from. Do all these things well and you won't have to wonder where you are going.
|
|
|
|
|
|
I am quite new. I'm a desktop and systems developer of 8 or more years but web stuff is *very* new. I'll go read before I hurt myself. Thanks for the link. If you have any others for ingorant newbie web developers let me know. I've written thousands upon thousans of socket level lines of code but UI stuff in web browsers is all greek.
Thanks a bunch and I'll take any other good reads you might be sitting on.
I know you can't become if you only say what you would have done and you'll miss a million miles of fun." - Len
Work hard, play hard. Don't forget who you are and don't forget where you're from. Do all these things well and you won't have to wonder where you are going.
|
|
|
|
|
Code Frog wrote:
If you have any others for ingorant newbie web developers let me know.
Sure. Basicaly everything from http://msdn.microsoft.com/asp.net/[^]. I wish I had time to read it all! Maybe start with Quick Start or "Get started" or whatnot... For HTML,XML and other markup related things, W3C[^] is something like Bible . Also check out Trenton Moss' articles[^] (mainly about web usability). Actualy there is way much more good articles about web dev.. And my favourite mr. know-all-fix-all is Google. I am sure I failed to mention something important, but nobody is perfect.
Hope it helps.
David
|
|
|
|
|
Hi there,
For the menu on my site I have a simple table with a couple of td's which contain text (the menu items). I would like to change the background and text color when the mouse hovers over the the td (not over the text!). Besides that, the complete td should be a link, not only the text. How can this be done?
Thanks in advance!
/matthias
I love deadlines. I like the whooshing sound they make as they fly by. [Douglas Adams]
|
|
|
|
|
Set display:block on the links and specify the size so that they fill up all the area you want. Now you can use the hover effect on the links. (Internet Explorer only supports hover on links.) As the links are blocks, you don't even need the table any more.
Example:
css:
.Menu { width: 150px; }<br />
.Menu a { display: block; width: 100%; height: 25px; line-height: 25px; }<br />
.Menu a:hover { background: #666; color: #fff; }
html:
<div class="Menu"><br />
<a href="asdf">asdf</a><br />
<a href="asdf">asdf</a><br />
<a href="asdf">asdf</a><br />
</div>
---
b { font-weight: normal; }
|
|
|
|
|
Hi Guffa,
thanks for your reply. I didn't know about the display css property. Unfortunately, my menu should be a horizontal one. But display:block; adds a linefeed before and after the item. Besides that, I wanted the text within each block vertically bottom aligned. So I guess I have to use a table. Any more ideas? Besides, here is a site[^] which has done quite what I want, but I don't seem to understand the sources, at which I had a look (they are using ul and li elements!).
Thanks again.
/matthias
I love deadlines. I like the whooshing sound they make as they fly by. [Douglas Adams]
|
|
|
|
|
display:block does not add any linefeeds. Maybe you have some problems with extra spaces that does not fit anywhere else. Also, sometimes Internet Explorer has some strange ideas about how much space an element needs.
To make a horisontal menu, just put an absolute width on the items and use float:left to make them line up beside each other in the div. You can use padding to move the text down.
.Menu { height: 30px; }<br />
.Menu a { display: block; float: left; width: 100px; height: 15px; padding-top: 15px; }<br />
.Menu a:hover { background: #666; color: #fff; }
CSS good. Tables baaaaaad. Table tags should only be used to create tables, and avoided in all other cases. Mainly for the reason that using tables for layout makes you build web pages in oldfashioned ways.
---
b { font-weight: normal; }
|
|
|
|
|
Hello,
We have a product with n tier architecture, which is working properly in Windows 2000. And in windows 2003 it's giving some problem. When we investigated the event viewer, it looks like problem in IIS.
So, Is there a problem in IIS in win-2003 environment. If so, how do we debug the problem.
Restarting the IIS will give the temporary solution.
thanks,
Zxczc
|
|
|
|
|
Your question is very vague. You haven't even said what kind of problem it is, what it is that happens or not happens, if you get any error message...
There is of course quite a few differences between IIS 5 and IIS 6, one thing for an example is that the security is quite tighter by default.
You have to supply some more information about the problem, though. Otherwise one could only guess what it is, and give random pointers to common problems.
---
b { font-weight: normal; }
|
|
|
|
|
Hi:
Your description does not seem to carry any of the error messages that you may have encountered on screen or as logged in System EventLogs.
If you could get on with these, some of us might be able to investigate into the issue and arrive at a solution for the same.
Deepak Kumar Vasudevan
Personal Web: http://vdeepakkumar.netfirms.com/
I Blog At: http://deepak.blogdrive.com/
|
|
|
|
|
Hi all,
I think firefox browser ignores attachEvent(). I used it "onLoad" of window but nothing happened.If anyone can please suggest some alternate way of attachEvent()?
Regards,
Sankar
|
|
|
|