Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1360
Need to Disable Auto Update of Source Code
posted

Not totally sure if this is the right group to post this but I can see no other more suitable.

Is there a way of switching off the automatic updating of the ASPX code declarations for Infragistic controls?

I do not use Smart Tags and spend most of my time in the SOURCE tab of Visual Studio, moving to DESIGN or SPLIT only briefly (and reluctantly) because I have to click on the visual representation of a control in DESIGN mode - it's the only way to display its server-side events in the Properties Explorer.

I deliberately have absolutely minimal information in the ASPX files for all IG controls. The following is a genuine example of the declaration of a grid:

<igtbl:UltraWebGrid ID="MySubsGrid" runat="server"                      onactiverowchange="MySubsGrid_ActiveRowChange"></igtbl:UltraWebGrid>

That's all I need or want in the ASPX file - the properties and data are all provided by program code that is driven from database tables. Consequently, my ASPX files are sometimes just a few tens of lines long rather than the many hundreds of lines of declaration that (to my amazement) people seem happy to live with.

For UltraWebGrids, for example, the system keeps, apparently when it feels like it, inserting declarations for <bands> and <DisplayLayout> objects that I do not need, nor want. If I have five or six grids on a page each one has to be manually edited only for this to happen again fifteen minutes later. I seem to spend most of my time repeatedly removing this execrable tosh from my code. I've tried everything I can think of to stop this from happening. To be honest, it's driving me nuts.

I hope it's a simple fix but can anybody help me before I lose my sanity and what little remains of my hair?

Any assistance gratefully received.

Kind regards

Paul

ASP.NET 2009.1  (about to upgrade to 2010.2 if someone can fix this problem, if not, I'm off to Telerik! ;>)
MS VS 2008 SP1
Dev system: Win 7 Ult 64.