Iron Speed Technical Forums
Register Latest Topics
 
 
 


Reply
  Author   Comment  
avmgeo

Registered:
Posts: 11
Reply with quote  #1 
Hello

In a master-details page, I have added a panel to add the details table rows. The result being a new tab panel with only one tab for my detail table.

I am now trying to figure out how to change the default text of the tab name. By the default the name of the underlying table displays in the tab.

Please see attache print screen for reference.

Any help appreciated,

Thanks

Attached Images
Click image for larger version - Name: tabpaneltext.jpg, Views: 48, Size: 40.38 KB 

timt

Avatar / Picture

Iron Speed MVP
Registered:
Posts: 556
Reply with quote  #2 
Hi

You would need to locate the tab (FindControlRecursively) and change its title using some code (c# or vb) to match the underlying data.

The Master pages don't have code behind for some strange reason so you have to add the code as a script block to the master page in ISD

ie

Find Tabcontainer
Find Required TabPanel in TabContainer
Set the title of the Tabpanel

HTH

__________________
Tim Titchmarsh Iron Speed Consultant MVP
London UK based
+44 (0)1621 835002
http://www.lightspeeditsolutions.co.uk/dotnetarchitect
timt@dotnetarchitect.co.uk
timt@lsits.co.uk
mhweiss

Avatar / Picture

MVP Consultant
Registered:
Posts: 569
Reply with quote  #3 
Hello
If you click on your tab, can you view the properties panel for the tab? If so, you should have a Custom Properties where you can set the tab's text property to whatever you want.
Best Regards,
Michael

__________________
michael@occasiosystems.com
http://www.occasiosystems.com
avmgeo

Registered:
Posts: 11
Reply with quote  #4 
Many thanks for your replies. When I click on the panel control
Code:
<GENANEL NAME="Cat_style_langPanelHeader"/>
(as I can not see any control for the tab itself), I can only see one property in the sheet named ID.

So it seems there is a level missing between the panel and the collapsible region to allow modifying the tabs...
timt

Avatar / Picture

Iron Speed MVP
Registered:
Posts: 556
Reply with quote  #5 
Hi

You can modify the title in ISD as a static string, thats easy as the tabs will all be there sitting in their container. In ISD simply change the title from the properties. This assumes that of course you have dropped your control on the page, right clicked the cell and chosen the InsertTabs command.

Dynamically is alot tougher.

HTH

__________________
Tim Titchmarsh Iron Speed Consultant MVP
London UK based
+44 (0)1621 835002
http://www.lightspeeditsolutions.co.uk/dotnetarchitect
timt@dotnetarchitect.co.uk
timt@lsits.co.uk
pinbot

Avatar / Picture

MVP Consultant
Registered:
Posts: 956
Reply with quote  #6 
In design mode, in the grid select the "TabPanel" (or "TabPanel1") object.

The properties should then show for the Tab.   Change the "Title" property.

See attached image.


Attached Images
Click image for larger version - Name: 3-5-2013_6-44-32_AM.jpg, Views: 105, Size: 76.99 KB 

__________________
C. Bryan Patrick II
Iron Speed Designer MVP Consultant
Pseudo Consulting

mackie

Registered:
Posts: 4
Reply with quote  #7 
hi there,

where can you change the size and color of this title after you have changed the text?

thanks

__________________
Lorna
JimiJ

Avatar / Picture

MVP Developer
Registered:
Posts: 1,954
Reply with quote  #8 
Hi Lorna,

You can create a new css class and use it as shown:

New CSS Class.jpg 

Jimi J


__________________

  Jaime Jegonia
[jts_logo]

Iron Speed MVP Developer
 

". . . and whoever sows generously will also reap generously" 2 Cor 9:6

mackie

Registered:
Posts: 4
Reply with quote  #9 
ironspeedtitletab.JPG 





__________________
Lorna
mackie

Registered:
Posts: 4
Reply with quote  #10 
please see above photo

if I change the .dht it will only change the text in the gray area where "Edit WWWDR" text is.  I need to change the "Customer Information" text in the tabs

also I have been able to change the color to gray in all the other areas except for the Customer Information tab.  it will not let me leave the property blank like the others.

thank you

__________________
Lorna
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.

Download Iron Speed Designer

Terms of Service Privacy Statement