thx Anders will look into this
I haven't seen before this syntax where you put default_aspx into
parenthesis... what is that???
Seen the same when parsing custom sections from the web configuration file:
NameValueCollection sampleConfig = (NameValueCollection) ----------here ???
ConfigurationSettings.GetConfig("myDepartmentGroup/mySection");
string strKeyValue = (string)sampleConfig["myKey"]; --------- again with
string???
"Anders Borum" <a@b.dk> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
The Page property of your Controls and Page instance points to a baseclass
of type System.Web.UI.Page. In order to get hold of your public properties
(controls etc.), you'll have to cast the Page instance to your own type:
((default_aspx) this.Page).myLabel.Text = "My Text";
Not sure this is what you were looking for, but then again, you might have
learned something new :-)
--
venlig hilsen / with regards
anders borum
--