I need an update panel but I don't want it to affect performance. Update panels make my web application slow, and I don't know why?
Is update panel dangerous, and how I can fix my problem? Is there any good solution for partial rendering?
There's a great article here: UpdatePanel Tips and Tricks which illustrates some of the pitfalls and ways to use it better.
I loathe the ACToolkit. Knockout.js is easy to use and fast. A much better solution IMO.
Related
How to set priority(like send to back) for iframe?
I'm suffring this problem recently, it costs me a lot of time and I find no solution about this.
this article lists some disadvantages about iframe in flex
http://www.deitte.com/archives/2008/07/dont_use_iframe.htm
another way to embed rich text, i think, is to use TextFLow, in RichText, you could easily find good examples in API
however, iframe is still useful, when developer actually want it on top. Using it with TitleWindow is a good idea. (correct me if i'm wrong)
If anyone have a better idea, please hit me, I will greatly appreciate
I am a quite new to web development and I am trying to do some small form updates without causing a postback. For example making a control visible when a drop down list is changed.
I have so far come across some features that achieve this like the RequiredFieldValidator inside an update panels. However, these are specific to a single task.
What are my options to achieve these client side updates in Visual Studio? At the moment I don't know any JavaScript, so I would prefer another solution if it exists.
If you don't know JQuery you should or at least any other Javascript library this will give you an edge and also pump up your resume. The learning curve of these JS frameworks is so short that you'll be creating awesome UI's in no time. I suggest that you take at least two hours to get to know JQuery you won't regret it.
Here's a few great article on using ASP.NET with JQuery:
http://dotnetslackers.com/articles/ajax/using-jquery-with-asp-net.aspx
http://www.dotnetspark.com/kb/1532-gridview-and-jquery-asp-net-tutorial.aspx
http://www.beansoftware.com/ASP.NET-Tutorials/Using-jQuery-ASP.NET.aspx
Here are a few of the best tutorials on JQuery:
http://www.ajaxline.com/best-jquery-tutorials-march-2010
For display functionality like you have described, javascript really is the best solution. Take a look at jQuery, it makes writing javascript a lot easier, and you should be up and running with it in no time for tasks like your basic show/hide functionality.
Unfortunately, AJAX stands for 'Asynchronous Javascript and XML' so getting this behaviour without using Javascript is going to land you in a bit of a pickle.
Update Panels do work and are very easy, but they're also very slow in comparison as even if you only see the contents of your panel update, the entire ASP page has to be executed.
I'd urge you to take a deep breath and head over to JQuery.Com and practise the tutorials there. Javascript is easier then you think and JQuery takes a lot of the hardships of cross-browser compatibility out of the picture, leaving you to focus on the real tasks.
Good Luck!
I have been using the Infragistics UltraWebGrids for a few years now in multiple products, but have reached a crossroads with them. I have been looking into the Telerik products and they appear to perform better than the Infragistics grids in the demos.
The following are the things I'm looking to know.
1. Which would you use and why.
2. Which grid performs better.
3. Which product is quicker to implement.
4. Which product is easier to maintain.
Go Telerik. And if you get 80 more rep at the time of writing this you might get a free license.
https://meta.stackexchange.com/questions/20849/thanks-to-both-stackoverflow-and-telerik-for-the-awesome-promotion
I use Telerik at work. I use to use Infragistics a while back. Telerik is way easier to use and seems fast enough for me. I never had performance issues with them.
Clearly Telerik!
I work with their controls for years - and also with some competitor suites (what shall I do if the customer....)
Anyhow telerik was the best I ever used.
And it's so easy to use this thing - I blogged about it.
http://manni-at.spaces.live.com/blog/cns!82CF2A6C0D0C6F3C!224.entry
Last not least you will see the same editing cappabilities with their Silverlight suite sooner or later. This means there is such an Editor for Silverlight - but (at the moment) it has not all features.
Once I started using Teleriks Suite, I have NEVER looked anywhere else. It has everything I need hands down.
As everyone else has already pointed out Telerik are the way to go - with one caveat - make sure you take the support option too. Their documentation is really bad, the forums are slow (and responses take ages) but their support guys are excellent. Send them a repro and they'll send you back a working version within a day.
There is a couple comments of how bad Telerik's documentation. If you think Telerik is bad, you will most likely go crazy trying to find anything in Infragistics.
This question was asked a while ago but Telerik has came out with KendoUI now. Depending on what you need, I HIGHLY recommend that suite more than any.
See this blog post.
http://www.jerryodom.com/technology/telerik-mvc-infragistics-mvc-on-a-1-day-comparison
Telerik is easier to Infragistics.
And Infragistics MVC control does not "Menu" control yet.
Will anyone suggest good 3rd party controls for asp.net development.
Especially gridview.tabcontrols,treeview.Menu
Please suggest controls which scores well on all points below
Easy development,
good performance in run time.
Less page overhead and less page
objects etc.
faster page loading.
I used few but had bad experience on page performance.
Thanks
Swapna MC
The consensus here at SO seems to be DevExpress. Telerik and ComponentArt are good, too. DevExpress seems to be the fastest performer.
How about "obout" controls.
This is suggested by some one .But i am facing performance issues now.Page load is very slow.I am not sure its the controls causing the problem.
swapna
I have experience with Telerik and DevExpress. As others have noted, DevExpress is probably the fastest; however, I still strongly prefer Telerik. Their big advantage is that they have been around a very long time and have a huge support database. Compared to every other .Net control library I've worked with, theirs is, by far, the easiest to get help for.
Considering that each library will have its own nuances and bugs, going with the one with the most vibrant user community and support forum is a smart move.
One more point, DevExpress's AspXPivotGrid is fantastic. Clients absolutely love pivot grids, and they are a smart move for the first report and clients will cut you a lot of slack when they can build their own reports.
telerik asp.net ajax controls provide a quite rich client-side api. it's their most attractive side for me.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
As someone who is only barely proficient in javascript, is jQuery right for me? Is there a better library to use? I've seen lots of posts related to jQuery and it seems to be the most effective way to incorporate javascript into ASP.NET applications.
I've been out to jQuery's site and have found the tutorials and other helpful information. Any other reference material (i.e books, blogs, etc.) would be helpful.
Thanks!
The great thing about libraries like jQuery and Prototype is that they take care of a lot of the cross-browser kwirks that can make Javascript such a pain to write. Either one of those or maybe even mootools will be good to you, their respective websites being about as good as a resource as it's gonna get.
edit: as far as the 'con' of having extra loading size on your page, I suggest using Google to host these for you. Optimistically, some people will have it cached from other websites, plus Google takes care of versions/compression for you.
Pros: jQuery is a great library which lets you get what you want done in much much much less code, with a lot less hassle. The plugin architecture is incredibly simple, and the community producing plugins is very strong and active. If you can think "wouldn't it be nice if I could..." then chances are there's a plugin for it.
Cons: You are being abstracted away from the raw Javascript. Don't underestimate the effect of this "con". Though working in vanilla JS (that is, javascript without libraries), can be a massive pain, it gives you a much better understanding of what you're actually doing. You might find that your jQuery based solutions could actually be done in vanilla JS with a lot less overhead.
Pros: you don't have to deal with the tangled mess that is cross-platform Javascript compatibility. You don't have to worry about which browsers support standard event handlers and which have their own event systems. You don't have to write two hundred lines of DOM manipulation withHugeLongFunctionNamesFromHell to get nice dynamic pages.
Cons: It's an extra 15KB of code your users have to download the first time they load your page.
I just started using jQuery as well, and have found it to be very helpful. For me, the biggest advantage is having some really nice intellisense in VS for it, and not having to look up every archaic method in the world to accomplish simple tasks. To me, it just seems a lot better organized than plain old javascript, and like someone else said, it has a ton of good built in libraries.
While just beginning to learn JavaScript I looked at the various libraries with amazement. Then I looked more closely at jQuery and was hooked. No longer will I work with DOM without loading jQuery. Not just for websites, jQuery brings powerful utilities, reduced code, and simple handling of local administrator JavaScripts.
Local JavaScripts + jQuery + msHta = awesome interface driven scripts!
For more information about using jQuery on local administrator scripts check out my posts about using jQuery and HTA's...
Chris
Pros: Write less, do more.
Cons: You have to learn it ( only VS gets the intellisense, not the brain [:)] )
If you are interested in jQuery here is a good Review of jQuery Books by Rick Strahl
The biggest thing that I've found helpful in learning jQuery is other people's plugins. I'd find some stuff that you like, and read the plugin code. You may find some pretty cool stuff to learn.
Jquery is also the first javascript framework I used as well. I find the syntax rather use to pick up and the library of plugin and the support from it user very helpful in picking up this language. Although eventually I still continue to borrow books on javascript, I felt jquery is perhaps a good way to show the power of javascript.
If you are only looking for javascript tool that is browser compatible and quite small in size to do DOM manipulation and ajax, then jQuery might be the one you are looking for.
But jQuery is lack in these two areas:
Fullblown widgets (Think of extjs). Note: jQuery-UI is not as complete and quite slow.
Object oriented support (Mootools).
Pros: Cross browser, User friendly function names.
Many plug-Ins.
Only 15KB on the client Side.
Community is pretty huge to guide you.
Easy to work with Services(.svc,asmx) etc. I believe it is wonderful.
Cons:
You may forget JavaScripting
So, I suggest for beginners, learn JavaScripting first and pull your socks for JQuery.