Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Add a Comment in Grid View (Read 3217 times)
Sachin
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 85
Joined: Mar 14th, 2009
Add a Comment in Grid View
Apr 14th, 2009 at 5:18am
Print Post  
HI

I need to add a comment in gridView  like Excel

is it possible in Diagramlight
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Add a Comment in Grid View
Reply #1 - Apr 14th, 2009 at 11:05am
Print Post  
Hi,

This looks like what the ToolTip property of items does. You will still have to provide the UI for entering the comments text.

Stoyan
  
Back to top
 
IP Logged
 
Sachin
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 85
Joined: Mar 14th, 2009
Re: Add a Comment in Grid View
Reply #2 - Apr 14th, 2009 at 12:11pm
Print Post  
HI
I dont want to use Tool tip i want to adda comment in DIagramlight

if i right click and add a cooment then it should be insert in diagram light user go and click or hover it should come like tool tip , i have a problem is
DIagramlight doesnt support Context menu
if i am using html context menu lot of problems
already posted this issue please give the good solution
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Add a Comment in Grid View
Reply #3 - Apr 14th, 2009 at 3:24pm
Print Post  
How do you imagine we could add support for context menus when Silverlight does not provide right-click events? The only way to do that we found is via html contextmenu event handlers, and we don't think it's a good idea for a custom control to access the html page just to expose this as a builtin right-click event. What we could do is add a tap-and-hold event (as in PocketPCs), and then you would display a context menu when the users hold the left mouse button depressed for some time over an item. Let me know if this will do.

Stoyan
  
Back to top
 
IP Logged
 
Sachin
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 85
Joined: Mar 14th, 2009
Re: Add a Comment in Grid View
Reply #4 - Apr 14th, 2009 at 5:20pm
Print Post  
HI Stoyo

First of all thanks for ur interest ,
i implemented context menu  using some third party tool , actualy  now what i want is i need to add COmments in Diagramlight Like Excel user double click and change it like that ,.  can u help to implement this one


Thank you

sachin
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Add a Comment in Grid View
Reply #5 - Apr 15th, 2009 at 8:21am
Print Post  
Hi,

You could implement entering the comment by creating a temporary ShapeNode and calling Diagram.BeginEdit(tempNode). Handle the NodeTextEdited event by setting the text entered as a Tooltip for the clicked node, and then remove the temporary one from the diagram.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint