100% found this document useful (2 votes)
45 views

ASP NET AJAX programmer s reference with ASP NET 2 0 or ASP NET 3 5 Dr. Shahram Khosravi - Download the ebook now for an unlimited reading experience

AJAX

Uploaded by

bokoradra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (2 votes)
45 views

ASP NET AJAX programmer s reference with ASP NET 2 0 or ASP NET 3 5 Dr. Shahram Khosravi - Download the ebook now for an unlimited reading experience

AJAX

Uploaded by

bokoradra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 54

Visit https://ebookultra.

com to download the full version and


explore more ebooks or textbooks

ASP NET AJAX programmer s reference with ASP NET 2


0 or ASP NET 3 5 Dr. Shahram Khosravi

_____ Click the link below to download _____


https://ebookultra.com/download/asp-net-ajax-programmer-s-
reference-with-asp-net-2-0-or-asp-net-3-5-dr-shahram-
khosravi/

Explore and download more ebooks or textbooks at ebookultra.com


Here are some recommended products that we believe you will be
interested in. You can click the link to download.

Professional IIS 7 and ASP NET Integrated Programming Dr.


Shahram Khosravi

https://ebookultra.com/download/professional-iis-7-and-asp-net-
integrated-programming-dr-shahram-khosravi/

Beginning ASP NET 2 0 Chris Hart

https://ebookultra.com/download/beginning-asp-net-2-0-chris-hart/

Beginning ASP NET 2 0 AJAX 1st Edition Wallace B. Mcclure

https://ebookultra.com/download/beginning-asp-net-2-0-ajax-1st-
edition-wallace-b-mcclure/

Professional ASP NET 2 0 XML Thiru Thangarathinam

https://ebookultra.com/download/professional-asp-net-2-0-xml-thiru-
thangarathinam/
Learning ASP NET 3 5 2nd Edition Jesse Liberty

https://ebookultra.com/download/learning-asp-net-3-5-2nd-edition-
jesse-liberty/

Programming ASP NET AJAX 1st Edition Christian Wenz

https://ebookultra.com/download/programming-asp-net-ajax-1st-edition-
christian-wenz/

Foundations of ASP NET AJAX Expert s Voice in Net 2nd


Edition Robin Pars

https://ebookultra.com/download/foundations-of-asp-net-ajax-expert-s-
voice-in-net-2nd-edition-robin-pars/

ASP NET 4 0 in Practice Daniele Bochicchio

https://ebookultra.com/download/asp-net-4-0-in-practice-daniele-
bochicchio/

Introducing Microsoft ASP NET Ajax 1st Edition Dino


Esposito

https://ebookultra.com/download/introducing-microsoft-asp-net-
ajax-1st-edition-dino-esposito/
ASP NET AJAX programmer s reference with ASP NET
2 0 or ASP NET 3 5 Dr. Shahram Khosravi Digital
Instant Download
Author(s): Dr. Shahram Khosravi
ISBN(s): 9780470109984, 047010998X
Edition: Pap/Dig
File Details: PDF, 8.65 MB
Year: 2007
Language: english
ASP.NET AJAX Programmer’s Reference
with ASP.NET 2.0 or ASP.NET 3.5

Dr. Shahram Khosravi

Wiley Publishing, Inc.

ffirs.indd v 8/25/07 2:41:01 AM


ffirs.indd iv 8/25/07 2:41:00 AM
ASP.NET AJAX Programmer’s Reference
with ASP.NET 2.0 or ASP.NET 3.5
Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxix
Chapter 1: AJAX Technologies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Chapter 2: JavaScript Base Type Extensions. . . . . . . . . . . . . . . . . . . . . . . . 27
Chapter 3: Built-In and Custom Exception Types . . . . . . . . . . . . . . . . . . . . . 53
Chapter 4: JavaScript Object-Oriented Programming and
Type Reflection Extensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Chapter 5: Event Programming Extensions . . . . . . . . . . . . . . . . . . . . . . . . 131
Chapter 6: DOM Extensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
Chapter 7: Component Development Infrastructure. . . . . . . . . . . . . . . . . . 219
Chapter 8: Developing Client Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . 281
Chapter 9: Event Bubbling and Button Client Control . . . . . . . . . . . . . . . . 323
Chapter 10: Type Description Extensions . . . . . . . . . . . . . . . . . . . . . . . . . 349
Chapter 11: Data Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407
Chapter 12: Client-Server Communications. . . . . . . . . . . . . . . . . . . . . . . . 457
Chapter 13: Consuming Web Services Via Soap Messages . . . . . . . . . . . . 511
Chapter 14: Consuming Web Services Via JSON Messages . . . . . . . . . . . . 535
Chapter 15: Proxy Classes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 597
Chapter 16: Behaviors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 659
Chapter 17: Script and Extender Server Controls . . . . . . . . . . . . . . . . . . . 707
Chapter 18: Web Services Bridges and Transformers . . . . . . . . . . . . . . . . 773
Chapter 19: UpdatePanel and ScriptManager . . . . . . . . . . . . . . . . . . . . . . 857
Chapter 20: Using UpdatePanel in User Controls and Custom Controls . . . 911
Chapter 21: Page Life Cycle and Asynchronous Partial Page Rendering . . . 965
Chapter 22: ASP.NET AJAX Client-Side PageRequestManager . . . . . . . . . 1033

Continues

ffirs.indd i 8/25/07 2:41:00 AM


Chapter 23: Asynchronous Partial Page Rendering:
Server Side Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1105
Chapter 24: Asynchronous Partial Page Rendering:
Client-Side Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1179
Appendix A: XML Script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1275
Appendix B: Binding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1325
Appendix C: Actions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1341
Appendix D: Data Control. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1357
Appendix E: Templated Controls. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1381
Appendix F: ListView . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1409
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1481

ffirs.indd ii 8/25/07 2:41:00 AM


ASP.NET AJAX Programmer’s Reference
with ASP . NET 2.0 or ASP.NET 3.5

ffirs.indd iii 8/25/07 2:41:00 AM


ffirs.indd iv 8/25/07 2:41:00 AM
ASP.NET AJAX Programmer’s Reference
with ASP.NET 2.0 or ASP.NET 3.5

Dr. Shahram Khosravi

Wiley Publishing, Inc.

ffirs.indd v 8/25/07 2:41:01 AM


ASP.NET AJAX Programmer’s Reference
with ASP.NET 2.0 or ASP.NET 3.5
Published by
Wiley Publishing, Inc.
10475 Crosspoint Boulevard
Indianapolis, IN 46256
www.wiley.com
Copyright © 2007 by Wiley Publishing, Inc., Indianapolis, Indiana
Published simultaneously in Canada
ISBN: 978-0-470-10998-4
Manufactured in the United States of America
10 9 8 7 6 5 4 3 2 1

