This is a migrated thread and some comments may be shown as answers.

RadAsyncUpload force clientside or using it in radcontextmenu

3 Answers 30 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Samir
Top achievements
Rank 1
Samir asked on 01 Apr 2011, 09:58 PM
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

3 Answers, 1 is accepted

Sort by
0
Peter Filipov
Telerik team
answered on 04 Apr 2011, 02:30 PM
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
0
randall
Top achievements
Rank 1
answered on 13 Apr 2014, 09:14 PM
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
0
Shinu
Top achievements
Rank 2
answered on 14 Apr 2014, 07:15 AM
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.
Tags
AsyncUpload
Asked by
Samir
Top achievements
Rank 1
Answers by
Peter Filipov
Telerik team
randall
Top achievements
Rank 1
Shinu
Top achievements
Rank 2
Share this question
or