Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
94 views
Am in the midst of moving codes to telerik and having some difficulty converting. The page i am working on has a treeview which is used for main navigation. on click it would load the relevant aspx page to a new tab. Been trying to look for answers and this is the best i could come to. It is able to load the pages correctly now, but each time i switch to another tab and then back, it would reset any data entry i made. Point here is the user should be able to do data entry on one tab and switch to another tab to do other stuff and then come back to continue what they are doing. Hope you can provide some pointers :) Thanks

ASPX

<telerik:RadTreeView ID="TreeView1" Runat="server" Skin="Hay" Font-Names="Verdana" Font-Size="9px" onnodeclick="TreeView1_NodeClick">
</telerik:RadTreeView>
                                   
<telerik:RadTabStrip ID="RadTabStrip1" runat="server" ontabclick="RadTabStrip1_TabClick"></telerik:RadTabStrip>
<iframe  id="ContentIframe4" width=100% height="600px" frameborder="0" runat="server"></iframe>

C#

protected void TreeView1_NodeClick(object sender, RadTreeNodeEventArgs e)
{
... database retrieve of sScreebnPath (url), stabname based on node click

       RadTab rtNewTab = new RadTab () ; 
RadTabStrip1.Tabs.Add(rtNewTab);
       rtNewTab.Text = sTabName; 
       rtNewTab.Attributes["url"] = sScreenPath;
       ContentIframe4.Attributes["src"] = sScreenPath;
}

protected void RadTabStrip1_TabClick(object sender, RadTabStripEventArgs e)
{
      ContentIframe4.Attributes["src"] = e.Tab.Attributes["Url"]; 
}
Dimitar Terziev
Telerik team
 answered on 14 Jul 2011
1 answer
108 views
Hi,
after a long search in the forum i have not found a solution to my problem.
It is similar to problem described in the Paloma laders Tirado's post "with RadTabScript Controls" .

The question is:
I have a .aspx page which job like "container". I need to add in it tabs (controls) with RadTabStrip and RadMultiPage.
The first time that i try to pass from one tab to the next one (using gotonexttab button) i do not succeed in loading new data into the selected tab; then, after a postback, i am able to see new data.

Dimitar Terziev
Telerik team
 answered on 14 Jul 2011
3 answers
150 views
I am looking to create grids dynamically from a database that have drag and drop row ability within the grids themselves, however prevent them from dragging and dropping outside of their parent grid.   I also want to keep performance in mind as well ...

User 1
    Project 1
    Project 2
    Project 3
  
User 2
    Project 4
    Project 5
    Project 6

User 3
    Project X
    Project Y
    Project Z

As shown above, users would be pulled from a database with the grid below them containing the projects that they are working on with the ability to drag and drop sort the order of the projects......  The project row would contain several columns with data relating to the project.  As a example, Project 5 could be moved above or below it's current position, however it could never be moved to User 1 through the drag and drop grid....

The Big Question:  Is this possible, and how would this be accomplished?  Any examples provided would be great....

Drew

Mira
Telerik team
 answered on 14 Jul 2011
1 answer
49 views
Hi ,

Found some typo in TreeView sample code on Telerik's documentation ,here the URL, Please update me with the right code snippet.

http://www.telerik.com/help/aspnet-ajax/treeview-checkboxes-check-uncheck-all-child-nodes.html

