The infinite loop that occurs is due to the fact that the GetName() function is set as a handler to the ClientCreateNewFolder client-side event, and inside its body you are calling RadFileExplorer's createNewDirectory() method, which triggers the event to be raised.
Could you please explain in more details what exactly you are trying to achieve?
All the best,
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed