Hi Prakash, I am facing the same same problem. Did u find the solution to
your problem. if, so could you share with us.
Regards
"Prakash" wrote:
> I am creating new datagrid as web user control.
> i am generating the columns of datagrid using the
> CoundColumn method dynamically. after that i am added the
> object of the column to the datagrid. i want to sort the
> data. i am fiven the experssion like
>
> Dim dummyCol as BoundColumn
> dummyCol.SortExperssion = "Emp_Name"
> dummyCol.DataSource = "Emp_Name"
>
> I am written the code in
> Sub dgCommon_SortCommand(ByVal source As Object, ByVal e
> As System.Web.UI.WebControls.DataGridSortCommandEventArgs)
>
> End Sub
>
> My Problem is When i click the sort comman in the datagrid
> (Linkbutton) OnSortCommand is not Trigged
>
> If possible please tell me why event is not fiering?
>
> Regards
> Prakash.C
>
>
>
|