Click here to Skip to main content
15,885,757 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i have a checkboxlist which is bind with a datatable the problem is coming i have a condition if the txt length>17 then it should append "..." with it in datatable its coming fine but when binding with checkboxlist it isdisplaying ... infront of the text can any body help me out please how to show it at end?
Posted
Updated 13-Feb-11 19:09pm
v3
Comments
Sunasara Imdadhusen 14-Feb-11 1:10am    
Please provide snippet of code where you are appending ...!
TanzeelAhmed 14-Feb-11 1:11am    
i have appended it at database side select
top(@Rows) RowNumber,RandomNum,Show_ID,Show_Image,
case when len(ltrim(rtrim(Show_Name))) > 17 then substring(ltrim(rtrim(Show_Name)),0,17)+'...' else ltrim(rtrim(Show_Name)) end Show_Name
from
PopularShows order by RandomNum
Sandeep Mewara 14-Feb-11 1:25am    
Looks like you handled in DB itself, so did you see the exact resultset that is being returned?

First find the place where thing is going wrong. DB or UI. Then troubleshoot further.
Abdul Quader Mamun 14-Feb-11 1:14am    
Provide full code that have done.
Monjurul Habib 14-Feb-11 1:33am    
your sql query seems ok, please provide the c# code where you bind the checkedboxlist.

1 solution

Check if you have set DIR of the container DIV or FORM to Right To Left.

Like,

<div dir="rtl" />
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900