Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...DNNGrid OnRowDrop e.HtmlElement=="undefined" instead of "" (Empty) DNNGrid OnRowDrop e.HtmlElement=="undefined" instead of "" (Empty)
Previous
 
Next
New Post
5/3/2012 5:38 AM
 
Hi everybody,

I posted the following question in the telerik forum, too. Here Iam trying to reach some DNNprofessionals who maybe can help me:
Iam starting this thread cause I couldnt find any answer to my problem in Google or this forum or somewhere else.
description:
I have got 3 Grids on my Page and want to drag a Item from Grid A and drop it on Grid B:
Grid A: source of drag
Grid B: target of drop
Grid C: test target of drop

My Grid C is an empty Grid without any special settings. Grid A is my source where I have some contact items listed. Grid B is wrapped into a telerik:RadAjaxPanel.
If I drag an item from Grid A and drop it on Grid C the eventargs in the codebehind in OnRowDrop looks like this:
? e
{Telerik.Web.UI.GridDragDropEventArgs}
    base {System.EventArgs}: {Telerik.Web.UI.GridDragDropEventArgs}
    DestDataItem: {Telerik.Web.UI.GridDataItem}
    DestinationGrid: {DotNetNuke.Web.UI.WebControls.DnnGrid}
    DestinationTableView: {Telerik.Web.UI.GridTableView}
    DraggedItems: Count = 1
    DropPosition: Above
    HtmlElement: ""

If I drag an item from Grid A and drop it on Grid B the eventargs looking like:
? e
{Telerik.Web.UI.GridDragDropEventArgs}
    base {System.EventArgs}: {Telerik.Web.UI.GridDragDropEventArgs}
    DestDataItem: null
    DestinationGrid: null
    DestinationTableView: null
    DraggedItems: Count = 1
    DropPosition: Above
    HtmlElement: "undefined"

This is only caused by the telerik:RadAjaxPanel if I remove the ajaxpanel it will work like in the first drag drop.
I alrdy read documentations here on telerik.com and looked into demos but couldnt find any answer to my problem.
I thought something about using the OnDragging method on client side to determine if the destination is wrapped by a telerik:RadAjaxPanel and react on this. For example setting the eventarg properties and filling it with the correct data on client side. (But this is just a guess I couldnt get it working)

It would be awesome if someone could help me with this problem.

best regards, marc.
 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...DNNGrid OnRowDrop e.HtmlElement=="undefined" instead of "" (Empty) DNNGrid OnRowDrop e.HtmlElement=="undefined" instead of "" (Empty)


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out