3

i want to change the title of my page.aspx through its control webcontrole.ascx

fmark
  • 57,259
  • 27
  • 100
  • 107
azeem
  • 351
  • 1
  • 3
  • 6

1 Answers1

5
Page.Header.Title = "My Title";

I would generally recommend against this, though. Why? Imagine if two controls tried to do this...

Dean Harding
  • 71,468
  • 13
  • 145
  • 180
  • excelent , perfect , good good good ;), :) :) .. . . . .. . .. . . . .. . .. . . . .. ............. . . ... . .. . .. .. . .. . . .. . .. . .. . .. . . . .. . .. . .. . . . .. . .. . . – azeem Jul 05 '10 at 01:17