Determine RadWindow Content with controls from Page

4 posts, 0 answers
  1. Mark DeMichele
    Mark DeMichele avatar
    74 posts
    Member since:
    Oct 2005

    Posted 03 Sep 2009 Link to this post

    I don't think you can do this, but I just want to check.  It would be a cool feature if we good.  Right now, I think the only way to populate a RadWindow is with a url to another page.

    For a lot of my pages is is a pain in the neck.  I'll explain why.  I have several pages with RadGrids.  The RadGrids have checkboxes to selected the rows.  After selecting the rows, the user can click a "Delete" button to delete the selected rows.  When they click it, I want to display a RadWindow with a confirmation and a list of items they are going to be deleting.

    The problem is that the way the RadWindow is designed, I need to supply it with a URL to "delete" page, and pass the selected ids and other information via a query string.  This is a problem since the query string has a limited length.

    Another way I devised to accomplish this using javascript and ajax to get the info onto the page that has the popup, but it's ugly and is prone to errors.

    A better way would be to allow for something like this on the base page.

    <RadWindow>
      <asp:Panel>
     other controls
    </asp:Panel>
    </RadWindow>

    Then when some click the delete button, I would get a post back. The grid viewstate will have all the info I need and I can use that to populate the stuff in the RadWindow.  I could then display the RadWindow and all events will go to the base page.

    This would be so cool if we could figure out a way to do it.
  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 04 Sep 2009 Link to this post

    Hi Mark,

    We are currently working to provide such feature for the RadWindow control :) It should be available with Q3 2009.



    Kind regards,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Mark DeMichele
    Mark DeMichele avatar
    74 posts
    Member since:
    Oct 2005

    Posted 04 Sep 2009 Link to this post

    Great! I'll be waiting eagerly.  Do you need a Beta Tester for this next release?  If so I may be interested.
  4. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 04 Sep 2009 Link to this post

    Hi Mark,

    Thank you for the offer, we will have it in mind :)
    Once we integrate this feature in the RadWindow control, I will post here. The feature will be available in the nightly builds, so you will be able to download and test it.



    Best wishes,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top