No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any
means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under
Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the
Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center,
222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for per-
mission should be addressed to the Legal Department, Wiley Publishing, Inc., 10475 Crosspoint Blvd., Indianap-
olis, IN 46256, (317) 572-3447, fax (317) 572-4355, or online at http://www.wiley.com/go/permissions.
Limit of Liability/Disclaimer of Warranty: The publisher and the author make no representations or warranties
with respect to the accuracy or completeness of the contents of this work and specifically disclaim all warranties,
including without limitation warranties of fitness for a particular purpose. No warranty may be created or
extended by sales or promotional materials. The advice and strategies contained herein may not be suitable for
every situation. This work is sold with the understanding that the publisher is not engaged in rendering legal,
accounting, or other professional services. If professional assistance is required, the services of a competent profes-
sional person should be sought. Neither the publisher nor the author shall be liable for damages arising herefrom.
The fact that an organization or Website is referred to in this work as a citation and/or a potential source of further
information does not mean that the author or the publisher endorses the information the organization or Website
may provide or recommendations it may make. Further, readers should be aware that Internet Websites listed in
this work may have changed or disappeared between when this work was written and when it is read.
For general information on our other products and services or to obtain technical support, please contact our
Customer Care Department within the U.S. at (800) 762-2974, outside the U.S. at (317) 572-3993 or fax (317) 572-4002.
Library of Congress Cataloging-in-Publication Data:
Khosravi, Shahram, 1963-
ASP.NET Ajax programmer’s reference / Shahram Khosravi.
p. cm.
Includes index.
ISBN 978-0-470-10998-4 (paper/website)
1. Active server pages. 2. Internet programming. 3. Web site development.
4. Ajax (Web site development technology) 5. Microsoft .NET. I. Title.
TK5105.8885.A26K538 2007
005.2'76--dc22
2007024239
Trademarks: Wiley, the Wiley logo, Wrox, the Wrox logo, Wrox Programmer to Programmer, and related trade dress
are trademarks or registered trademarks of John Wiley & Sons, Inc. and/or its affiliates, in the United States and
other countries, and may not be used without written permission. All other trademarks are the property of their
respective owners. Wiley Publishing, Inc., is not associated with any product or vendor mentioned in this book.
Wiley also publishes its books in a variety of electronic formats. Some content that appears in print may not be
available in electronic books.

ffirs.indd vi 8/25/07 2:41:01 AM


About the Author
Shahram Khosravi, Ph.D., is a senior software engineer, consultant, author, and instructor specializing
in ASP.NET, Windows Communications Foundation (WCF), ASP.NET AJAX, Windows Workflow Foun-
dation (WF), IIS7 and ASP.NET Integrated Programming, ADO.NET, Web services, .NET, and XML tech-
nologies such as XSD, XSLT, XPath, SOAP, and WSDL. He also has years of experience in object-oriented
analysis, design, and programming, architectural and design patterns, service-oriented analysis, design,
and programming, 3D computer graphics programming, user interface design, and usability.

Shahram is the author of the following four books: Professional ASP.NET 3.5 and .NET 3.5 Programming
(ASP.NET Internals plus ASP.NET AJAX, IIS 7.0, Enterprise Library Application Blocks, Windows Workflow
Foundation, and Windows Communication Foundation), ASP.NET AJAX Programmer’s Reference with ASP.
NET 2.0 or ASP.NET 3.5, Professional IIS7 and ASP.NET Integrated Programming, and Professional ASP.NET
Server Control and Component Development. He has written articles on the ASP.NET, ADO.NET, .NET, and
XML technologies for the industry’s leading magazines, such as Dr. Dobb’s Journal, asp.netPRO magazine,
and Microsoft MSDN Online.

ffirs.indd vii 8/25/07 2:41:01 AM


ffirs.indd viii 8/25/07 2:41:02 AM
Credits
Senior Acquisitions Editor Production Manager
Jim Minatel Tim Tate

Development Editor Vice President and Executive Group Publisher


Brian MacDonald Richard Swadley

Technical Editors Vice President and Executive Publisher


Alexei Gorkov Joseph B. Wikert
Darren J. Kindberg
Sam Judson Project Coordinator, Cover
Dan Maharry Adrienne Martinez
Cody Reichenau
Proofreader
Production Editor Ian Golder
Eric Charbonneau
Indexer
Copy Editors Jack Lewis
Kathryn Duggan
S. B. Kleinman Anniversary Logo Design
Richard Pacifico
Editorial Manager
Mary Beth Wakefield

ffirs.indd ix 8/25/07 2:41:02 AM


ffirs.indd x 8/25/07 2:41:02 AM
Acknowledgments

First and foremost, I would like to greatly thank Jim Minatel, the senior acquisitions editor on the book,
for giving me the opportunity to work on this exciting project and for all his support and guidance
throughout the process. Huge thanks go to Brian MacDonald, the book’s development editor. I greatly
appreciate all your input, comments, and advice. Thanks, Brian, for everything! Special thanks go to the
book’s technical editors; Alexei Gorkov, Darren J. Kindberg, Sam Judson, Dan Maharry and
Cody Reichenau. Thank you gentlemen, for all your input and comments.

Additional thanks go to Eric Charbonneau, the book’s production editor. Thanks also go to
Kathi Duggan and S.B. Kleinman, the copy editors; as well as Ian Golder, the proofreader.

ffirs.indd xi 8/25/07 2:41:02 AM


ffirs.indd xii 8/25/07 2:41:02 AM
Contents

Acknowledgments xi
Introduction xxix

Chapter 1: AJAX Technologies 1


Google Suggest 1
XMLHttpRequest 4
XML 16
JSON 20
object 20
array 20
string 20
number 21
null, true, and false 21
ASP.NET AJAX 24
Installing the ASP.NET AJAX Extensions and ASP.NET Futures 25
Summary 25

Chapter 2: JavaScript Base Type Extensions 27


ASP.NET AJAX Array Type Extensions 28
add 28
addRange 29
clear 29
clone 30
contains 30
enqueue and dequeue 31
forEach 33
indexOf 34
insert 35
parse 36
remove 36
removeAt 37
ASP.NET AJAX Boolean Type Extensions 37
ASP.NET AJAX Date Type Extensions 38
ASP.NET AJAX Object Type Extensions 38

ftoc.indd xiii 8/20/07 8:54:40 PM


Contents
ASP.NET AJAX String Type Extensions 39
endsWith 39
startsWith 40
trim 40
Formatting 41
ASP.NET AJAX Error Type Extensions 41
create 41
popStackFrame 45
Under the Hood of popStackFrame 48
Summary 52

Chapter 3: Built-In and Custom Exception Types 53


ASP.NET AJAX Built-In Exception Types 53
ArgumentException 53
ArgumentNullException 56
ArgumentOutOfRangeException 58
ArgumentTypeException 60
ArgumentUndefinedException 64
InvalidOperationException 66
NotImplementedException 66
ParameterCountException 68
Implementing Custom Exception Types 70
Recipe for Implementing Custom Exception Types 70
Using the Recipe 71
Summary 76

Chapter 4: JavaScript Object-Oriented Programming


and Type Reflection Extensions 77
JavaScript Functions 78
JavaScript Classes 79
Type 80
registerClass 81
getName 83
isClass 84
registerNamespace 85
isNamespace 88
registerInterface 89
getInterfaces 92
isInterface 95
Inheritance 96

xiv

ftoc.indd xiv 8/20/07 8:54:40 PM


Contents
getBaseType 100
initializeBase 102
resolveInheritance 103
callBaseMethod 104
getBaseMethod 110
implementsInterface 113
inheritsFrom 118
isImplementedBy 121
getRootNamespaces 123
parse 125
registerEnum 127
isEnum 129
isFlags 129
Summary 130

Chapter 5: Event Programming Extensions 131


Event Programming 131
Sys.EventArgs 132
Sys.CancelEventArgs 132
EventHandlerList 133
Using Event Programming 138
Base Classes 138
Events 144
Summary 159

Chapter 6: DOM Extensions 161


DomElement 161
getElementById 161
addCssClass 166
containsCssClass 167
removeCssClass 167
toggleCssClass 169
getLocation 171
setLocation 172
getBounds 175
MouseButton 176
Key 176
Delegates 177
Namespace 183
Mover 184

xv

ftoc.indd xv 8/20/07 8:54:40 PM


Contents
TextProvider 184
ImageProvider 185
DomEvent 185
Constructor 186
Static Methods 189
Instance Methods 198
Using the DomEvent Class 203
Mover 209
TableProvider 216
Summary 217

Chapter 7: Component Development Infrastructure 219


Interfaces 220
IDisposable 220
INotifyDisposing 224
INotifyPropertyChanged 228
Component 235
IContainer 238
Application 239
addComponent 240
removeComponent 241
getComponents 242
findComponent 242
Application Lifecycle 243
Component 248
Continuing the Application Journey 253
endCreateComponents 253
raiseLoad 256
Summary of the Application Lifecycle 257
Application Level Events 258
init 258
load 259
unload 260
Disposable Objects 260
Using the Application Object and Component Base Class 263
dispose 264
initialize 267
id 269
raisePropertyChanged 270
get_events 271

xvi

ftoc.indd xvi 8/20/07 8:54:41 PM


Contents
INotifyPropertyChange 272
INotifyDisposing 272
Summary 280

Chapter 8: Developing Client Controls 281


Control 281
Definition 281
get_element 283
get_id 283
set_id 284
set_parent 284
get_parent 285
get_visibilityMode 286
get_visible 286
set_visibilityMode 286
set_visible 287
addCssClass 288
removeCssClass 288
toggleCssClass 288
dispose 288
onBubbleEvent 289
raiseBubbleEvent 290
Developing Custom Client Controls 290
Label Client Control 291
Constructor 291
htmlEncode 291
text 292
prototype 294
descriptor 294
Using Label Client Control 295
Image Client Control 297
Constructor 298
prototype 298
imageURl 299
width 299
height 299
alternateText 300
Using the Image Client Control 300
Extending Image Client Control 302
Constructor 306
prototype 307

xvii

ftoc.indd xvii 8/20/07 8:54:41 PM


Contents
imageURL 307
mouseOverImageURL 308
mouseOverCallback 308
mouseOutCallback 309
Duration 309
transition 310
Transition Enumeration 310
initialize 311
dispose 312
Using Image2 Client Control 312
HyperLink Client Control 314
Constructor 314
prototype 315
navigateURL 315
initialize 315
add_click 316
remove_click 317
_onClick 317
dispose 318
descriptor 318
Using the HyperLink Client Control 319
Summary 321

Chapter 9: Event Bubbling and Button Client Control 323


CommandEventArgs 323
Button Client Control 325
Constructor 325
prototype 325
argument 326
command 326
initialize 327
add_click 328
_onClick 328
dispose 329
descriptor 330
Using Button Client Control 330
Catching a Bubbled Event 330
Bubbling an Event 337
Summary 348

xviii

ftoc.indd xviii 8/20/07 8:54:41 PM


