|
A couple of eLance websites should help you out giving a comparison chart.
|
|
|
|
|
You need to define the problem more clearly.
This is a "medium-size" project: www.codeproject.com[^]
This is a "mega-size" project: www.myspace.com[^]
The original version of Myspace was probably made in a week and cost was next to nothing. The current version of Myspace is a constant project, and costs millions to operate. Codeproject was probably fairly well-built and had taken a lot of time and money when it went online, but probably hasn't changed very much since then (they got it right the first time). My point is: "medium-sized" means nothing in this world. It's not a matter of perspective either. There is no such thing as a web site's "size". What you want to know is the development cost and other requirements, and you want this as a prediction. Even with a detailed description of the problem, an estimate like that is nearly impossible to make. Your requirements must be refined. As the problem is currently stated, I wouldn't touch it for less than $20K, but it's possible that you need something way more simple than $20K will buy - it's also possible that you need something more than that and you don't know it.
Also, if you read this:
http://en.wikipedia.org/wiki/Web_portal[^]
You will see that the term "web portal" is not clearly defined, so what you have in your head envisioned as a "web portal" may be completely different from what I might think it is. The company I currently work for is right here:
http://www.exitplanningforadvisors.com[^] - Large-size URL, but it's a medium-sized project overall. Most of the guts of it are behind security though.
|
|
|
|
|
hi all,
small question and hope to find an answer for it.
in my site i read and write news from and to database table,
in the news describtion label
how to make the width of th label fixed so that if the text line is too long it appears on many lines according to the width i choose.
i tried to set width property for the label not working,
i tried to put the label inside panal and set width property for the panal not working
div width table width all that is expanding and the text is too long as it is
plz help
Mr Emash
|
|
|
|
|
How about a Scrollable Div?
|
|
|
|
|
i tried the div but it is also get wider
|
|
|
|
|
Hi
Try using css word-wrap property
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
|
|
|
|
|
Hi,
I am trying to create my own custom providers.
I am using the Microsoft SQL providers as refference.
What i want to do is to make a set of providers which works with my own database schema.
Key points to my changes is that GUID will be replaced with an incremental Int for Primary key / Id, and i want my code to be based on the id fields instead of a username (which is currently how it works).
I have read the documentation for the Membership and Profile Providers.
In the Sql Profile provider from Microsoft the GetPropertyValues and SetPropertyValues methods are the central part, they both have an Input parameter of type SettingsContext which contains Username (username or userId according to documentation) and IsAuthenticated.
How do I make it "contain" the UserID instead of Username ?
Is there anyway to control what is in the SettingsContext collection ?
As far as I see it, it will never contain the UserID (or at least i dont know how to make it contain the userid), but probably it will contain the random generated username for an anonymous user. But please let me know how to make it use the userId as mentioned in the documentation.
Will I ever be able to make this work or am i better of creating something to "stand-alone" which isnt intended to be used in the provider model ?
If it is not recommended to create new providers, can anyone recommend an approach to creating my own "framework" for controlling users/login and such.
I was thinking of creating something very similar.
Is there some way I can register a class (maybe in the webconfig) which will run when asp.net is running, like etc. the Profile provider soo i dont have to create a new instance on every page load (and get connection string and such, but which is loaded first time it starts (asp.net/iis) and then ready for use/access all the time).
Is there any security issues i will need to think about ?
I was wondering how the build in Membership system stores if a user is logged in or not. Is the username or userid just saved in a session variable ?
I am also thinking about if i make my own framework is there any way to make it work with the existing panels or will i have to create new panels ? (for an example to determine content to show the user if the user is logged-in or not and if the user if one role or another), and what about the way you can control access to your website through the webconfig by specifying which roles have access. Is it possible to make my own "framework" work together with this ?
Hope someone can help
Best regards
Martin From
|
|
|
|
|
What is wrong with creating stored procedures and databinding or using ADO in the normal way?
|
|
|
|
|
Hi,
I am using Fusion Charts in my c# app but am having some trouble trying to reference a javascript file in my asp.net user control I had it working ok until I changed the Default.aspx page(overall navigation of the app) and now for some reason it doesn’t work anymore just wondering if anyone has any ideas this is how the file was referenced before and worked ok.
Here is the error is received…..’FusionCharts’ is undefined….
Thanks in advance
Tim
|
|
|
|
|
This is just a guess, but it seems that you have moved your page to a different directory. I am pretty sure that error is saying it can't find the FusionCharts folder.
So say you have your root folder,
off of root is fusioncharts folder,
off of root is also a Static folder in which you have the page that is getting this error.
you would need to change the path for that page to "../FusionCharts/FusionCharts.js"
Anyway just a guess.
Ben
|
|
|
|
|
I don't know if this will work for you, but what I do is add my javascript from serverside code.
For example, I'll have webApp\scripts\default.js.
Then I use the following function when I need to add the script to a page.
<br />
private void AddScriptToPage(string fileLoc)<br />
{<br />
HtmlGenericControl script = new HtmlGenericControl("script");<br />
script.Attributes.Add("type", "text/javascript");<br />
script.Attributes.Add("src", ResolveUrl(@fileLoc));<br />
this.Page.Header.Controls.Add(script);<br />
}<br />
<br />
protected void Page_Load(object sender, EventArgs e)<br />
{<br />
AddScriptToPage(@"/Scripts/defaults.js");<br />
<br />
} <br />
|
|
|
|
|
I have done that before as well. A very good suggestion.
Ben
|
|
|
|
|
thanks for ur help but i tried to use this function and recieved this error message
"A control cannot modify its parents' control collections"
this.Page.Header header was not an option on my page so i just used
this.Page.Controls.Add(script);
im using vs 2003 and the javascript is referenced from a user control that may be that prob
this is the project layout if its any help
Javascript
ProjectFolder/FusionCharts/FusionCharts.js
Control referencing javascript
ProjectFolder/SportsScience/View/TestFusionCharts.ascx
|
|
|
|
|
Create the function to add the javascript as public in the aspx page. Then call the function from the user control. You can pass it the name of the js file in a parameter if you choose.
|
|
|
|
|
do u have any idea if the .js file needs to be referenced in the .aspx file or the user control file
|
|
|
|
|
Pls how do I set a web page size to be relative to the monitor screen width and height.
Or even make it equal to the screen width and height
Thanks.
Fikunmi Feyijin
Hicad Systems
Nigeria
|
|
|
|
|
Use percentages in your CSS.
eg:
body {
width:80%;
margin-left: auto;
margin-right: auto;
}
(the margin styles will also centre it)
|
|
|
|
|
Use relative definitions for width and height for various HTML entities. Web browser would best adjust the page for screen resolution.
|
|
|
|
|
Hello
I need to display html tags on the page. But when I display html tags it is rendering in browser. so how can i display html tags ? is there any tags which won't render the text inside it ? I don't want to convert < to < and > to >
Any idea
|
|
|
|
|
AFAIK the only way to do it is use < and >.
|
|
|
|
|
You have to convert. The LT GT tags have special purpose meaning for browsers to indicate a markup right?
|
|
|
|
|
You don't have to actually fix it yourself. There is a Utility class for HTMLEncoding.
System.Web.HttpUtility.HtmlEncode
Use that to do your encoding, then put your code inside <pre> tags.
"Quality Software since 1983!"http://www.smoothjazzy.com/ - see the "Programming" section for freeware tools and articles.
|
|
|
|
|
My customers want a print button and I've found how to do it using javascript - window.print() etc
However, I cant find a way to call the javascript function without causing a postback. (I can do it without a postback using just straight html & javascript)
Is there a way to solve this problem ? (Is this even a problem ?)
|
|
|
|
|
Can you post the code for the button? My guess is your using an <asp:button> element, just use a straight element instead, it shouldn't cause a postback. If that doesn't work add 'return false;' to the onclick event of the button.
|
|
|
|
|
Well actually the button is on a 3rd party control (a toolbar).
There are other buttons on the toolbar (which sits in an .ascx on the parent page). Some of the other buttons raise events on the parent page.
The way I got it to work is to take the value of the toolbar click event and if the value is "print" I use a literal control:
TabPageLiteral.Text = "<script language=javascript>window.print()</script>";
So you think I should try this - TabPageLiteral.Text = "<script language=javascript>window.print(); return false;</script>";
|
|
|
|