[CLOSED] Handle ViewState change values on DirectEvents

  1. #1

    [CLOSED] Handle ViewState change values on DirectEvents

    Hi,

    I've trying to make ViewState working with DirectEvents but since callback doesn't support SaveViewState / LoadViewState page Lifecycle.

    I wonder if there is something similar to ViewState in Ext.Net package which working same that ViewState and support Callbacks?

    Thanks,
    ViDom
    Last edited by Daniil; Sep 27, 2012 at 6:37 PM. Reason: [CLOSED]
  2. #2
    Hi,

    I think setting ViewStateMode to Enabled should help.

    Example
    <DirectEvents>
        <Click OnEvent="TestDirectEventHandler" ViewStateMode="Enabled" />
    </DirectEvents>
  3. #3
    Quote Originally Posted by Daniil View Post
    Hi,

    I think setting ViewStateMode to Enabled should help.

    Example
    <DirectEvents>
        <Click OnEvent="TestDirectEventHandler" ViewStateMode="Enabled" />
    </DirectEvents>
    after i made this change it start working but now when I clicked on button created after first callback. I've got exception raise:
    Can't find the property 'Columns' in class 'Button'
    Probably it's because I changing controls on direct events. Is it normal behaviour ?
    I was unable to make simple sample for this kind of issue.
  4. #4
    Please post a stack trace and details of the Exception.

Similar Threads

  1. [CLOSED] MultiCombo Change Event Not Saving ViewState
    By garrisrd in forum 1.x Legacy Premium Help
    Replies: 14
    Last Post: Nov 29, 2011, 8:26 PM
  2. [CLOSED] can't change image's imageurl in directevents
    By lonely7345 in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Aug 01, 2011, 7:27 AM
  3. Replies: 10
    Last Post: Oct 03, 2010, 5:24 PM
  4. Replies: 4
    Last Post: Sep 01, 2010, 9:25 PM
  5. Replies: 0
    Last Post: Jul 09, 2010, 4:19 PM

Tags for this Thread

Posting Permissions