problem about redraw-Collection of common programming errors
ByulTaeng
c# performance forms controls redraw
I have a form that contains a lot of runtime generated controls (image, button, panel,…), about 100 controls (I’m making a card matching game so there is a lot of controls in the form).I place the generating code into the constructor and each time the app starts, it took about 3-5s to load all the controls completely. If I bring another window on top and then back to my app, the controls will be redrawn again. How can I prevent the controls from being redrawn? If you don’t mind, please give me
Alex
javascript jquery jquery-datatables redraw
I have a datatable with few rows, I want to add new row in table :var oTable = $(‘#StudentsTable’).dataTable();Table2.fnStandingRedraw();when I init the dataTable I add :”bProcessing”: true,”bServerSide”: true,”bDestroy”: true,”fnFilter”: true,’bLengthChange’: true,’bPaginate’: true,’bStandingRedraw’: true,after ajax submit I want to redrow the table:submitHandler: function(form) {var $modal = $(‘#ajax-modal’);$modal.modal(‘loading’);$(form).ajaxSubmit({dataType: ‘json’,success: function(result)
Web site is in building