Other documents randomly have
different content
A company was raised from the 1st Battalion in South Africa before
the war; it fought at Talana Hill (October the 20th, 1899), was in the
Defence of Ladysmith, and later with Buller’s army until it arrived
at Lydenburg in October, 1900. After this it was continually engaged
in the Eastern Transvaal, until it joined the 25th Mounted Infantry in
October, 1901 (see below). This Company lost twenty-five killed and
thirty-three wounded during the war.
2nd BATT. M.I. A Company was raised from the 2nd
Battalion upon its arrival in Natal, which
was left outside Ladysmith, and, joining Buller’s army on the Tugela,
took part in the campaign for the Relief of Ladysmith with
Dundonald’s Mounted Troops. After the relief this Company joined
Gough’s Mounted Infantry, and accompanied Buller’s army up to
Lydenburg, being subsequently engaged in the Eastern Transvaal,
Zululand, and the Orange River Colony until the end of the war. The
wastage in personnel was such that only two officers and twenty-nine
others of the original company then remained, but the fact that
twenty per cent. of the original horses, received in October, 1899,
were still doing duty, constituted a notable record in horse
management.
3rd BATT. M.I. The 3rd Battalion contributed one section
to “The Rifles’ Company” of the 1st M.I.
(Vide 4th Battalion M.I.).
A second section, formed in December, 1899, fought with
Dundonald’s mounted troops in the Relief of Ladysmith,
subsequently joining Gough’s M.I. at Blood River Poort, where it was
severely handled and its commander, Mildmay, was killed. This
section, in October, 1901, was united with a third section raised in
1900, and joined the 25th M.I. in October, 1901 (see below), when
the strength was raised to a full company.
4th BATT. M.I. The 4th Battalion contributed a section to
“The Rifles’ Company,” under Captain
Dewar, which, together with the section of the 3rd Battalion, and the
two sections from the 3rd and 4th Battalions Rifle Brigade, formed
one of the four companies composing the celebrated 1st M.I.,
organised and trained at Aldershot under Lieutenant-Colonel E. A.
H. Alderson before the war. The “Rifles Company” was temporarily
detached, and, landing at Port Elizabeth in November, 1899, joined
the force under Major-General Sir William Gatacre, which was
defeated at Stormberg on December the 12th, where it was
mentioned for its gallant conduct in covering the retreat. The
Company was then attached to French’s Cavalry Division, and was at
the battle of Paardeburg, where Captain Dewar was killed, and was
also present at the surrender of Cronje on the 27th of February,
Majuba Day. It then rejoined the 1st M.I.; and took part in the battles
of Poplar Grove and Driefontein, and the entry into Bloemfontein
(10th of March). It was at the surprise of Broadwood’s Calvary
Brigade at Sannah’s Post (31st of March), where it behaved with
conspicuous gallantry, and it was at the relief of Wepener, and in the
fighting near Thabanchu.
The 1st M.I. were then allotted to Alderson’s Brigade with
Hutton’s[78] Mounted Troops, and took part in Lord Roberts’ advance
upon Pretoria on the 2nd May.
The Company, therefore, was present in the actions of Brandfort,
Vet River, Sand River, Kroonstadt, the Vaal River (27th of May), the
battle of Doornkop, near Johannesburg (28th–29th of May), the
actions at Kalkhoevel Defile, Six Mile Spruit (4th of June), and the
entry into Pretoria (5th of June). It was similarly engaged at the
battle of Diamond Hill (11th of June); in the fighting south-east of
Pretoria and at the action of Rietvlei (July the 16th); in the advance
to and operations round Middelburg; in the battle of Belfast (24th of
August, 1900); and in the march east from Dalmanutha, including
the assault of the almost impregnable position of Kaapsche Hoop
during the night of the 12th–13th of September.
From this time till the end of the war this Company was
continually marching and fighting in the Orange River Colony and
Cape Colony, pursuing De Wet, back again in the Transvaal, in
countless forays and skirmishes, in the saddle night and day. When
peace was declared it was at Vereeniging, whence it marched to
Harrismith, and was absorbed into the Rifle Battalion of M.I. formed
at that place.
The 4th Battalion also sent out two complete companies from Cork
early in 1901, which were employed in the Transvaal, and
subsequently joined the 25th M.I. in October of that year (see
below).
25th (THE KING’S On October the 18th, 1901, a complete
ROYAL RIFLE Battalion of Mounted Infantry[79] was
CORPS)
MOUNTED formed from the Regiment—an unique
INFANTRY distinction—and consisted of:—
BATTALION.
No. 1 Company 1st Battalion.
No. 2 Company 4th Battalion.
No. 3 Company 3rd Battalion.
No. 4 Company 4th Battalion.

The Battalion was concentrated at Middelburg in the Transvaal,


and was placed under the command of Major C. L. E. Robertson-
Eustace[80] until January, 1902, when he was succeeded by Major W.
S. Kays.[81]
The Battalion thus organised was composed of officers and
riflemen who had been in the field from the beginning of the war,
and were therefore tried and experienced soldiers. It joined
Benson’s[82] column at Middelburg, a column of which it was said
that no Dutchman dared sleep within thirty miles of its bivouac. The
ceaseless activity and success of Benson eventually decided Louis
Botha, the Boer Commander-in-Chief, to make a determined attempt
to destroy his force. To achieve this purpose he collected nearly 2000
men, and by a skilful combination of his troops attacked the column
while on the march near Bakenlaagte upon the 30th of October. By a
rapid charge he overwhelmed the rear guard, captured two guns,
killed Benson, and surrounded the column, but was eventually
beaten off. The 25th M.I. fought with a stubborn courage, and by
their sturdy gallantry kept the Boers at bay and gloriously upheld the
traditions of the Regiment, losing in the action eleven men killed,
five officers and forty-five men wounded.
Thus—stoutly fought out on both sides by mounted troops of this
especial type—ended a fight which has been described as unique in
the annals of war.[83] The spirit of the Riflemen will best be
understood from the lips of one of the wounded in this gallant fight,
who remarked that “they were content if they had done their duty,
and felt rewarded if their Regiment thought well of them.”
The Mounted Infantry Battalion of the Regiment ended its short
but brilliant career by taking part in all the great “drives” in the E.
Transvaal and N.E. of the Orange Free State, and was finally at
Greylingstad when peace was declared on the 1st June, 1902.
Rifle Depot.

RIFLE DEPOT. The Depot, under the command of


Colonel Horatio Mends, was at Gosport
throughout the war. A narrative of the work of the Regiment at this
strenuous period would not be complete without grateful reference
to the splendid service of administration, training, and equipment,
so devotedly performed by the Colonel Commandant, his Staff, and
the Company officers generally of the Rifle Depot.
The Adjutant was five times changed, but the Quarter-Master,
Major Riley,[84] remained constant to his difficult duties throughout
the whole of this trying ordeal.
It is stated that 4470 recruits joined the Depot, were trained, and
passed to the various Battalions, while many thousands of Reservists
were mobilized, equipped, clothed, and drafted for duty.
The work of discharge at the end of the war was not less severe,
but there is no record of failure or of breakdown, and the success of
the admirable system of administration was universally
acknowledged.[85]
The Rifle Depot was moved back to Winchester on the 29th of
March, 1903, after nine years of exile at Gosport caused by the re-
building of the Barracks which had been destroyed by fire.
PART IV.
A Retrospect.

