MultiView display "Untitled" as title

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Asp.Net 2.0
When I drag a Multiview control from the ToolBox onto a WebPartZone, The
MultiView displays a title of Untitled immediately above the Multiview title
bar. When I show the form in the browser, the word Untitled displays again
above the View that I placed in the Multiview.

How can I get rid of it or change it to something meaningful?
Thanks
Jav
 
Okay, I got it. I can do this:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles Me.Load
If (Not Me.IsPostBack) Then
For Each part As WebPart In WebPartManager1.WebParts
If TypeOf part Is GenericWebPart Then
part.Title = "Wow"
End If
Next
End If
End Sub

Jav
 
Back
Top