Showing results for 
Search instead for 
Do you mean 
Community Home Request Access Read Blogs Share Your Ideas Search Community View My Settings
Reply
Highlighted
Tuned Listener
Posts: 26
Registered: ‎06-28-2010

Full page refresh question

I have a user lookup field which is populated with whatever it is bound to in the database. I am trying to find a way to make that box nullable. I have found a way to set it to null but it does not full bind and refresh with the code:

 

            Sage.Platform.WebPortal.Services.IPanelRefreshService refresher =
                form.WorkItem.Services.Get<Sage.Platform.WebPortal.Services.IPanelRefreshService>();
            
            refresher.RefreshAll();//Or any variant of this

 

I then tried to use the refresh method of:

 

            System.Web.HttpContext.Current.Response.Redirect(System.Web.HttpContext.Current.Request.Url.Tostring());

 

and I came up with the error:

 

An exception occurred executing the dynamic method EditAccountCommissions.QFButton_OnClick.:
Thread was being aborted.

 

The method works but I need to a manual refresh of the page in order to show that the field has been deleted.

 

Any suggestions about how I could null this lookup field or even just to a full page refresh.

 

 

Thanks in advance!

 

Matthew