|
I'd recommend to use a JavaScript library that gracefully degrades with browser capabilities (like jQuery) and not rely on Flash, Java, or SilverLight. If you do need to use one of those technologies, the Flash is probably the way to go, though you should pay attention to the last point below.
Also, make sure that you support varying levels of CSS compliance.
Finally, make sure that if you're in the US that it complies with Section 508[^]. If your Web applications don't comply, some school districts won't use it because of federally mandated restrictions.
"we must lose precision to make significant statements about complex systems."
-deKorvin on uncertainty
|
|
|
|
|
Thanks. Good points. I'm planning on standardizing on CSS and jQuery. I don't plan on Flash (I'm not a Flash developer) and I don't plan on Silverlight simply because of the requriement for IT admins to install the client.
Since this is strictly an "internal" app (loosely meaning that I have a very defined set of specific users, not for public use) I am interested in the ability of my pool of users.
Thanks for info about the varying levels of CSS support.
Also, thanks for the info on Sec508. While my current project is for defined business staff I don't think this applies. however, as we begin to offer more and more public info on our site this will be something we need to take into account.
Great stuff!
Matt
|
|
|
|
|
I'm glad I could help.
I work primarily with the Yahoo! User Interface JavaScript and CSS library. I really like it. You can find more information about it at YUI[^].
"we must lose precision to make significant statements about complex systems."
-deKorvin on uncertainty
|
|
|
|
|
Hi Guys,
I am using ASP.Net 2.0 GridView control with more than 4,000 records. In one webform I used 4 views with 1 GridView each. One of these Views has a GridView with more than 4,000 records. And I am also using a repeater. But it is just really frustrating, because it is really very slow. When I clicked the AutoEdit(Edit link) for the 800th record it will postback and I need to find that 800th record again and start changing the cell values, which is not good. Same thing when I clicked Cancel. And by the way, I am using UpdatePanel and no paging method will be used in GridView as part of the client's standards. And also my GridView is inside the Panel control so that there's a Vertical Scroll bar, and it's easier for the user to see all the records from top to bottom using vertical scroll bar.
The following ASP.Net controls I am currently using in this process are:
Multiview, View, Panel, GridView, SqlDataSource, Repeater, UpdatePanel
Structure/Hierarchy:
Multiview1
-----View1
----------Panel1
---------------GridView1(with 100 records)
-----View2
----------Panel2
---------------GridView2(with 150 records)
-----View3
----------Panel3
---------------GridView3(with 50 records)
-----View4
----------Panel4
---------------GridView4(with 4000plus records)
Questions:
1.) How can I load the Page/Gridview fast with more than 4,000 records without using paging method?
2.) How can retain the position when editing a particular row?
I really stumped with this.
Any recommendation?
hifiger2004
modified on Wednesday, March 4, 2009 10:34 AM
|
|
|
|
|
Hi all,
I have an app that is written to support IE 6 and 7.
One mod that I made to it a couple of years ago was to capture the keystrokes via the
document.onkeydown = keyhandler_function;
and then interpreting the window.event.keyCode and performing functionality depending on the key that was entered.
This all worked well and good for over 18 months until someone noticed that there was one circumstance where clicking on a certain control in the document appears to cause the document to lose focus. This means that until I mouse click back in the document someplace, none of my keystrokes are intercepted by the onkeydown redirect.
I have tried debugging this in IE using the script debugger. All I can see from there is that my code doesn't even appear to get control again.
Does anyone have suggestions (aside from dumping ie and getting a real browser like ff ) on what I can do to figure out what is happening?
I would really appreciate any help that would be offered.
Thanks,
Doug
|
|
|
|
|
hi all
I have a BHO program which tracks visitors on websites
what is the best way to collect the data and send it to my database ? (cookies, AJAX, XML, other )
|
|
|
|
|
hey there. kinda new to this only been coding for about 8 months using basic asp and got set a task by a friend to build a chat client using .asp and ajax and javascripts. im trying to refresh the page using something other than meta refresh. the click is annoying people (if you going to point out to me im going agenst the user knowing the page is updating bla bla bla, please go annoy some one else as ive already read about it). i would like a way to update the page with out the click or a flicker. i call the chat information from a database which stores all the chat messages. any ideas would be helpful.
thanks
p.s please keep it simple for me as im new to coding
PETVAMPIRE - NEWBIE
|
|
|
|
|
petvampire wrote: if you going to point out to me im going agenst the user knowing the page is updating bla bla bla, please go annoy some one else as ive already read about it).
take it easy, mate. The first rule of thumb of getting help is humbleness.
petvampire wrote: i would like a way to update the page with out the click or a flicker.
How about timer?
petvampire wrote: any ideas would be helpful.
Hmmm, did you said asp? Well it is doable but not starightforward. Look at this one[^]
Yusuf
|
|
|
|
|
I would advise you to use AJAX. Here is a good article that details different scenarios for its use:
[^]
Good luck - rastaquere AATT gmail
|
|
|
|
|
Hi,
Does anybody know why it's possible for myself and a few of my colleagues to see the tick symbol (✔ - 10004) in IE7 (V7.0.5730.11) but some of my other colleagues using exactly the same browser get a little empty square (presumably as the browser cannot interpret the character entity)? We're stumped.
Cheers,
Chris Chambers.
|
|
|
|
|
Did you check the browsers' character encoding setting? (Tools->Character Encoding).
Yusuf
|
|
|
|
|
Hi Yusuf,
Thanks for your response.
It turns out it was because the tick symbol isn't part of the character entity set in the HTML4 spec, and so it all came down to whether the individual machine contained a font set with the corresponding glyph. There are only a couple of fonts that have that tick glyph (one of which is Arial Unicode MS), and it turns out the machines that displayed the character correctly had the full set for that font installed and the ones that didn't display it correctly only had a subset installed.
In the end we went for a Wingdings tick to get around the problem.
Cheers,
Chris.
|
|
|
|
|
Hi
Im doing a project for uni, testing the performance of a particular database in a web environment with high concurrent users accessing it. My main aim is to find if there is any difference in performance when I change some parts of the code. My question is does it matter if I use a free host with limited bandwidth? Are there any other methods on finding out how to measure the performance of the database with thousands of users accessing it without purchasing a host?
Signed
Poor Student
Please help!
|
|
|
|
|
pluckyducky wrote: My question is does it matter if I use a free host with limited bandwidth?
does the bandwidth given limits you the number of concurrent users you want to test? If no, then there is no issue there.
Yusuf
|
|
|
|
|
I am invoice in php, i made a form in html that includes (textfield,checkbox,textarea,radio button and drop down list) i want that when the user click the submit button all the filled form should be send to specific mail.
even i searched alot in google but i could not find related code.
I need the code in php
Thanks
|
|
|
|
|
|
I have a html File which launches perfectly through the server. I also wrote a cgi which reads the same file, and prints it out via stdout.
At the Client Side I get a fatal Error.
At the Server Side I get the Following Error:
'[Tue Mar 03 02:11:39 2009] [error] [client 127.0.0.1] malformed header from script. Bad header=<html>: Logon.cgi, referer: http://localhost/'
The HTML Code is obviously Correct. Any Ideas?
Regards
Bram van Kampen
|
|
|
|
|
Bram, are you writing the correct HTTP headers before the HTML content?
For example, are you following the HTTP RFC 2616[^], specifically section 6. Response?
If you're just opening the stream and pumping the content of the file to the browser from the CGI, it will fail because it does not have the correct HTTP headers that you need to write into the stream first.
"we must lose precision to make significant statements about complex systems."
-deKorvin on uncertainty
|
|
|
|
|
|
|
Really glad to hear it! Happy coding.
"we must lose precision to make significant statements about complex systems."
-deKorvin on uncertainty
|
|
|
|
|
Hi there,
I'm a beginner when it comes to webpage dev, and asp scripting.
When looking for some assistance regarding a sendmail script for a webpage i am developing, I came across this: http://www.codeproject.com/KB/asp/sendmail.aspx[^]
Upon reviewing it looked to suit my needs, with some modification.
I made the changes (or thought I had) that i believed were required for my site, however when testing the page, I clicked on the "submit" button and was prompted to either save or run the asp file.
below is a copy of the form which contains the submit button
http://www.kamainstream.com/test/email.html[^]
and here is a copy of the asp page
http://www.kamainstream.com/test/asp/sendemail.asp[^]
The site is to be hosted on a Win2k3 SBS Premium server, by my client.
Any assistance is greatly appreciated
Regards,
Michael
KA Mainstream
|
|
|
|
|
Like Christian said in your asp.net forum post, if this is new development consider dropping asp in favor of asp.net. Trust me, I support asp and it is not worth it.
But if you have no choice, then look at this one[^]
Yusuf
|
|
|
|
|
This is a new development, and I am not tied to using asp, however I did find it easier to try and modify, due to my limited experience in doing this.
IF asp.net is better to use then, if possible does anyone know some code that I can use to try and get my button working and emailing to the user listed in the site?
Regards,
Michael
KA Mainstream
|
|
|
|
|
KA Mainstream wrote: IF asp.net is better to use then, if possible does anyone know some code that I can use to try and get my button working and emailing to the user listed in the site?
Emailing in ASP.NET is trivial. I am confused tho ? Either this is your site, in which case you want to do consulting, or it's someone elses site, in which case you're being paid to write a website for people who want to do consulting. Either way, it sounds a little scary to me.
ASP is harder to use, harder to get support for and a flat out nightmare. Move to ASP.NET. Plenty of good books still available, plenty of articles, etc.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|