The preceding pages will have shown that the Regiment from its
inception has possessed certain distinctive characteristics which are
pre-eminently those required for making Light Infantry and
Riflemen of the best type.
Raised in 1755, the Regiment, inspired by the genius of Henry
Bouquet, early displayed that strong individuality, that self-reliant
courage, and that ready initiative coupled with steady discipline,
which won from the intrepid Wolfe himself the proud motto of Celer
et Audax. In 1797, under the experienced command of Baron de
Rottenburg, the famous 5th Battalion (Rifles) was raised as a special
type of Light Troops. Thus the 5th Battalion of the Regiment, the
first Rifle Corps of the British Army, revived those special qualities of
the Royal Americans which had rendered the Regiment so renowned
in its earlier years, and were destined to win imperishable fame
throughout the Peninsular War.
After a long interval of peace the Regiment from 1836 to 1854
received a similar impetus at the hands of Molyneux and Dundas,
and reaped a rich harvest of lasting honour and glory upon the Delhi
Ridge by displaying the same supremely valuable characteristics
which had distinguished it in America and in Spain. Again, from
1861–1873, under Hawley’s commanding influence and inspiring
skill, the Regiment, through the 4th Battalion, opened up a more
rapid and elastic system of drill and tactics, a more intelligent
treatment of the soldier, and the betterment of his life in barracks, of
which the good effects are felt to-day not only in the Regiment but in
the Army at large. The qualities thus maintained for a century and a
half, have borne in later years abundant fruit, of which the stubborn
courage at the Ingogo fight, the calm discipline of the Warren
Hastings, the eager valour of Talana Hill, and the impetuous assault
up the slopes of the Twin Peaks are glorious examples.
To the same special qualities was due the inspiration which
created the Mounted Infantry as a portion of the British Army, and it
is to the officers and men of the 60th that the inception and success
of that powerful arm is largely due.
Let the Riflemen of to-day, who read the deeds of their gallant
comrades of the past, remember that if they are to maintain the
traditions and increase still more the reputation of the famous Corps
to which they belong, it can only be by cultivating the same spirit of
ready self-sacrifice and unsparing devotion to duty, and by
developing the same prompt initiative, steady discipline, and
unflinching courage, which have ever been the secret of the
Regiment’s success.
Let each Rifleman also recollect that a distinguished Past is rather
a reproach than a glory unless maintained by an equally
distinguished Present, and developed, if possible, by an even more
distinguished future.

MAP IV

SOUTH AFRICA

Illustrating the area of Operations


referred to in Part III, Sections 7 and 10,
also upon Inset map, Part III, Section 8.

Stanford’s Geogl. Estabt., London.

1. Afterwards Brigadier-General Bouquet. Born 1719, died 1765.


The victor of Bushey Run. A brilliant officer, of the highest capacity
as a leader and administrator. It has been said that by his untimely
death Great Britain lost a general whose presence might well have
caused the American War of Independence to assume a different
aspect. For biographical sketch vide Regimental Chronicle, 1910.

2. General James Abercromby, Colonel-in-Chief, 1757–1758.

3. Afterwards Lieut.-General Sir Frederick Haldimand. Born 1718,


died 1791. Commander-in-Chief in North America, and Governor of
Quebec—a distinguished soldier-statesman.

4. Afterwards Major-General John Bradstreet. Born 1710, died


1774; a successful leader of irregular troops.

5. Afterwards Major-General. Born 1723, died 1786; dangerously


wounded in July, 1759, above Quebec; the victor of Savannah, 1779,
and a distinguished soldier.

6. Afterwards Field Marshal Sir Jeffery Amherst, Baron Amherst,


Colonel-in-Chief, 1758–1797.

7. The Grenadier Companies also of the 2nd and 3rd Battalions


were included in the six companies composing the Louisberg
Grenadiers, which occupied the place of honor in the front line.

8. General William Haviland was Colonel Commandant in 1761–


1762.

9. Lieut.-Colonel Marc Prevost, born 1736, died 1785, youngest


brother of General Augustine Prevost—a brilliant and most
promising officer, who succumbed to the effect of his wounds.
10. Frederick, Duke of York, was the second son of George III, and
brother of George IV and William IV.

11. Afterwards Lieutenant-General. Born 1760, died 1832. He


commanded the 5th Battalion, 1797–1808. He afterwards served as
Major-General commanding in Lower Canada, 1810–1815, during
the American War, 1812–13.

12. Regulations for the Exercise of Riflemen and Light Infantry


and Instructions for their conduct in the Field, with diagrams,
published with a Memo, dated Horse Guards, August 1st, 1798.
Copies of the editions 1808 and 1812 will be found in the Library,
Royal United Service Institution, Whitehall.

13. Afterwards General Sir William Gabriel Davy, C.B., K.C.H.,


Colonel Commandant, 60th Rifles, 1842–1856. He succeeded Baron
de Rottenburg in command of the 5th Battalion in 1808.

14. Formed in 1800, and now The Rifle Brigade.

15. The Battalion was especially mentioned in Wellesley’s


despatch.

16. Formerly a Captain in the 60th.

17. Formerly Major in the 4th Battalion 60th.

18. Afterwards General the Earl of Hopetoun, G.C.B., Colonel-


Commandant 6th Battalion 60th.

19. Afterwards Major-General Sir William Williams, K.C.B., K.T.S.,


died 1832.

20. Afterwards General Viscount Beresford, G.C.B., G.C.H., Colonel-


in-Chief of the 60th Rifles, 1852–54.

21. Afterwards Field-Marshal Sir John Foster Fitzgerald, G.C.B.


Born 1786, died 1877, aged 91.

22. Afterwards Colonel and C.B., died 1861.


23. Afterwards Colonel and C.B., died 1848.

24. Afterwards Lieut.-General Sir James Holmes Schoedde, K.C.B.,


who received thirteen clasps with his war medal. Born 1786, died
1861.
Major-Generals Sir Henry Clinton, Sir George Murray, and Sir
James Kampt, Colonels Commandant of the Regiment, also served
with distinction.

25. His Royal Highness’s sword and belts were presented to the
officers of the 1st Battalion by H.M. King George IV, and are now in
the Officers’ Mess.

26. The seventh son of George III and the Father of the late Field-
Marshal H.R.H. George Duke of Cambridge, Colonel-in-Chief, 1869–
1904.

27. 3rd son of 2nd Earl of Sefton. Born 27th August, 1800; died
1841.

28. Afterwards General Viscount Melville, G.C.B., Colonel


Commandant 1864–1875.

29. Afterwards Field-Marshal Viscount Gough, K.P., G.C.B., Colonel-


in-Chief 1854–1869.

30. Afterwards Major-General Sir John Jones, K.C.B.

31. Colonel Dunbar Douglas Muter, who greatly distinguished


himself, obtaining two brevets during the siege and subsequent
operations. He was afterwards a Military Knight of Windsor; and
died in 1909.

32. Governor-General’s despatch, London Gazette, May 18th,


1860, upon the departure of the Regiment from India.

33. Now the 2nd King Edward’s Own Gurkha Rifles (the Sirmoor
Rifles). It is stated of this gallant Regiment that, when asked what
reward they would like, they begged for and were granted the red
facings of the 60th to be added to their Rifle uniform.
34. Despatch, General Sir Archdale Wilson, 22nd September, 1857.

35. London Gazette, May 18th, 1860.

36. Afterwards Colonel and C.B.

37. Afterwards Lieut.-General Hawley, C.B., Colonel Commandant,


1890–98, vide Biographical Sketch, Regimental Chronicle, 1909.

