Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 78072

upgrade rant

$
0
0

<soapbox>

So I learned something about the Telerik app builder that is potentially hazardous to my sanity.  I was informed that the view template needed to be upgraded and anything not within the special comment tags may (read:  will) be lost.

I had done some modification to code outside of the comment tags…for example the default tab navigation setup by app builder was not appropriate for my app so I have removed all that and replaced it with my own navigation requirements. Zap! All gone after the upgrade.

I had also needed to modify some of the theme css because it would not allow view titles to remain centered if I added a button to the title bar, at the time I knew that could come back to haunt me and sure enough that got zapped.

Inane things, like view data-titles were changed and the removed data-layout was re-added.

Obviously all auto-generated code was zapped and re-created as though a new app were started…surely it must be recognized that sometimes this auto-generated code may need to be modified and the comment block mechanism of protecting user code is inadequate in those cases.

Fortunately I had a local copy and after I reconstructed the app I placed EVERYTHING between the custom comment tags to prevent this from happening in the future.

Now I understand the need to upgrade auto-generated code, and much of my new code was between the comment tags, but as mentioned some was not.

So I can only hope this is a rare occurrence.

</soapbox>


Viewing all articles
Browse latest Browse all 78072

Trending Articles