SoFunction
Updated on 2025-03-07

aspx does not display an instance of ViewState


html = new ();
             tw = new (html);
             (tw);
             string Temp = ();
             string s1 = , s2 = , s3 = , s4 = , s5 = , s6 = ;
             int i = 0;
             int j = 0;

             i = ("<form");
             if (i > 0)
             {
                 j = (">", i);
                 s1 = (0, i);
                 s2 = (j + 1, - j - 1);
             }

             i = ("<input type=\"hidden\" name=\"__VIEWSTATE\" id=\"__VIEWSTATE\"");
             if (i > 0)
             {
                 j = (">", i);
                 s3 = (0, i);
                 s4 = (j + 1, - j - 1);
             }

             i = ("<input type=\"hidden\" name=\"__EVENTVALIDATION\" id=\"__EVENTVALIDATION\"");
             if (i > 0)
             {
                 j = (">", i);
                 s5 = (0, i);
                 s6 = (j + 1, - j - 1);
                 Temp = s1 + s3 + s5 + s6;
             }
             else
             {
                Temp = s1 + s3 + s4;
             }
             Temp = ("</form>", "");
             Temp = ("\r\n", "");
             ();
             (Temp);