Using TR instead of DIV for AjaxOptions UpdateTargetId?

basically, i have a Comments.ascx and a Comment.ascx file, and do the typical For Each loop to display comments using both files…Now, as you’d expect, the Comments.ascx contains the header stuff, like this… and in the middle (the Comment.ascx file), i have the typical…….type stuff, now all i want to do is, …

via Asp.Net Developed Tutorials » Search Results » ajax:

Using TR instead of DIV for AjaxOptions UpdateTargetId?

basically, i have a Comments.ascx and a Comment.ascx file, and do the typical For Each loop to display comments using both files…
Now, as you’d expect, the Comments.ascx contains the header stuff, like this…


and in the middle (the Comment.ascx file), i have the typical…
….type stuff, now all i want to do is, using ajax, update a comment, say to make it editable…
html syntax doesn’t allow me to put a div tag between the TABLE and the TR elements, since this is the area i want the update to occur.
I don’t want to update the entire comments panel, just one comment. and i can’t put the div inside the TD’s either, as there are too many of them…
i can do this…

‘ stuff goes here, including another full table to get things working like you used to.

but it feels like im creating more tables then i need too, and it requires a redesign to get things working again
is there a better way to do this? can you target a TD or TR instead of a DIV in the ajaxOptions? or is there a better way?

For more info: Using TR instead of DIV for AjaxOptions UpdateTargetId?

Asp.Net Developed Tutorials » Search Results » ajax

Using TR instead of DIV for AjaxOptions UpdateTargetId?

Share this post:

Related Posts

Leave a Comment