Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
590
How to the columns in grid in page load event
posted

Hi,

I am having some problem with  using ultraweb grid,We wanted to Initialize coulmn's in asp.net page load event. 

Example :

we are having column name like(FirstName,Last Name,Address,Grade) Based on the condition i wanted to Initialize grid view column

please help me to In whic event i needs to check the condition .

Example Code :

Protected

Sub uwgTransfer_InitializeLayout(ByVal sender As Object, ByVal e As Infragistics.WebUI.UltraWebGrid.LayoutEventArgs) Handles

uwgTransfer.InitializeLayout

Try

uwgTransfer.Columns(0).Hidden = ColumCanBeVisible(uwgTransfer.Columns(0).Key.ToString())

Catch PromisEx As

Exception

Throw

PromisEx

End

Try

End

Sub

It's not filtering above event

 

Thanks for advance


 

Parents Reply Children
No Data