P
Patrick Olurotimi Ige
I have one jscript in the ItemDataBound Method below
which loads a Calendar..
But i want o add another strTextBoxName2 string to the same method cos i
need to pass it to another Hyperlink2.
Any idea?
Private Sub dtgOrders_ItemDataBound(ByVal sender As Object, ByVal e As
System.Web.UI.WebControls.DataGridItemEventArgs) Handles
dtgOrders.ItemDataBound
If e.Item.ItemType = ListItemType.EditItem Then
Dim strTextBoxName As String =
e.Item.Cells(0).FindControl("txtdate").ClientID()
CType(e.Item.FindControl("lbtnCalendar"),
HyperLink).NavigateUrl =
"javascript:calendar_window=window.open('DGCal.aspx?formname=Form1." &
strTextBoxName &
"','DatePicker','width=250,height=190,left=360,top=180');calendar_window
..focus();"
End If
End Sub
which loads a Calendar..
But i want o add another strTextBoxName2 string to the same method cos i
need to pass it to another Hyperlink2.
Any idea?
Private Sub dtgOrders_ItemDataBound(ByVal sender As Object, ByVal e As
System.Web.UI.WebControls.DataGridItemEventArgs) Handles
dtgOrders.ItemDataBound
If e.Item.ItemType = ListItemType.EditItem Then
Dim strTextBoxName As String =
e.Item.Cells(0).FindControl("txtdate").ClientID()
CType(e.Item.FindControl("lbtnCalendar"),
HyperLink).NavigateUrl =
"javascript:calendar_window=window.open('DGCal.aspx?formname=Form1." &
strTextBoxName &
"','DatePicker','width=250,height=190,left=360,top=180');calendar_window
..focus();"
End If
End Sub