globalization problem

N

norm dingle

I need to be able to change the header text language.

When I change the text my sort hyperlink disappears.
Does anyone know how to get it back?

I have not been able to get it to work.

Thanks
Norm
 
A

Alvin Bruney

you can't add text back you need to add a hyperlink control with the
appropriate text embedded in the control
 
N

norm dingle

I thought of that, but I don't know what the control should reference for
the sorting.
Guesss I just have a block on this one.

Norm
 
A

Alvin Bruney

i think you are after this snippet:

//add a hyperlink for bogus results

HyperLink tb = new HyperLink();

tb.ForeColor = Color.Blue;

tb.Text = "Invalid";

tb.Font.Size = FontUnit.XXSmall;

tb.NavigateUrl = "Invalid.aspx";

e.Item.Controls[e.Item.Cells.Count - 1].Controls.Add(tb);

tb = null;
 

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

Forum statistics

Threads
473,781
Messages
2,569,615
Members
45,294
Latest member
LandonPigo

Latest Threads

Top