I am in a tough situation, help is highly appreciated.Long story short, I have a view showing around 45 columns(cant avoid) , which has around 500 or more records. This is showed inside a Partial View with 'FOR loop' with a condition. When the column has more than 1 record(make select list , check count [done in Controller]) then show DropdownList else show TextBoxFor. TextBoxFor is calling many Javascript functions - like marking it as Edited , showing tool tip , row highligting, making it as only Numeric TextBox etc. Performance as you would have gussed is really bad , when the records increase beyond 50. It takes 3 minutes to load and 5 minutes to save and reload the page. Using Entity framework for Data , with Lazy Loading, need to create Master/Detail Entities as I am receving Flat records from DB. Tried Performance Analysis from VS 2010 , couldnt attach screen shots as dont have enough points in this site. But I can see Number of calls to HTML.TextBoxFor over 1800 times... Is there any alternative to TextBoxFor which can call Custom Javascript functions
@HTML.TextBoxFor Performance inside Loop
161 Views Asked by user3442852 At
0
There are 0 best solutions below
Related Questions in JAVASCRIPT
- Angular Show All When No Filter Is Supplied
- Why does a function show up as not defined
- I count the time the user takes to solve my quiz using Javascript but I want the same time displayed on another page
- Set "More" "Less" font size
- Using pagination on a table in AngularJS
- How to sort these using Javascript or Jquery Most effectively
- how to fill out the table with next values in array with one button
- State with different subviews
- Ajax jQuery firing multiple time display event for the same result
- Getting and passing MVC Model data to AngularJS controller
- Disable variable in eval
- javascript nested loops waiting for user input
- .hover() seems to overwrite .click()
- How to sort a multi-dimensional array by the second array in descending order?
- How do I find the fonts that are not loading in a CORS situation ( MoovWeb )?
Related Questions in PERFORMANCE
- Slow performance on ipad erasing image
- Can Apache Ant be told to cache its XML files?
- What are the pros and cons of the picture element?
- DB candidate as CouchDB/Schema replacement
- python member str performance too slow
- Split a large query (2 days) into pieces to increase the speed in Postgres
- Use GUI displayed results of SQL query vs new queries?
- fastest way to map a large number of longs
- Bash regular expression execution hangs on long expressions
- Why is calling a function so slow in Javascript?
- Performance of element-compare in java collections
- "Capture GPU Frame" in XCode -- iOS only?
- Efficiency penalty of initializing a struct/class within a loop
- Change the rotating speed of the circle when the mouse moves using javascript
- Replace foreach to make loop into queryable
Related Questions in C#-4.0
- Passing arguments to main in C using Eclipse
- kernel module does not print packet info
- error C2016 (C requires that a struct or union has at least one member) and structs typedefs
- Drawing with ncurses, sockets and fork
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- Configured TTL for A record(s) backing CNAME records
- Allocating memory for pointers inside structures in functions
- Finding articulation point of undirected graph by DFS
- C first fgets() is being skipped while the second runs
- C std library don't appear to be linked in object file
- gcc static library compilation
- How to do a case-insensitive string comparison?
- C programming: Create and write 2D array of files as function
- How to read a file then store to array and then print?
- Function timeouts in C and thread
Related Questions in FUNCTION-CALLS
- Looping operations
- Square brackets after arguments list in JavaScript/TypeScript
- Confusion about variables equaling functions JavaScript
- Does MATLAB calculate parameters unlisted in the result list of arguments?
- R: Identifying vector & dataframe names from function calls
- How to use 'hclust' as function call in R
- A qu. of style: dynamic map JSTL hack to work around missing parameter function calls
- Mutually Dependent Function Declarations in Functions
- Calling Funcs with Pointer Params vs Reference Params
- Macro calling a function without being required (VBA)
- Execute asynchronous javascript code every X seconds
- Not sure why my program seems to be skipping some functions?
- C++ class function in assembly
- How to record the running information of functions in your program?
- Call a function by an external application without opening a new instance of Matlab
Related Questions in HTML.TEXTBOXFOR
- pass empty string when user does not input anything in @HtmlTextboxFor
- Why validation is not working with Html.TextBoxFor but is when using Html.EditorFor?
- Wrong DateFormat with Jquery Datepicker
- Multiple textboxfor, same model. ValidationMessageFor not working
- Submit MVC for with empty Razor TextBoxFor field
- @HTML.TextBoxFor Performance inside Loop
- Add a second item to @html.textboxfor()
- Dynamically set Text and Value of TextBoxFor
- Using textbox for in foreach loop or for loop of the Model
- Html.TextBoxFor input inside for each loop not working
- set textboxfor to accept 2 decimal places
- Hiding the default value for a date
- MVC - null object in model, how do I render textboxfor with this
- How to Remove Client-Side Validation on a textboxfor for multiple emails?
- Change font size for Mvc TextboxFor
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?