Timeline for Showing/hiding deletion buttons in a grid view
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 20, 2012 at 13:05 | history | migrated | from stackoverflow.com (revisions) | ||
Jul 20, 2012 at 4:06 | comment | added | jamietre | Given that the point of this is to show and hide controls like a delete button, I think it is safe to assume it's interactive. | |
Jul 20, 2012 at 4:04 | comment | added | Jerry | @jamietre: `because of low latency & minimized data transfer,' in my first answer, i suggest this solution if it does NOT need interactivity. If no interactivity, then no latency and no data transfer at all. | |
Jul 20, 2012 at 4:01 | comment | added | Jerry | This depends on your server's hardward and the number of clients. If your server is good enough, and only limited users (for example less than 100) will use the server, it will work well. | |
Jul 20, 2012 at 4:00 | comment | added | jamietre | I haven't used webforms in a while but I remember gridview/listview being a huge pain to manipulate the individual row data in any way other than simple templating actions from the server. His demands here aren't excessive, this seems reasonable to do on the client. Templated grid controls that run entirely on the client are common these days and they actually perform a lot better than server models because of low latency & minimized data transfer, the only reason he had a performance problem was due to an egregious error with a selector. | |
Jul 20, 2012 at 4:00 | comment | added | TurdPile | Server's are generally much faster than a personal computer. | |
Jul 20, 2012 at 3:58 | comment | added | Tuscan | But, If we talk about overall performance which process will be faster? | |
Jul 20, 2012 at 3:54 | comment | added | Jerry | ASP.NET rowdatabound run on the server, JS run in the browser. Your question is to optimize JS code, this can only affect the performance in browser, not the server side. If you use ASP.NET rowdatabound, you use the server to do the job, and leave Browser free. So your program's performance in browser is got optimized. | |
Jul 20, 2012 at 3:52 | comment | added | Tuscan | ASP.NET rowdatabound is too slow. I dont think that will help because i am trying to improve my application performance | |
Jul 20, 2012 at 3:49 | history | answered | Jerry | CC BY-SA 3.0 |