MultiView display "Untitled" as title

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
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top