asp.net|treeview| Break the DateTime here (2004, 7, 11) is the expiration time of the control. Simple to say, in fact, to find it is still a few twists and turns. Based on the clues above, I found the corresponding IL code in the NineRays.Web.UI.WebControls.FlyTreeView.IL file that was disassembled with the ILDASM tool as follows:
. Method private Hidebysig specialname rtspecialname static
void. cctor () CIL managed
{
Code size (0x13)
. maxstack 4
Il_0000:ldsflda ValueType [Mscorlib]system.datetime global::trial_expire_date
IL_0005:ldc.i4 0x7d4
il_000a:ldc.i4.7
Il_000b:ldc.i4.s 11
Il_000d:call instance void [Mscorlib]system.datetime::.ctor (Int32, Int32,int32)
Il_0012:ret
}//End of method Global::.cctor
The 0X7D4 in the code is the hexadecimal 2004, I don't want to be greedy, change it to 2050, hexadecimal is 0x802f
Do not forget to delete the IL code starting part similar to the following code before saving
. PublicKey = (00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00//. $ ...)
00 24 00 00 52 53 41 31 00 04 00 00 01 00-01 00//. $ RSA1 .....
CD-0E 7C cd 6F of b...| 2C//. Oq.,a.. ED
AC E3 CF 6A C5 C3 FF 7C AC 1D//... yj. I ..... R| ...
9B E0 5F AD CE F4 E7 E5 EC 9F C9 4 b E4//. _. (G .....) K.
9E C7 C2 B8 C4 ED F6 AA-FA A3//1....9%......x.
5 a C0 F4 7B F9 3F D1 A8 A9 B7 BF//ZG. {D... d....t
9E 8D FC B3 A9 5C 7A A3-EB B6//..... R.\z7 .....
9D A5 8B 7A 1C-DA 5C ED 0B 7A B1 BA z...\ 3F//... Zr .....
C6 2F DD F3 B0 4 b AF F4 BD)//r./p.5d .... K....
Again with ILAsm recompile NineRays.Web.UI.WebControls.FlyTreeView.IL and its ancillary files, a cracked NineRays.Web.UI.WebControls.FlyTreeView.dll then produced. With Visual Studio. NET opens a sample site Flytreeview for Asp.net\samples in which the installation files are automatically created when you install Flytreeview. Remove the NineRays.Web.UI.WebControls.FlyTreeView.dll from the project reference, and then add the reference again and select the cracked NineRays.Web.UI.WebControls.FlyTreeView.dll. L
Finally, regenerate the samples project and test the sample site in the browser.
In addition, this article I directly edited online, I feel that the Web Editor's changes are still more successful than the last use of more comfortable. However, the middle in conversion design and HTML
When you catch the page automatically return, there will be HTML code appearing in the design
The situation on the interface, fortunately I understand a little mechanism, immediately put the relevant code back, it will not be all over again.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.