User2098947605 posted
Trying to implement a class for ITemplate...getting the error in the subject line on this line of code:
AddHandler lc.DataBinding, AddressOf TemplateControl_DataBinding()
Private Sub TemplateControl_DataBinding(ByVal sender As Object, ByVal e As System.EventArgs)
Dim lc As Literal
lc = sender
Dim container As DataListItem = lc.NamingContainer
lc.Text += "<divPost""><divPostTitle""><A href=" & DataBinder.Eval(container.DataItem, "URL") & ">" & DataBinder.Eval(container.DataItem, "Title") & "</a></div><div
class=\PostSubtitle\>" & DataBinder.Eval(container.DataItem, "Description") & "</div> <divPostInfo"">Posted on " & DataBinder.Eval(container.DataItem, "CreatedOn", "{0:d} @ {0:t}") & " By " & DataBinder.Eval(container.DataItem,
"CreatedBy") + " in " & DataBinder.Eval(container.DataItem, "Category") & "</div> "
End Sub
I've done this before I just don't see what I missed.
Thks
<input id="gwProxy" type="hidden"><!--Session data--><input onclick="jsCall();" id="jsProxy" type="hidden">