{"id":6057,"date":"2014-04-12T02:56:44","date_gmt":"2014-04-12T02:56:44","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/12\/problem-about-redraw-collection-of-common-programming-errors\/"},"modified":"2014-04-12T02:56:44","modified_gmt":"2014-04-12T02:56:44","slug":"problem-about-redraw-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/12\/problem-about-redraw-collection-of-common-programming-errors\/","title":{"rendered":"problem about redraw-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/970a5b859014ff1ea55cfb553d79aab6?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nByulTaeng<br \/>\nc# performance forms controls redraw<br \/>\nI have a form that contains a lot of runtime generated controls (image, button, panel,&#8230;), about 100 controls (I&#8217;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&#8217;t mind, please give me<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/07123541fba3343f9ddb5876595b99a7?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nAlex<br \/>\njavascript jquery jquery-datatables redraw<br \/>\nI have a datatable with few rows, I want to add new row in table :var oTable = $(&#8216;#StudentsTable&#8217;).dataTable();Table2.fnStandingRedraw();when I init the dataTable I add :&#8221;bProcessing&#8221;: true,&#8221;bServerSide&#8221;: true,&#8221;bDestroy&#8221;: true,&#8221;fnFilter&#8221;: true,&#8217;bLengthChange&#8217;: true,&#8217;bPaginate&#8217;: true,&#8217;bStandingRedraw&#8217;: true,after ajax submit I want to redrow the table:submitHandler: function(form) {var $modal = $(&#8216;#ajax-modal&#8217;);$modal.modal(&#8216;loading&#8217;);$(form).ajaxSubmit({dataType: &#8216;json&#8217;,success: function(result)<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ByulTaeng c# performance forms controls redraw I have a form that contains a lot of runtime generated controls (image, button, panel,&#8230;), about 100 controls (I&#8217;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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6057","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6057","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=6057"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6057\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=6057"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=6057"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=6057"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}