Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
123 views
Hi,

I'm working on a bit of a mashup of functionality and could use some guidance.  Our application has the need to drag from a list of items (call it A) to another list of items (call it B).  This issue gets complex however because the items need to appear different in list A than they do in B.  For example A contains text items and B contains image representation of the text dragged in A.  It gets further complicated because list B needs to render not in a set of rows, but rather side by side wrapping automatically to the next line (ex. Grid ListView/DataList View).  The final complication is that I need to be able to drag/drop re-order the items in list B.

So, right or wrong, I've been able to cover a lot of the functionality by combining the ability to drag from a tree to a grid with the ability to render grid items as shown in the 'ListView/DataList View' example on the site (I suppose I could also have done a grid to grid drag and drop).  Now I'm trying to figure out how I can re-order and even delete items from the grid in a moderately elegant way.  What it really boils down to is this; is there a way to render grid data as shown in the 'ListVIew/DataList View' example, but still enable drag drop of items in that list.  When I try enabling the client side settings for row drag drop I'm not able to drag my individual items.  It tries to treat the whole grid as one row (which I suppose it may be).

Thanks for reading to the end if you made it.  Thanks further if you have any ideas.

Attached is a screenshot of what I have so far.

-Steve
Sebastian
Telerik team
 answered on 16 Oct 2009
1 answer
134 views
Hi,
I'm just starting to look at the Visual Style Builder to create new skins - my old skins are broken. But I do not see the Dock control listed in the supported set of controls. Why is this?
Clayton
Paul
Telerik team
 answered on 16 Oct 2009
1 answer
125 views
Hello Telerik!

Some nodes can be checked on the server and there are checked also in the generated control (leaf nodes). Some nodes can be checked on the server programatically, also data for the control contains JSON array: checked:1, but generated treeview does not contain checked nodes. In fact only leaf nodes can be checked on server side when tri-state checkboxes are enabled.

        void treeView_NodeDataBound(object sender, RadTreeNodeEventArgs e)  
        {  
            int i;  
            if (this.keys != null)  
            {  
                for (i = 0; i < this.keys.Length; i++)  
                {  
                    if (keys[i] == e.Node.Value)  
                        break;  
                }  
                if (i < this.keys.Length)  
                {  
 
                    if (this.treeView.CheckBoxes)  
                        e.Node.Checked = true;  
                    else  
                        e.Node.Selected = true;  
                }  
            }  
        } 
<RadTreeView DataTextField="n_code_name" DataFieldID="n_id" DataFieldParentID="att_50170_key" DataValueField="n_id" Skin="Office2007" CheckBoxes="True" TriStateCheckBoxes="true" CheckChildNodes="false" /> 


Thank you Tom
Vesko
Top achievements
Rank 2
 answered on 16 Oct 2009
5 answers
296 views
I have a two radio buttons and checkbox that when one of the radio buttons is selected the the check box should be unchecked and hidden..

I have tried this 

//hide: 0 or 1 to determine hide or show action 
function HideShowTakeMeThere(chk_TakeMeThere,lbl_TakeMeThere, hide) 
{   
var chk = document.getElementById(chk_TakeMeThere);  
var lbl = document.getElementById(lbl_TakeMeThere);  
chk.style.visibility = lbl.style.visibility = hide == 1 ? "hidden" : "visible";  
} 


which work great until I added form decorator .. now it doesn't work at all 
so I tried as well but not working also  
 chk.style.display = 'none'; 

any ideas?
thank you
Martin
Telerik team
 answered on 16 Oct 2009
1 answer
171 views
Good Day Madams and Sirs,

Once again, if this is a repeat post, guide me to an answer, thank you.

FF vs IE.

When using  the FormDecorator on a page, all skins/styles are applied and working.  However, in Firefox, the application of a skin/style to a CheckBox kills the focus indication (the added border no longer shows on focus).  The mouseover works fine in both browsers.

This can be tested in the demos for the FormDecorator here:
http://demos.telerik.com/aspnet-ajax/formdecorator/examples/default/defaultcs.aspx

Is there anyway to prevent the focus indication from being removed?
Martin
Telerik team
 answered on 16 Oct 2009
2 answers
154 views
Hi,

Like the title says. when I load something with the RadXmlHttpPanel the formdecorator does not decorate the controls.
How can I make it trigger?

kind regards,
Wim
Wim van der Linden
Top achievements
Rank 1
 answered on 16 Oct 2009
1 answer
73 views
I just purchased the upgrade as I wanted to integrate some of the new features, but the format of the controls seems to be quite different from the controls I am using now. My current setup is a folder called RADControls which contains another folder for each of the controls I am using the in project. I also have a separate DLL file for each control that I am using the bin folder.  It seems like now there is simply a skins folder and a single DLL file. So my question is, what is the best upgrade procedure, keeping in mind I don't want to have to re-write my entire applicaiton to work with the new controls. I am hoping I can just pop in the new DLL's and existing .aspx and aspx.vb code will work the same.

Thanks in advance.

Brian Brinks
Princy
Top achievements
Rank 2
 answered on 16 Oct 2009
1 answer
127 views
Hi,
Is it possible to have one selected subitem under each item?
thanks.
Shinu
Top achievements
Rank 2
 answered on 16 Oct 2009
2 answers
121 views

1)How to set a row in radgrid as active row and take that particular index?
2)How to group three columns under one column in radgrid.
      For ex...
           Current is main column and under thar price,rate ,qty is der.

Please help me soon..

Thanks

Princy
Top achievements
Rank 2
 answered on 16 Oct 2009
1 answer
96 views
When I click Add New Row, appear the CommandItemDisplay correctly, but the grid is positioned in the last page, when It must be positioned in the page where I clicked.

Can you help me?

Thanks
Princy
Top achievements
Rank 2
 answered on 16 Oct 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?