Protected
Function ParseMessage(ByVal nWFCode As Integer, ByVal bIsRejected As Boolean, _
ByVal bIsHistory As Boolean, Optional ByVal sType As String = "P", _
Optional ByVal sDocId As String = "", _
Optional ByVal dbConn As SqlConnection = Nothing) As String
sStatusDesc = WorkFlowMessages.GetMessage(nWFCode, bIsRejected, bIsHistory, sType, sDocId, dbConn)
If
(txtFilter.Text <> "" And txtFilter.Text = sStatusDesc) Then
ViewState(
"StatDocid") += sDocId + ","
End If
In NeedDataSource eventds = GetDataSet()
Dim
docid As String = ViewState("StatDocid")
Dim filterExpression As String
Dim list As DropDownList = DirectCast(((txtFilter.NamingContainer).FindControl("drpFilterOnField")), DropDownList)
If (docid <> "") Then
Dim docidcnt As Integer = docid.Length
docid = docid.Remove(docidcnt - 1, 1)
filterExpression =
"(DocumentId in(" + docid + "))"
Dim dv As New DataView()
dv.Table = ds.Tables(0)
dv.RowFilter = filterExpression
WorkDetailsGrid.DataSource = dv
In WorkDetailsGrid_PreRender eventWorkDetailsGrid.MasterTableView.Rebind()
But it is not working.Is ther any way to solve my prbm.I bacme mad due to it
Plz help me....................
Hi Friends,
Can anyone help me solve this problem.
i am using Grid for Asp.Net Ajax.
This problem arises for me when i make the Property AutoGenerateColumns="False".
Thanks
K²

