<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'Designer file getting wrongly modified' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'Designer file getting wrongly modified' posted on the 'Active Server Pages' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2012 Programmers Heaven</copyright>
    <pubDate>Wed, 23 May 2012 08:08:29 -0700</pubDate>
    <lastBuildDate>Wed, 23 May 2012 08:08:29 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>Designer file getting wrongly modified</title>
      <link>http://www.programmersheaven.com/mb/aspfaq/417924/417924/designer-file-getting-wrongly-modified/</link>
      <description>I have an user control "Endorsements.ascx". An object of it is created in an aspx page.&lt;br /&gt;
It is registered like -&lt;br /&gt;
&amp;lt;%@ Register TagPrefix="uc2" TagName="Endorsements" Src="../Endorsements.ascx" %&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and instantiated like -&lt;br /&gt;
&amp;lt;uc2:Endorsements id="Endorsement" runat="server"&amp;gt;&lt;br /&gt;
                            &amp;lt;/uc2:Endorsements&amp;gt;&lt;br /&gt;
In the designer file,&lt;br /&gt;
it is declared as&lt;br /&gt;
Protected WithEvents Endorsement As Global.AgencyLink.Endorsements&lt;br /&gt;
&lt;br /&gt;
but whenever a change in the aspx file is made, it changes to-&lt;br /&gt;
Protected WithEvents Endorsement As Global.System.Web.UI.UserControl&lt;br /&gt;
&lt;br /&gt;
Every time, I have to manually fix it. Please help me out with some permanent solution.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/aspfaq/417924/417924/designer-file-getting-wrongly-modified/</guid>
      <pubDate>Fri, 16 Jul 2010 01:54:01 -0700</pubDate>
      <category>Active Server Pages</category>
    </item>
  </channel>
</rss>