38. Afterwards General Right Hon. Sir Redvers Buller, P.C., V.C.,
G.C.B., G.C.M.G., Colonel Commandant, 1895–1908. Born December 7th
1839, died June 2nd, 1908. His qualities as a distinguished soldier
are well summed up by the inscription upon his Memorial Tomb
recently erected in Winchester Cathedral, “A Great Leader—Beloved
by his Men.” Vide Biographical Sketch, Regimental Chronicle, 1908,
p. 157.

39. Now Field-Marshal Right Hon. F. W. Lord Grenfell, P.C., G.C.B.,


G.C.M.G., Colonel Commandant, 1898. Born April 29th, 1841.

40. H.R.H. George Duke of Cambridge died upon the 17th March,
1904, and was succeeded as Colonel-in-Chief by General H.R.H. the
Prince of Wales, now His Majesty George V.

41. Afterwards Lieut.-General Feilden, C.M.G., died 1895.

42. Now Field-Marshal Viscount Wolseley, K.P., etc.

43. Now Field-Marshal Earl Roberts, K.G., V.C., etc., whose only son,
Lieut. the Hon. Frederick Roberts, V.C., was killed at the battle of
Colenso, December 15th, 1899, when an officer of the Regiment, and
serving as A.D.C. to Sir Redvers Buller.

44. Now Colonel Sir Arthur Davidson, K.C.B., K.C.V.O., Equerry to


H.M. Queen Alexandra.

45. Now Major-General Sir Wykeham Leigh-Pemberton, K.C.B.,


Colonel Commandant, 1906. Born 4th December, 1833.
46. Afterwards Lieut.-Colonel Northey, mortally wounded at the
Battle of Gingihlovo, Zulu War, April 2nd, 1879.

47. Now Major-General.

48. Now Major-General Sir Cromer Ashburnham, K.C.B., Colonel


Commandant, 1907. Born 13th September, 1831. He succeeded
Colonel Leigh-Pemberton, and commanded the 3rd Battalion
throughout three campaigns, namely, Boer War, 1881; Egypt, 1882;
Suakim, 1884, with conspicuous success, and was popularly known
among his men as the “Lion of the Ingogo.”

49. Despatch, Mount Prospect, February 12th, 1881, para. 20.

50. Afterwards Colonel and C.B.

51. Afterwards General Right Hon. Sir Redvers Buller, vide p. 40


note.

52. Captain Hutton, now Lieut.-General Sir Edward Hutton,


K.C.M.G., C.B. Colonel Commandant, 1908. Born December 6th, 1848.

53. Vide “Cool Courage,” an episode of the Egyptian War, 1882—


Regimental Chronicle, 1908.

54. Now Major-General R. S. R. Fetherstonhaugh, C.B.

55. Afterwards Lieutenant-Colonel Berkeley Pigott, C.B., D.S.O., 21st


Lancers.

56. W. Pitcairn Campbell, P. S. Marling, A. Miles, R. L. Bower, and


two officers of The Rifle Brigade, namely, W. M. Sherston and Hon.
H. Hardinge.

57. Afterwards General Sir Baker Russell, G.C.B., K.C.M.G., etc., a


well-known Cavalry General and leader of men. Died November,
1911.

58. “Times” History of the War, Vol. II, p. 31.


59. Afterwards C.B.

60. Now Lieut.-Colonel the Hon. Keith Turnour-Fetherstonhaugh,


of Up Park, Petersfield.

61. Afterwards Colonel and C.B.

62. Now Brigadier-General and C.B.

63. Now Major-General and C.B.

64. Vide Regimental Chronicle, 1909, p. 60.

65. Special Army Order, March 13th, 1897.

66. Promoted Colonel for his conduct, and was selected for Staff
employment as Chief Staff Officer in Egypt, where he was
accidentally killed upon the 31st July, 1902.

67. Field-Marshal Viscount Wolseley.

68. Vide Official History of the War, Vol. I, pp. 131–136.

69. Now Major-General, C.B., and lately A.D.C. to the King.

70. Now Brigadier-General, C.B., C.M.G., M.V.O., D.S.O.

71. Vide Official History of the South African War, Vol. I, pp. 398–
9.

72. Now Brigadier-General and C.B.

73. Vide “Times” History of the South African War, Vol. III, p.
324.

74. Vide Official History of the South African War, Vol. I, pp.
476–484.

75. Now Colonel, C.B.


76. Now Colonel, C.M.G., and A.D.C. to the King.

77. Two officers died on the voyage out.

78. Vide note p. 52.

79. For a more complete account, vide Regimental Chronicle,


1902, p. 94.

80. Afterwards D.S.O. This promising officer died suddenly at


Cairo, October 4th, 1908.

81. Now Colonel.

82. Colonel G. E. Benson, R.A., a leader of much distinction and


initiative.

83. Vide “Times” History of the War, Vol. V.

84. Major T. M. Riley. Died 28th February, 1908. Vide Regimental


Chronicle, 1907, p. 115.

85. Vide Regimental Chronicle, 1903, pp. 202–207.


TRANSCRIBER’S NOTES
1. Silently corrected typographical errors.
2. Retained anachronistic and non-standard
spellings as printed.
*** END OF THE PROJECT GUTENBERG EBOOK A BRIEF HISTORY
OF THE KING'S ROYAL RIFLE CORPS ***

Updated editions will replace the previous one—the old editions


will be renamed.

Creating the works from print editions not protected by U.S.


copyright law means that no one owns a United States
copyright in these works, so the Foundation (and you!) can copy
and distribute it in the United States without permission and
without paying copyright royalties. Special rules, set forth in the
General Terms of Use part of this license, apply to copying and
distributing Project Gutenberg™ electronic works to protect the
PROJECT GUTENBERG™ concept and trademark. Project
Gutenberg is a registered trademark, and may not be used if
you charge for an eBook, except by following the terms of the
trademark license, including paying royalties for use of the
Project Gutenberg trademark. If you do not charge anything for
copies of this eBook, complying with the trademark license is
very easy. You may use this eBook for nearly any purpose such
as creation of derivative works, reports, performances and
research. Project Gutenberg eBooks may be modified and
printed and given away—you may do practically ANYTHING in
the United States with eBooks not protected by U.S. copyright
law. Redistribution is subject to the trademark license, especially
commercial redistribution.

START: FULL LICENSE


THE FULL PROJECT GUTENBERG LICENSE
PLEASE READ THIS BEFORE YOU DISTRIBUTE OR USE THIS WORK

To protect the Project Gutenberg™ mission of promoting the


free distribution of electronic works, by using or distributing this
work (or any other work associated in any way with the phrase
“Project Gutenberg”), you agree to comply with all the terms of
the Full Project Gutenberg™ License available with this file or
online at www.gutenberg.org/license.

Section 1. General Terms of Use and


