• ritha
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies

Please let me know how to solve ViewState Problem.....

 

In Sandbox:

Now I can able to create and send Email with attachment ....

And Whole functionality is going good in sandbox wheater I upload file of 200kb or 10kb.....

 

In Production

When  I am uploading file of below 135 kb it is working fine.....

but when I am exceeding from 135kb,  ViewState error is encountered in VisualForce page...by showing 

Error : Maximum view state size limit (135KB) exceeded. Actual view state size for this page was 410.891KB.  

 

does anybody have any idea how to get rid of this problem...???

Hi developers,

 

please solve my problem................

 

i am getting decimal output, i dont need only i will display number without decimal

what change i need to do?

NO. of items:<apex:outputPanel ><apex:inputField style="width:100px;" value="{!items.item1__c}" </apex:outputPanel>

 

this is sample code to convert number format with decimal points

<apex:page standardController="Account">
It is worth:
<apex:outputText value="{0, number, 000,000.00}">
       <apex:param value="{!Account.AnnualRevenue}" />
 </apex:outputText>
</apex:page>