Click here to Skip to main content
15,887,027 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Urgent ...... ****** Remote computer connection Pin
Bino B3-Aug-07 7:12
Bino B3-Aug-07 7:12 
Questionline break with detailsview control Pin
orsini2-Aug-07 5:47
orsini2-Aug-07 5:47 
AnswerRe: line break with detailsview control Pin
Fred_Smith2-Aug-07 7:22
Fred_Smith2-Aug-07 7:22 
GeneralRe: line break with detailsview control Pin
orsini2-Aug-07 7:42
orsini2-Aug-07 7:42 
GeneralRe: line break with detailsview control Pin
Fred_Smith2-Aug-07 7:48
Fred_Smith2-Aug-07 7:48 
GeneralRe: line break with detailsview control Pin
orsini2-Aug-07 7:56
orsini2-Aug-07 7:56 
GeneralRe: line break with detailsview control Pin
orsini2-Aug-07 9:00
orsini2-Aug-07 9:00 
GeneralRe: line break with detailsview control Pin
Fred_Smith2-Aug-07 11:38
Fred_Smith2-Aug-07 11:38 
well, no.. you either need to do this (sort of thing) in the ItemDatabound event, or else in the ItemTemplate of your datalist control instead of just binding it directly to the pdesciption field you have to call a function to format the display, passing the data as argument

<ItemTemplate>
<%# myFormatFunction( DataBinder.Eval(Container.DataItem, "pdescription") ) %>
</ItemTemplate>

Then in your code behind the function would be

Function myFormatFunction (ByVal s As String) As String
Return s.replace(vbCrLf, "<br />")
End Function
GeneralRe: line break with detailsview control Pin
orsini3-Aug-07 3:34
orsini3-Aug-07 3:34 
GeneralRe: line break with detailsview control Pin
Fred_Smith4-Aug-07 6:44
Fred_Smith4-Aug-07 6:44 
QuestionPopup windows Pin
RichardGrimmer2-Aug-07 5:30
RichardGrimmer2-Aug-07 5:30 
AnswerRe: Popup windows Pin
Vasudevan Deepak Kumar2-Aug-07 5:34
Vasudevan Deepak Kumar2-Aug-07 5:34 
GeneralRe: Popup windows Pin
RichardGrimmer2-Aug-07 5:44
RichardGrimmer2-Aug-07 5:44 
QuestionSQL/Item list collection Pin
wpoopsi2-Aug-07 5:27
wpoopsi2-Aug-07 5:27 
AnswerRe: SQL/Item list collection Pin
kubben2-Aug-07 6:31
kubben2-Aug-07 6:31 
AnswerRe: SQL/Item list collection Pin
wpoopsi2-Aug-07 6:38
wpoopsi2-Aug-07 6:38 
QuestionCrystal Reports and Reporting Services Pin
ZeroInfinity2-Aug-07 4:50
ZeroInfinity2-Aug-07 4:50 
Questioncontrol datagrid1_.... must be placed inside a form tag with runat=server. Pin
MissionSuccess2-Aug-07 3:40
MissionSuccess2-Aug-07 3:40 
Questionhot regions on image maps Pin
pipet20022-Aug-07 3:16
pipet20022-Aug-07 3:16 
QuestionOpen popup window from gridview Pin
tahsinates2-Aug-07 3:06
tahsinates2-Aug-07 3:06 
AnswerRe: Open popup window from gridview Pin
kubben2-Aug-07 3:23
kubben2-Aug-07 3:23 
GeneralRe: Open popup window from gridview Pin
tahsinates2-Aug-07 3:41
tahsinates2-Aug-07 3:41 
GeneralRe: Open popup window from gridview Pin
kubben2-Aug-07 3:48
kubben2-Aug-07 3:48 
GeneralRe: Open popup window from gridview Pin
tahsinates2-Aug-07 3:59
tahsinates2-Aug-07 3:59 
GeneralRe: Open popup window from gridview Pin
kubben2-Aug-07 4:02
kubben2-Aug-07 4:02 

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.