This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - Code for Refreshing the Form

raviraj - Friday, April 1, 2011 9:42 AM:

Hello

i want to refresh the form with Code. Will any body tell me how i do that.

 

Raviraj



Nick - Monday, April 4, 2011 10:41 AM:

Yea I'd also like to understand how this works. It seems like you can use HandleItemChange("<control name>", "<value input"); but that only works for the text part of that control. Anyone know if there's more you can do with this? For example $('#selector').append('<option value="foo">bar</option>'); doesn't often seem to work the way it's supposed to.



Phil - Monday, April 4, 2011 1:03 PM:

Here is the code that I use.....be aware that I use this code for Field Events in a form...the context item would be different for Form Events or any other type of events.

 

var newver = top.aras.saveItemEx(document.thisItem.node,false);
top.aras.uiReShowItemEx(document.itemID,newver);



vishal_trivedi - Wednesday, April 6, 2011 7:55 AM:

Hi Ravi,

Please try below javascript code.

top.aras.clearClientMetadataCache();

or refer

725th line of  MainMenu.aspx you might get idea how to use it.

Vishal



Rajnikant - Thursday, March 24, 2016 10:42 AM:

It was really worked for me