Registered: 1141162439 Posts: 256
Registered: 1163009962 Posts: 146
Reply with quote #2
I was looking for this today. Appreciate you sharing. Wayne __________________
Former Senior Web Engineer
CEO Simple And Smart Apps IronSpeed MVP
Registered: 1066224327 Posts: 1,686
Reply with quote #3
If coding was not considered to be weak, Iron Speed could give us the option of having convience methods like this generated for us. Or perhaps someday a real API into the code generator, so that we could easily do this as part of extending what is otherwise a wonderfull product. Alas, that day will likely never come.
__________________ Miles Gibson, MScIS Iron Speed MVP Senior Consultant, Principal Milestone Software Inc. http://www.ironspeedmvp.co m\localizer Email: email@example.com Milestone Localizer: Full Localization for your Iron Speed applications!
Registered: 1247170309 Posts: 223
Reply with quote #4
+1 for the Alas...
+2 for the extension method... __________________ Paul
Registered: 1112254853 Posts: 1,962
Reply with quote #5
This is a pretty common alternative on Page's classes of Wed applications.
Another simple option is to make public declaration at the top of section 1 like: public System.Web.UI.WebControls.TextBox CustomerID; Then you can refer to the CustomerID anywhere within the same class. Cheers, Jimi J __________________
Iron Speed MVP Developer ". . . and whoever sows generously will also reap generously" 2 Cor 9:6