Is there a way to get control's value properly when implementing XRender

  1. #1

    Is there a way to get control's value properly when implementing XRender

    Hi,

    I'm developing an application. For each function, I will load the approriate user control by implementing XRender. However, I see that when a direct event on the user control is triggered, I cannot get value of controls inside the user control.

    Do you know how to get control's value properly? Your help is appreciated.

    Thanks for your reading.
  2. #2

    RE: Is there a way to get control's value properly when implementing XRender

    A simplified .aspx code sample would help us understand your scenario.

    The following forum post might be helpful, see http://forums.ext.net/showthread.php...1.aspx#bm34797


    Geoffrey McGill
    Founder & CEO
  3. #3

    RE: Is there a way to get control's value properly when implementing XRender

    Dear Geoffrey,
    I've followed the post you addressed but it was not working. Hereby, send a sample for your consideration.

    Thanks for your help.
  4. #4

    RE: Is there a way to get control's value properly when implementing XRender

    Dear Geoffrey,

    I already have answer for my case. It is not possible to get value of coolite controls inside dynamic user web control because the coolite component does not update the hidden field __VIEWSTATE which is used to restore the page state on every trip backs. We can implement our own workaround to solve this case. However, we would like to use the proper implementation of Coolite component.

    We are looking forward to hear from you. Thanks for your reading.
  5. #5

    RE: Is there a way to get control's value properly when implementing XRender

    If you are just looking for the control's form data, you should be able to access it directly in the request via Me.page.request["MyControlUniqueID"]. Viewstate is used to restore properties of a control set dynamically. Textbox/input values are not stored in viewstate.
  6. #6

    RE: Is there a way to get control's value properly when implementing XRender

    Hi all,

    It is not a bug. It was my mistake. Sorry for that. The topic is closed.

Similar Threads

  1. Implementing a ComboTree extension
    By pschojer in forum User Extensions and Plugins
    Replies: 37
    Last Post: Nov 08, 2011, 12:22 PM
  2. Replies: 0
    Last Post: Oct 06, 2011, 1:38 PM
  3. Can XRender created control use server event?
    By firebank in forum 1.x Help
    Replies: 2
    Last Post: Jul 08, 2010, 11:49 AM
  4. [CLOSED] spotlight doesn't work properly with window control
    By LeeTheGreek in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Nov 10, 2009, 2:43 PM
  5. Implementing hot Keys for ToolbarButton
    By n_s_adhikari@rediffmail.com in forum 1.x Help
    Replies: 1
    Last Post: Sep 05, 2009, 4:20 PM

Posting Permissions