templatecolumn text, tooltip problem

  • Thread starter Thread starter bluewind44
  • Start date Start date
B

bluewind44

Hello, now I'm struggling with the tootip problem.

I've googled and found some sample code and tried it.

It works, but I have a problem with it.

I want to get the text of the templatecolumn,

but e.Item.Column.Text didn't work.

I know I can do it by using 'Lable', but I just wanna know

if there is the other way to do it.


Thanks

Seung-joon, Lee
 
If I understand you correctly, you are asking how to get the content of a
template column.

When you make your item template, you should assign an id to every control
in the template that you will want to access. Then you can access it in the
code with

e.Item.Column.FindControl (id);

Once you have a reference to the control, you can use it's properties, like
Text.

Eliyahu
 

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

Back
Top