Click here to Skip to main content
15,922,574 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Reading excel data into datatable Pin
Dinesh Mani3-Mar-10 21:42
Dinesh Mani3-Mar-10 21:42 
QuestionAuthorize.net SIM implementation issue Pin
Sudhanshu Mani Tripathi3-Mar-10 19:43
Sudhanshu Mani Tripathi3-Mar-10 19:43 
AnswerRe: Authorize.net SIM implementation issue Pin
rhandler12-Jun-10 21:16
rhandler12-Jun-10 21:16 
QuestionHow to create cab file for ActiveXControl? Pin
Prasadsm3-Mar-10 19:28
Prasadsm3-Mar-10 19:28 
QuestionCrytal Report Problem Pin
Any_India3-Mar-10 19:07
Any_India3-Mar-10 19:07 
AnswerRe: Crytal Report Problem Pin
Any_India3-Mar-10 22:37
Any_India3-Mar-10 22:37 
QuestionLooking for ASP .net2 To tell Memory and Tasklist of WebServer Pin
AndyBot3-Mar-10 19:06
AndyBot3-Mar-10 19:06 
Questionrestrict data by lines... Pin
pranavcool3-Mar-10 18:11
pranavcool3-Mar-10 18:11 
Hi,
I have span tag in HTML. I am retrieving some data from the database and showing it in the span tag. For e.g

this is code project this is code project this is code project
this is code project this is code project this is code project
this is code project this is code project this is code project
this is code project this is code project this is code project
this is code project this is code project this is code pro ...


Now currently i am restricting the data by number of characters.

Now i want to restrict the data by number of lines instead of number of characters. I want to restrict the data by 5 lines only.
If the data is more it will show an ellipse at the end of the fifth line and it would be a hyperlink which will navigate to another page showing the whole data.
Currently The functionality is working fine by number of characters. But the problem is that if the data contains some bold of capital letters it will show the the data in 6 lines instead of 5 lines and in turn it will spoil the design part.
Now my concern is to restrict the data by number of lines instead of number of characters. No matter however may be the data it will restrict the data by 5 lines only and i want to do it by using span tag or div tag or by using HTML table only.

So how it is possible using the span, div or HTML tag. Please provide some solutions for the same or provide some useful link containing the following or some useful code to achieve this.

Regards,
Pranav Dave

Questionmulti-language using globaluzation and localization Pin
Amit Spadez3-Mar-10 18:10
professionalAmit Spadez3-Mar-10 18:10 
AnswerRe: multi-language using globaluzation and localization Pin
Brij3-Mar-10 19:08
mentorBrij3-Mar-10 19:08 
AnswerRe: multi-language using globaluzation and localization Pin
Amit M patel3-Mar-10 19:48
Amit M patel3-Mar-10 19:48 
QuestionBinding records taking more time with paging Pin
Member 38798813-Mar-10 17:59
Member 38798813-Mar-10 17:59 
AnswerRe: Binding records taking more time with paging Pin
Viral Upadhyay3-Mar-10 18:26
Viral Upadhyay3-Mar-10 18:26 
AnswerRe: Binding records taking more time with paging Pin
Brij3-Mar-10 18:52
mentorBrij3-Mar-10 18:52 
AnswerRe: Binding records taking more time with paging Pin
Pranay Rana3-Mar-10 18:57
professionalPranay Rana3-Mar-10 18:57 
AnswerRe: Binding records taking more time with paging Pin
Amit M patel3-Mar-10 19:56
Amit M patel3-Mar-10 19:56 
QuestionDynamic Report Builder Pin
RB@Emphasys3-Mar-10 10:18
RB@Emphasys3-Mar-10 10:18 
AnswerRe: Dynamic Report Builder Pin
T M Gray3-Mar-10 10:54
T M Gray3-Mar-10 10:54 
GeneralRe: Dynamic Report Builder Pin
FyreWyrm3-Mar-10 14:16
FyreWyrm3-Mar-10 14:16 
QuestionEdit PDF files in Browser in asp.net Pin
pssuresh3-Mar-10 9:07
pssuresh3-Mar-10 9:07 
AnswerRe: Edit PDF files in Browser in asp.net Pin
Gregory Gadow3-Mar-10 10:28
Gregory Gadow3-Mar-10 10:28 
AnswerRe: Edit PDF files in Browser in asp.net Pin
AndyBot3-Mar-10 19:13
AndyBot3-Mar-10 19:13 
QuestionHow to create table with uneven columns [modified] Solved! Pin
josephu3-Mar-10 6:47
josephu3-Mar-10 6:47 
AnswerRe: How to create table with uneven columns Pin
Ennis Ray Lynch, Jr.3-Mar-10 10:11
Ennis Ray Lynch, Jr.3-Mar-10 10:11 
AnswerRe: How to create table with uneven columns Pin
T M Gray3-Mar-10 10:49
T M Gray3-Mar-10 10:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.