Persist properties to aspx file on webcontrol creation

Discussion in 'ASP .Net Web Controls' started by Raymond Tellenbach via .NET 247, Aug 4, 2004.

  1. Is there any way to force properties to be persisted to the aspxfile on creation of a webcontrol? To show what i mean: I want toadd the attribute 'SomeAttribute="anyvalue"' between the tags ofthe webcontrol when i drag it from the toolbox to a page. TheHTML tag of the aspx file would look something like this:<aaa:MyControl id="MyControl1" runat="server"SomeAttribute="anyvalue"></aaa:MyControl>

    --------------------------------
    From: Raymond Tellenbach

    -----------------------
    Posted by a user from .NET 247 (http://www.dotnet247.com/)

    <Id>FMlg2C9V1UC2EECG1fZSbA==</Id>
     
    Raymond Tellenbach via .NET 247, Aug 4, 2004
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. vish
    Replies:
    2
    Views:
    2,018
    Steve C. Orr, MCSD
    Jul 16, 2003
  2. Usenet  User
    Replies:
    5
    Views:
    667
    Steve C. Orr [MVP, MCSD]
    Mar 24, 2005
  3. John M
    Replies:
    1
    Views:
    1,597
    Kumar Reddi
    May 29, 2005
  4. Seth Williams

    Master Page Properties persist?

    Seth Williams, Apr 24, 2008, in forum: ASP .Net
    Replies:
    4
    Views:
    648
    clintonG
    Apr 24, 2008
  5. Replies:
    0
    Views:
    443
  6. Todd Lucas

    WebControl Design View Persist Problem

    Todd Lucas, May 10, 2004, in forum: ASP .Net Building Controls
    Replies:
    1
    Views:
    274
    Jim-M
    May 12, 2004
  7. Luis Ramírez.

    Can a webcontrol (webcontrol.dll) have a configuration file?

    Luis Ramírez., Jul 5, 2004, in forum: ASP .Net Building Controls
    Replies:
    2
    Views:
    395
    Luis Ramírez
    Jul 6, 2004
  8. Wayne Brantley

    Properties do not reliably persist using CompositeControl

    Wayne Brantley, Dec 7, 2006, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    189
    Walter Wang [MSFT]
    Dec 12, 2006
Loading...