Click here to Skip to main content
15,892,480 members
Home / Discussions / ASP.NET
   

ASP.NET

 
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 
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 
HI Senthil

Use this code in Aspx page inside gridview

<asp:templatefield xmlns:asp="#unknown">
<headertemplate>Column Heading
<itemtemplate>
<%#FormatString(Eval("ColumnName").ToString(),20)%>



in .cs file just write down this function

public string FormatString(string strval, int length)
{
string temp = strval;
if (temp.Length > length)
temp = temp.Substring(0, length - 3) + "...";
return temp;
}

Just guese here I am passing 20 as a lenth variable so it will add ... if string is more than 20 characters

http://techiefromsurat.blogspot.com/
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 &gt;net ? Pin
subrat4all12-Nov-08 17:41
subrat4all12-Nov-08 17:41 
AnswerRe: How to do Silent Remote Instalation in &gt;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 
AnswerRe: page level variable Pin
N a v a n e e t h12-Nov-08 16:48
N a v a n e e t h12-Nov-08 16:48 
AnswerRe: page level variable Pin
Brij12-Nov-08 18:12
mentorBrij12-Nov-08 18:12 

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.