Click here to Skip to main content
15,902,918 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionRe: Can't resolve for a while. Link button in a datalist Pin
Albert834-Jan-09 15:09
Albert834-Jan-09 15:09 
AnswerRe: Can't resolve for a while. Link button in a datalist Pin
Not Active4-Jan-09 15:22
mentorNot Active4-Jan-09 15:22 
QuestionRe: Can't resolve for a while. Link button in a datalist Pin
Albert834-Jan-09 15:26
Albert834-Jan-09 15:26 
AnswerRe: Can't resolve for a while. Link button in a datalist Pin
Not Active4-Jan-09 15:29
mentorNot Active4-Jan-09 15:29 
AnswerRe: Can't resolve for a while. Link button in a datalist Pin
Albert834-Jan-09 15:32
Albert834-Jan-09 15:32 
AnswerRe: Can't resolve for a while. Link button in a datalist Pin
N a v a n e e t h4-Jan-09 15:15
N a v a n e e t h4-Jan-09 15:15 
GeneralRe: Can't resolve for a while. Link button in a datalist Pin
Albert834-Jan-09 15:18
Albert834-Jan-09 15:18 
GeneralRe: Can't resolve for a while. Link button in a datalist Pin
N a v a n e e t h4-Jan-09 15:26
N a v a n e e t h4-Jan-09 15:26 
Albert83 wrote:
But there are other items in the DataList = the username of who posted, date, and message. That's why I chose the DataList to retrieve it from the database.


I think you haven't got what I said. My point is to replace LinkButton with HyperLink button which will redirect to a particlular page and delete the supplied message. This is what CP is doing. You can see the Delete link points to a separate page which asks for the confirmation and delete it.

Albert83 wrote:
How would I use a hyperlink outside of the Data List so that it would be right below each message that has to be deleted?


How come it will be right below of the each message if you put it outside of DataList? The LinkButton/HyperLink should be placed at the end of template column. So that it will come with each message.

If you are creating some sort of forums, I believe repeater will be the right control than DataList. You will have more control over the rendered HTML.


GeneralRe: Can't resolve for a while. Link button in a datalist Pin
Not Active4-Jan-09 15:26
mentorNot Active4-Jan-09 15:26 
QuestionRe: Can't resolve for a while. Link button in a datalist Pin
Albert834-Jan-09 15:28
Albert834-Jan-09 15:28 
AnswerRe: Can't resolve for a while. Link button in a datalist Pin
Not Active4-Jan-09 15:31
mentorNot Active4-Jan-09 15:31 
GeneralRe: Can't resolve for a while. Link button in a datalist Pin
N a v a n e e t h4-Jan-09 15:30
N a v a n e e t h4-Jan-09 15:30 
GeneralRe: Can't resolve for a while. Link button in a datalist Pin
Albert834-Jan-09 15:39
Albert834-Jan-09 15:39 
GeneralRe: Can't resolve for a while. Link button in a datalist Pin
Not Active4-Jan-09 15:55
mentorNot Active4-Jan-09 15:55 
GeneralRe: Can't resolve for a while. Link button in a datalist Pin
Albert834-Jan-09 16:07
Albert834-Jan-09 16:07 
GeneralRe: Can't resolve for a while. Link button in a datalist Pin
Not Active4-Jan-09 16:41
mentorNot Active4-Jan-09 16:41 
GeneralRe: Can't resolve for a while. Link button in a datalist Pin
Albert834-Jan-09 16:53
Albert834-Jan-09 16:53 
GeneralRe: Can't resolve for a while. Link button in a datalist Pin
Not Active4-Jan-09 17:20
mentorNot Active4-Jan-09 17:20 
GeneralRe: Can't resolve for a while. Link button in a datalist Pin
Albert834-Jan-09 17:54
Albert834-Jan-09 17:54 
GeneralRe: Can't resolve for a while. Link button in a datalist Pin
N a v a n e e t h4-Jan-09 16:55
N a v a n e e t h4-Jan-09 16:55 
GeneralRe: Can't resolve for a while. Link button in a datalist Pin
Not Active4-Jan-09 17:16
mentorNot Active4-Jan-09 17:16 
GeneralRe: Can't resolve for a while. Link button in a datalist Pin
Albert834-Jan-09 17:21
Albert834-Jan-09 17:21 
GeneralRe: Can't resolve for a while. Link button in a datalist Pin
Not Active4-Jan-09 17:30
mentorNot Active4-Jan-09 17:30 
GeneralRe: Can't resolve for a while. Link button in a datalist Pin
Albert834-Jan-09 17:33
Albert834-Jan-09 17:33 
Questionsession timeout problem Pin
nour1234-Jan-09 6:43
nour1234-Jan-09 6:43 

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.