![]() |
|
|
|||||||
![]() |
ASP Net - [ASP.NET 2.0] Attributes on control declarations |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Hi, I just converted my project to ASP.NET 2.0 using the wizard.
Before, I had attributes on my control declarations: [OrderEntryField("Number", "NumberType")] protected System.Web.UI.WebControls.RadioButtonList rblNumberType; Now they are gone. How can I add attributes to controls now? Thanks in advance! --- Emil Chr. Melar Emil Christopher Melar |
|
|
|
|
#2 |
|
Posts: n/a
|
Emil Christopher Melar wrote:
> Hi, I just converted my project to ASP.NET 2.0 using the wizard. > > Before, I had attributes on my control declarations: > > [OrderEntryField("Number", "NumberType")] > protected System.Web.UI.WebControls.RadioButtonList rblNumberType; > > Now they are gone. > > How can I add attributes to controls now? > > > Thanks in advance! > > --- > > Emil Chr. Melar I converted the attributes to XML, and load those from my XML configuration manager that serializes this into an object with an array if Control IDs that I map up. I also believe it would go faster than reflection. Solved! -- Emil Christopher Melar Emil Christopher Melar |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mind Control and CIA'S BOURNE IDENTITY PLOT | soleilmavis@gmail.com | DVD Video | 2 | 08-03-2007 09:54 PM |
| Ajax Atlas not working in User Control | faiq | Software | 0 | 09-16-2006 08:28 AM |
| FS: JP1 cable to program your universial remote control, now youcan control anything you want! | Mike | DVD Video | 0 | 07-15-2005 02:46 AM |