Redistributing Project Gutenberg™
electronic works
1.A. By reading or using any part of this Project Gutenberg™
electronic work, you indicate that you have read, understand,
agree to and accept all the terms of this license and intellectual
property (trademark/copyright) agreement. If you do not agree
to abide by all the terms of this agreement, you must cease
using and return or destroy all copies of Project Gutenberg™
electronic works in your possession. If you paid a fee for
obtaining a copy of or access to a Project Gutenberg™
electronic work and you do not agree to be bound by the terms
of this agreement, you may obtain a refund from the person or
entity to whom you paid the fee as set forth in paragraph 1.E.8.

1.B. “Project Gutenberg” is a registered trademark. It may only


be used on or associated in any way with an electronic work by
people who agree to be bound by the terms of this agreement.
There are a few things that you can do with most Project
Gutenberg™ electronic works even without complying with the
full terms of this agreement. See paragraph 1.C below. There
are a lot of things you can do with Project Gutenberg™
electronic works if you follow the terms of this agreement and
help preserve free future access to Project Gutenberg™
electronic works. See paragraph 1.E below.
1.C. The Project Gutenberg Literary Archive Foundation (“the
Foundation” or PGLAF), owns a compilation copyright in the
collection of Project Gutenberg™ electronic works. Nearly all the
individual works in the collection are in the public domain in the
United States. If an individual work is unprotected by copyright
law in the United States and you are located in the United
States, we do not claim a right to prevent you from copying,
distributing, performing, displaying or creating derivative works
based on the work as long as all references to Project
Gutenberg are removed. Of course, we hope that you will
support the Project Gutenberg™ mission of promoting free
access to electronic works by freely sharing Project Gutenberg™
works in compliance with the terms of this agreement for
keeping the Project Gutenberg™ name associated with the
work. You can easily comply with the terms of this agreement
by keeping this work in the same format with its attached full
Project Gutenberg™ License when you share it without charge
with others.

1.D. The copyright laws of the place where you are located also
govern what you can do with this work. Copyright laws in most
countries are in a constant state of change. If you are outside
the United States, check the laws of your country in addition to
the terms of this agreement before downloading, copying,
displaying, performing, distributing or creating derivative works
based on this work or any other Project Gutenberg™ work. The
Foundation makes no representations concerning the copyright
status of any work in any country other than the United States.

1.E. Unless you have removed all references to Project


Gutenberg:

1.E.1. The following sentence, with active links to, or other


immediate access to, the full Project Gutenberg™ License must
appear prominently whenever any copy of a Project
Gutenberg™ work (any work on which the phrase “Project
Gutenberg” appears, or with which the phrase “Project
Gutenberg” is associated) is accessed, displayed, performed,
viewed, copied or distributed:

This eBook is for the use of anyone anywhere in the United


States and most other parts of the world at no cost and
with almost no restrictions whatsoever. You may copy it,
give it away or re-use it under the terms of the Project
Gutenberg License included with this eBook or online at
www.gutenberg.org. If you are not located in the United
States, you will have to check the laws of the country
where you are located before using this eBook.

1.E.2. If an individual Project Gutenberg™ electronic work is


derived from texts not protected by U.S. copyright law (does not
contain a notice indicating that it is posted with permission of
the copyright holder), the work can be copied and distributed to
anyone in the United States without paying any fees or charges.
If you are redistributing or providing access to a work with the
phrase “Project Gutenberg” associated with or appearing on the
work, you must comply either with the requirements of
paragraphs 1.E.1 through 1.E.7 or obtain permission for the use
of the work and the Project Gutenberg™ trademark as set forth
in paragraphs 1.E.8 or 1.E.9.

1.E.3. If an individual Project Gutenberg™ electronic work is


posted with the permission of the copyright holder, your use and
distribution must comply with both paragraphs 1.E.1 through
1.E.7 and any additional terms imposed by the copyright holder.
Additional terms will be linked to the Project Gutenberg™
License for all works posted with the permission of the copyright
holder found at the beginning of this work.

1.E.4. Do not unlink or detach or remove the full Project


Gutenberg™ License terms from this work, or any files
containing a part of this work or any other work associated with
Project Gutenberg™.

1.E.5. Do not copy, display, perform, distribute or redistribute


this electronic work, or any part of this electronic work, without
prominently displaying the sentence set forth in paragraph 1.E.1
with active links or immediate access to the full terms of the
Project Gutenberg™ License.

1.E.6. You may convert to and distribute this work in any binary,
compressed, marked up, nonproprietary or proprietary form,
including any word processing or hypertext form. However, if
you provide access to or distribute copies of a Project
Gutenberg™ work in a format other than “Plain Vanilla ASCII” or
other format used in the official version posted on the official
Project Gutenberg™ website (www.gutenberg.org), you must,
at no additional cost, fee or expense to the user, provide a copy,
a means of exporting a copy, or a means of obtaining a copy
upon request, of the work in its original “Plain Vanilla ASCII” or
other form. Any alternate format must include the full Project
Gutenberg™ License as specified in paragraph 1.E.1.

1.E.7. Do not charge a fee for access to, viewing, displaying,


performing, copying or distributing any Project Gutenberg™
works unless you comply with paragraph 1.E.8 or 1.E.9.

1.E.8. You may charge a reasonable fee for copies of or


providing access to or distributing Project Gutenberg™
electronic works provided that:

• You pay a royalty fee of 20% of the gross profits you derive
from the use of Project Gutenberg™ works calculated using the
method you already use to calculate your applicable taxes. The
fee is owed to the owner of the Project Gutenberg™ trademark,
but he has agreed to donate royalties under this paragraph to
the Project Gutenberg Literary Archive Foundation. Royalty
payments must be paid within 60 days following each date on
which you prepare (or are legally required to prepare) your
periodic tax returns. Royalty payments should be clearly marked
as such and sent to the Project Gutenberg Literary Archive
Foundation at the address specified in Section 4, “Information
about donations to the Project Gutenberg Literary Archive
Foundation.”

• You provide a full refund of any money paid by a user who


notifies you in writing (or by e-mail) within 30 days of receipt
that s/he does not agree to the terms of the full Project
Gutenberg™ License. You must require such a user to return or
destroy all copies of the works possessed in a physical medium
and discontinue all use of and all access to other copies of
Project Gutenberg™ works.

• You provide, in accordance with paragraph 1.F.3, a full refund of


any money paid for a work or a replacement copy, if a defect in
the electronic work is discovered and reported to you within 90
days of receipt of the work.

• You comply with all other terms of this agreement for free
distribution of Project Gutenberg™ works.

1.E.9. If you wish to charge a fee or distribute a Project


