Edit page button on preview window
Posted: Thu Apr 19, 2007 8:54 am
I have done following code to remove the edit page button from report window but still it is showing on report window
Report.RegData(datSet)
Report.Load(Application.StartupPath + "\resource.mrt")
Dim mainMenu As StiMainMenuService = StiConfig.Services.GetService(GetType(StiMainMenuService))
If Not IsNothing(mainMenu) Then
mainMenu.ShowEdit = False
End If
Report.Compile()
Report.Show()
What should I do to remove that buttom from menubar of preview window?
Report.RegData(datSet)
Report.Load(Application.StartupPath + "\resource.mrt")
Dim mainMenu As StiMainMenuService = StiConfig.Services.GetService(GetType(StiMainMenuService))
If Not IsNothing(mainMenu) Then
mainMenu.ShowEdit = False
End If
Report.Compile()
Report.Show()
What should I do to remove that buttom from menubar of preview window?