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
880
Having diffculty in changing Displaylayout.Override settings
posted

Hi:

 

I am using Ultragrid 11.1.20111.2111.

By default, my grid's layout is set to allow Add/Update/Delete of the rows.

Depending upon the administrative rights of the user, I am programmtucally trying to change these settings:

If gcApplUser.Sys_Admin Or gcApplUser.BE_Admin Then

                    ugBED.DisplayLayout.Override.AllowAddNew = AllowAddNew.Yes

                   'ugBED.DisplayLayout.Override.AllowDelete = DefaultableBoolean.True

         'ugBED.DisplayLayout.Override.AllowUpdate = DefaultableBoolean.True

Else

                    ugBED.DisplayLayout.Override.AllowAddNew = AllowAddNew.No

                    ugBED.DisplayLayout.Override.AllowDelete = DefaultableBoolean.False

End If

But when I sign up, I am not able to do any of these operations. I commented the entire IF .. End If and it works fine.

By the way, I am doing this after I load the layout file. 

What am I doing wrong?


venki

Parents Reply Children