i want to change the title of my page.aspx through its control webcontrole.ascx
Asked
Active
Viewed 233 times
3
-
Perhaps you should explain how making it a variable didn't work... – Ignacio Vazquez-Abrams Jul 05 '10 at 01:04
1 Answers
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