Pass value to Advanced Form

6 posts, 0 answers
  1. Brian Wong
    Brian Wong avatar
    9 posts
    Member since:
    Jan 2010

    Posted 08 Jul 2010 Link to this post

    When double clicking on a scheduler, I want to be able to pass a value to the advanced form so it can use it to grab more values from the database when loading.

    Can someone give me an example of how to pass a value to the advanced form? I have already set up properties etc in the advanced form, I'm just not sure how to pass it when double clicking a timeslot in the scheduler for appointment insert.

    Thanks in advance.
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 13 Jul 2010 Link to this post

    Hi Brian,

    You can acess controls in the advanced form in FormCreated as shown in this kb article and set their properties. Is this what you need?

    Kind regards,
    Peter
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Brian Wong
    Brian Wong avatar
    9 posts
    Member since:
    Jan 2010

    Posted 13 Jul 2010 Link to this post

    Thats all good for controls, but what about public properties that have been created in the advanced form?
  5. lordscarlet
    lordscarlet avatar
    19 posts
    Member since:
    Jan 2007

    Posted 13 Jul 2010 Link to this post

    Is this something attributes could take care of?
  6. Brian Wong
    Brian Wong avatar
    9 posts
    Member since:
    Jan 2010

    Posted 14 Jul 2010 Link to this post

    I'm not sure I quite understand what you mean. Could you explain maybe with an example or otherwise?
  7. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 14 Jul 2010 Link to this post

    Hi Brian,

    What about setting a session in FormCreated and then using the session value in the AdvancedForm user control?

    Greetings,
    Peter
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017