When any controversy shall arise about the rights of the respective owners in partition fences, or their obligations to keep up and maintain the same in good repair, and if they cannot agree among themselves, either party may apply to the fence viewers of the township in which such fence may be situated, who, after a reasonable notice to the other party, shall proceed, on application as aforesaid, to view such fence, and assign to each party, in writing, his equal share or part of such partition fence, to be by him kept up and maintained in good repair; which assignment shall be recorded by the register of deeds of the county in a book to be provided for that purpose, and shall be final, conclusive and binding upon the parties, and upon all the succeeding occupants of the lands, and they shall be obliged thereafter to maintain their respective portions of said fence.
K.S.A. 29-304