Eliyahu
Sun Mar 16 04:26:39 CDT 2008
Handle the datalist's ItemDataBound event. Use FindControl method to locate
the hyperlink inside the item, check the text length and format the text as
you wish.
--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"Tahir" <kurkcutahir@gmail.com> wrote in message
news:B90C59AD-75F9-4C31-9491-8348BAEE71CB@microsoft.com...
> showing search results using DataList and HyperLinks
> how can i cut results from 100. character and attach "..." there?
>
> thanks
>
> "Tahir" <kurkcutahir@gmail.com>, iletisinde þunu yazdý,
> news:078C77AA-971F-4C40-B65C-10614A849DDC@microsoft.com...
>> merhaba arkadaþlar
>>
>> website içerisinde arama sonuçlarýný DataList üzerinde HyperLink ile
>> veriyorum ama uzun sonuçlar için 100'er karakterden sonra "..." ile
>> kesmek istiyorum.
>> bunu nasýl yapabilirim?
>>
>> teþekkürler, iyi çalýþmalar
>