RadAsyncUpload force clientside or using it in radcontextmenu

4 posts, 0 answers
  1. Samir
    Samir avatar
    8 posts
    Member since:
    Jul 2009

    Posted 01 Apr 2011 Link to this post

    I need to add RadAsyncUpload as an item to RadContextMenu, but it should not be a button, should be a regular text menu item....how can i do this? if not possible, is there a way i can force RadAsyncUpload client side, so that i can have RadAsyncUpload hidden on the page somewhere and i can force it in the OnClientItemClicked of the RadContextMenu??
    Thanks
    -Samir
  2. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 04 Apr 2011 Link to this post

    Hi Samir,

    I've already posted an answer into the support thread regarding the similar question. Please review our answer and let us know how it goes.

    Kind regards,
    Peter Filipov
    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. randall
    randall avatar
    40 posts
    Member since:
    Apr 2009

    Posted 13 Apr 2014 Link to this post

    Peter,
    Please post this answer so others can learn from it too.
    I too have the same question, but have no idea on what your answer was

    thanks
  5. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 14 Apr 2014 in reply to randall Link to this post

    Hi randall,

    Please have a look into the sample code snippet to achieve your scenario.

    ASPX:
    <telerik:RadTextBox ID="RadTextBox1" runat="server">
    </telerik:RadTextBox>
    <telerik:RadContextMenu ID="RadContextMenu1" runat="server">
        <Items>
            <telerik:RadMenuItem Text="Item1">
            </telerik:RadMenuItem>
        </Items>
        <ItemTemplate>
            <telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server">
            </telerik:RadAsyncUpload>
        </ItemTemplate>
        <Targets>
            <telerik:ContextMenuControlTarget ControlID="RadTextBox1" />
        </Targets>
    </telerik:RadContextMenu>

    Let me know if you have any concern.
    Thanks,
    Shinu.
Back to Top