Gutenberg™ electronic work or group of works on different
terms than are set forth in this agreement, you must obtain
permission in writing from the Project Gutenberg Literary
Archive Foundation, the manager of the Project Gutenberg™
trademark. Contact the Foundation as set forth in Section 3
below.

1.F.

1.F.1. Project Gutenberg volunteers and employees expend


considerable effort to identify, do copyright research on,
transcribe and proofread works not protected by U.S. copyright
law in creating the Project Gutenberg™ collection. Despite these
efforts, Project Gutenberg™ electronic works, and the medium
on which they may be stored, may contain “Defects,” such as,
but not limited to, incomplete, inaccurate or corrupt data,
transcription errors, a copyright or other intellectual property
infringement, a defective or damaged disk or other medium, a
computer virus, or computer codes that damage or cannot be
read by your equipment.

1.F.2. LIMITED WARRANTY, DISCLAIMER OF DAMAGES - Except


for the “Right of Replacement or Refund” described in
paragraph 1.F.3, the Project Gutenberg Literary Archive
Foundation, the owner of the Project Gutenberg™ trademark,
and any other party distributing a Project Gutenberg™ electronic
work under this agreement, disclaim all liability to you for
damages, costs and expenses, including legal fees. YOU AGREE
THAT YOU HAVE NO REMEDIES FOR NEGLIGENCE, STRICT
LIABILITY, BREACH OF WARRANTY OR BREACH OF CONTRACT
EXCEPT THOSE PROVIDED IN PARAGRAPH 1.F.3. YOU AGREE
THAT THE FOUNDATION, THE TRADEMARK OWNER, AND ANY
DISTRIBUTOR UNDER THIS AGREEMENT WILL NOT BE LIABLE
TO YOU FOR ACTUAL, DIRECT, INDIRECT, CONSEQUENTIAL,
PUNITIVE OR INCIDENTAL DAMAGES EVEN IF YOU GIVE
NOTICE OF THE POSSIBILITY OF SUCH DAMAGE.

1.F.3. LIMITED RIGHT OF REPLACEMENT OR REFUND - If you


discover a defect in this electronic work within 90 days of
receiving it, you can receive a refund of the money (if any) you
paid for it by sending a written explanation to the person you
received the work from. If you received the work on a physical
medium, you must return the medium with your written
explanation. The person or entity that provided you with the
defective work may elect to provide a replacement copy in lieu
of a refund. If you received the work electronically, the person
or entity providing it to you may choose to give you a second
opportunity to receive the work electronically in lieu of a refund.
If the second copy is also defective, you may demand a refund
in writing without further opportunities to fix the problem.

1.F.4. Except for the limited right of replacement or refund set


forth in paragraph 1.F.3, this work is provided to you ‘AS-IS’,
WITH NO OTHER WARRANTIES OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR ANY PURPOSE.

1.F.5. Some states do not allow disclaimers of certain implied


warranties or the exclusion or limitation of certain types of
damages. If any disclaimer or limitation set forth in this
agreement violates the law of the state applicable to this
agreement, the agreement shall be interpreted to make the
maximum disclaimer or limitation permitted by the applicable
state law. The invalidity or unenforceability of any provision of
this agreement shall not void the remaining provisions.

1.F.6. INDEMNITY - You agree to indemnify and hold the


Foundation, the trademark owner, any agent or employee of the
Foundation, anyone providing copies of Project Gutenberg™
electronic works in accordance with this agreement, and any
volunteers associated with the production, promotion and
distribution of Project Gutenberg™ electronic works, harmless
from all liability, costs and expenses, including legal fees, that
arise directly or indirectly from any of the following which you
do or cause to occur: (a) distribution of this or any Project
Gutenberg™ work, (b) alteration, modification, or additions or
deletions to any Project Gutenberg™ work, and (c) any Defect
you cause.

Section 2. Information about the Mission


of Project Gutenberg™
Project Gutenberg™ is synonymous with the free distribution of
electronic works in formats readable by the widest variety of
computers including obsolete, old, middle-aged and new
computers. It exists because of the efforts of hundreds of
volunteers and donations from people in all walks of life.

Volunteers and financial support to provide volunteers with the


assistance they need are critical to reaching Project
Gutenberg™’s goals and ensuring that the Project Gutenberg™
collection will remain freely available for generations to come. In
2001, the Project Gutenberg Literary Archive Foundation was
created to provide a secure and permanent future for Project
Gutenberg™ and future generations. To learn more about the
Project Gutenberg Literary Archive Foundation and how your
efforts and donations can help, see Sections 3 and 4 and the
Foundation information page at www.gutenberg.org.

Section 3. Information about the Project


Gutenberg Literary Archive Foundation
The Project Gutenberg Literary Archive Foundation is a non-
profit 501(c)(3) educational corporation organized under the
laws of the state of Mississippi and granted tax exempt status
by the Internal Revenue Service. The Foundation’s EIN or
federal tax identification number is 64-6221541. Contributions
to the Project Gutenberg Literary Archive Foundation are tax
deductible to the full extent permitted by U.S. federal laws and
your state’s laws.

The Foundation’s business office is located at 809 North 1500


West, Salt Lake City, UT 84116, (801) 596-1887. Email contact
links and up to date contact information can be found at the
Foundation’s website and official page at
www.gutenberg.org/contact
Section 4. Information about Donations to
the Project Gutenberg Literary Archive
Foundation
Project Gutenberg™ depends upon and cannot survive without
widespread public support and donations to carry out its mission
of increasing the number of public domain and licensed works
that can be freely distributed in machine-readable form
accessible by the widest array of equipment including outdated
equipment. Many small donations ($1 to $5,000) are particularly
important to maintaining tax exempt status with the IRS.

The Foundation is committed to complying with the laws


regulating charities and charitable donations in all 50 states of
the United States. Compliance requirements are not uniform
and it takes a considerable effort, much paperwork and many
fees to meet and keep up with these requirements. We do not
solicit donations in locations where we have not received written
confirmation of compliance. To SEND DONATIONS or determine
the status of compliance for any particular state visit
www.gutenberg.org/donate.

While we cannot and do not solicit contributions from states


where we have not met the solicitation requirements, we know
of no prohibition against accepting unsolicited donations from
donors in such states who approach us with offers to donate.

International donations are gratefully accepted, but we cannot


make any statements concerning tax treatment of donations
received from outside the United States. U.S. laws alone swamp
our small staff.

Please check the Project Gutenberg web pages for current


donation methods and addresses. Donations are accepted in a
number of other ways including checks, online payments and
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade

Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.

Let us accompany you on the journey of exploring knowledge and


personal growth!

ebookultra.com

You might also like