Click here to Skip to main content
15,921,371 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Cant able to edit .net souce code. Pin
Padmanabh Ganorkar13-Nov-08 0:19
Padmanabh Ganorkar13-Nov-08 0:19 
AnswerRe: Cant able to edit .net souce code. Pin
eyeseetee12-Nov-08 22:34
eyeseetee12-Nov-08 22:34 
GeneralRe: Cant able to edit .net souce code. Pin
Raviraj12-Nov-08 22:50
Raviraj12-Nov-08 22:50 
QuestionAsp.Net Pin
Member 344710412-Nov-08 20:34
Member 344710412-Nov-08 20:34 
AnswerRe: Asp.Net Pin
Guffa12-Nov-08 21:55
Guffa12-Nov-08 21:55 
AnswerRe: Asp.Net Pin
Brij12-Nov-08 22:11
mentorBrij12-Nov-08 22:11 
QuestionHelp need in gridview Pin
Senthil S12-Nov-08 19:45
Senthil S12-Nov-08 19:45 
AnswerRe: Help need in gridview Pin
Padmanabh Ganorkar12-Nov-08 21:48
Padmanabh Ganorkar12-Nov-08 21:48 
Hi Senthil,

You can use GridView's RowDataBound Event for your task. The RowDataBound Event is raised while binding each and every row from DataSource. Here you can check the string length and do the stuff you want to do on it.
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
    if (e.Row.RowType == DataControlRowType.DataRow)
    {
        // Suppose 4th Cell has your huge Text
        if (e.Row.Cells[3].Text.Length > 150)
        {
            // Write Truncating Logic Here
        }
    }
}

I Hope This Helps. Smile | :)
Thanks,
Padmanabh
AnswerRe: Help need in gridview Pin
Ravi_2112-Nov-08 21:56
Ravi_2112-Nov-08 21:56 
AnswerRe: Help need in gridview Pin
Tarun Dudhatra13-Nov-08 0:30
Tarun Dudhatra13-Nov-08 0:30 
GeneralRe: Help need in gridview Pin
Elayaraja Sambasivam13-Nov-08 1:45
Elayaraja Sambasivam13-Nov-08 1:45 
Questionhow to develop website without using update panels using ajax. Pin
ashok@techxygen12-Nov-08 18:13
ashok@techxygen12-Nov-08 18:13 
AnswerRe: how to develop website without using update panels using ajax. Pin
Brij12-Nov-08 18:39
mentorBrij12-Nov-08 18:39 
GeneralRe: how to develop website without using update panels using ajax. Pin
ashok@techxygen12-Nov-08 19:47
ashok@techxygen12-Nov-08 19:47 
GeneralRe: how to develop website without using update panels using ajax. Pin
Brij12-Nov-08 20:22
mentorBrij12-Nov-08 20:22 
QuestionSoap Error Pin
SNI12-Nov-08 18:08
SNI12-Nov-08 18:08 
QuestionHow to do Silent Remote Instalation in >net ? Pin
subrat4all12-Nov-08 17:41
subrat4all12-Nov-08 17:41 
AnswerRe: How to do Silent Remote Instalation in >net ? Pin
Padmanabh Ganorkar12-Nov-08 23:13
Padmanabh Ganorkar12-Nov-08 23:13 
Questionaddressing a GridView column Pin
Member 294507912-Nov-08 14:03
Member 294507912-Nov-08 14:03 
AnswerRe: addressing a GridView column Pin
Sam.M12-Nov-08 17:44
Sam.M12-Nov-08 17:44 
GeneralRe: addressing a GridView column Pin
Member 294507912-Nov-08 19:12
Member 294507912-Nov-08 19:12 
GeneralRe: addressing a GridView column Pin
Sam.M12-Nov-08 19:40
Sam.M12-Nov-08 19:40 
QuestionPage unload event Pin
Dushan12312-Nov-08 13:52
Dushan12312-Nov-08 13:52 
AnswerRe: Page unload event Pin
N a v a n e e t h12-Nov-08 16:47
N a v a n e e t h12-Nov-08 16:47 
Questionpage level variable Pin
Dushan12312-Nov-08 13:49
Dushan12312-Nov-08 13: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.