<script type="text/javascript" language="javascript">
 
    function UpdateAllChildren(nodes, checked) {
        var i;
        for (i = 0; i < nodes.get_count(); iif (checkednodes.getNode(icheck();
            }
            elsenodes.getNode(iset_checked(falseif (nodes.getNodei).get_nodesget_count() > 0) {
                UpdateAllChildren(nodes.getNode(i).get_nodes(), checked);
            }
        }
    }
    function clientNodeChecked(sender, eventArgs) {
        var childNodes = eventArgs.get_node().get_nodes();
        var isChecked = eventArgs.get_node().get_checked();
        UpdateAllChildren(childNodes, isChecked);
    }
 
</script>
Plamen
Telerik team
 answered on 14 Jul 2011
1 answer
99 views
How do I get the text from overlapping in the Major tick area.
See attached picture
Peshito
Telerik team
 answered on 14 Jul 2011
0 answers
36 views
Hello,
I am using RadAjaxLoadingPanel in my Application. Its working only IE7. Its not working other browsers. how can I fix it?

Thanks
Nahid
Nahid
Top achievements
Rank 1
 asked on 14 Jul 2011
3 answers
160 views

Hello,

We need to implement keyboard navigation for RadTreeView.  I understand that RadTreeView includes full keyboard navigation support. I looked at this example:

http://www.telerik.com/help/aspnet/treeview/tree_keyboard%20support.html

 

which is a good start but this is what we need:

 

Hot key support should work with <Alt> <Ctrl> <Letter>

e.g., <alt><ctr> A

When a user presses the above key combination, 

1. navigate the user to a particular child node in a tree (it might be several level deep in the tree) – select node

2. Expand the parent nodes so the selected node is visible to user

3. Simulate a node click event, so that data in other controls on the page might be changed in the callback

 

We are using ASP.Net Ajax and vb.net

The RadTreeView is populated server-side.

 

Please let me know if the above is possible and a working example will be great.

 

Thanks,

Plamen
Telerik team
 answered on 14 Jul 2011
1 answer
166 views
Hello,

We are using the RadMenu control with the SiteMapDataSource to display the navigation of our website, we need to use a multiple columns drop down menu when then number of subpages are greater than a predefined value.

i.e. if the predefined value is 4 for example, we are going to display one column drop down menu for the subpages number less than (or equal) 4, however if a page has 6 subpages for example, we have to display the first 4 columns in the first column then we have to break to the next column showing the next 2 subpages in the second column.

if we use the ItemDataBound event to specify the value of "RepeatedColumns" then the 6 subpages are going to be displayed in 2 columns; 3 subpages per column.

Is is available to implement the menu in this way?

Thanks.
Peter
Telerik team
 answered on 14 Jul 2011
3 answers
58 views
Hello, I've been looking at other topics and help sections and what I find is that I should use the following:

<telerik:AjaxSetting AjaxControlID="RadTabStrip1">
        <UpdatedControls>
            <telerik:AjaxUpdatedControl ControlID="RadTabStrip1" />
            <telerik:AjaxUpdatedControl ControlID="multiPage1" LoadingPanelID="RadAjaxLoadingPanel1" />
        </UpdatedControls>
    </telerik:AjaxSetting>
     <telerik:AjaxSetting AjaxControlID="multiPage1">
        <UpdatedControls>
            <telerik:AjaxUpdatedControl ControlID="multiPage1" LoadingPanelID="RadAjaxLoadingPanel1" />
        </UpdatedControls>
    </telerik:AjaxSetting>

But this is not working for me, I have no real clue why it's not working, but simply when I click around in with my RadTabStrip, I never get a ajaxloader, I have other things in my RadAjaxManger with other AjaxControls and they all work fine, its only this RadTabStrip that isn't working.

I look back at my code right now I realise that I have a OnClientTabSelected even on my RadTabStrip, I guess that this will interupt the postback and thus there will be no ajax to load? is this correct?

Is there any way to load the ajaxloader from clientside?

Or do I need todo some "personal" div=visible/none with a big loading picture to handle this manualy?
Kate
Telerik team
 answered on 14 Jul 2011
1 answer
105 views
I have a ReadGrid using EditForms for inserting/Updating.  I have a dropdownlist as one of the controls in the EditForm.  A button in the EditForm opens a RadWindow.  I want to rebind the dropdownlist when I close the RadWindow.

I've got the RadAjaxManager in place and the javascript to call the ajax request.  My question is, how do I access the EditForm control in the RadAjaxManager_AjaxRequest method in the codebehind?  I think I somehow need to get a GridEditFormItem so I can do a findcontrol to get my dropdownlist but I don't know how to do that.  The arguments of the RadAjaxManager_AjaxRequest don't give me access to the EditForm of the Grid.
Marin
Telerik team
 answered on 14 Jul 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?