Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
48 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
95 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
35 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
153 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
164 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
56 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
102 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
13 answers
128 views
After upgrade from 2011.1.315 to 2011.1.413 firefox throw jquery error 
c.defaultView.getComputedStyle(a, null) is null
(function(a,b){function ci(a){return d...a+"px")}}),a.jQuery=a.$=d})(window);

Chrome and ie work`s great.
It`s happens when IFrame window is in RadPanel
Andre Light
Top achievements
Rank 1
 answered on 14 Jul 2011
1 answer
105 views

Hi,
The ItemCommand on my RadGrid is not firing. Can someone point me in the right directions?

I am using a master page with the following telerik controls:

 

 

<telerik:RadScriptManager ID="DefaultMasterScriptManager" runat="server" EnableHistory="True">

 

 

 

</telerik:RadScriptManager>

 

 

 

<telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableShadow="true">

 

 

 

</telerik:RadWindowManager>

 

 

 

<telerik:RadAjaxManager ID="RadAjaxManager" runat="server" EnablePageMethods="true"

 

 

 

meta:resourcekey="RadAjaxManagerResource1" />

 

 

 

<telerik:RadAjaxLoadingPanel ID="DefaultLoadingPanel" runat="server" Skin="Default"

 

 

 

Transparency="-100" meta:resourcekey="DefaultLoadingPanelResource1">

 

 

 

</telerik:RadAjaxLoadingPanel>

and the following RadGrid control in a user control. With exception of the buttons the other grid columns are created dynamically as my grid is generic grid that serves many other user controls:

 

<

 

telerik:RadGrid ID="EventItemsGrid"

 

 

runat="server"

 

 

DataSourceID="EventItemsDataSource"

 

 

AllowAutomaticInserts="True"

 

 

AllowAutomaticUpdates="True"

 

 

AllowAutomaticDeletes="True"

 

 

AllowPaging="True"

 

 

EnableHeaderContextMenu="False"

 

 

AllowMultiRowSelection="false"

 

 

meta:resourcekey="LinkedEventsGridResource1"

 

 

AutoGenerateColumns="false"

 

 

AutoGenerateEditColumn="false"

 

 

AutoGenerateDeleteColumn="false"

 

 

OnItemCommand="EventItemsGrid_ItemCommand"

 

 

OnItemCreated="EventItemsGrid_ItemCreated"

 

 

OnUpdateCommand="EventItemsGrid_UpdateCommand"

 

 

OnItemDataBound="EventItemsGrid_ItemDataBound"

 

 

PageSize="5" width="100%" height="300px">

 

 

 

<headercontextmenu>

 

 

 

<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>

 

 

 

</headercontextmenu>

 

 

 

<clientsettings EnablePostBackonRowClick="true">

 

 

 

<Selecting AllowRowSelect="true"/>

 

 

 

<Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="True" />

 

 

 

</clientsettings>

 

 

 

<sortingsettings sortedbackcolor="White" />

 

 

 

<pagerstyle alwaysvisible="true" mode="NextPrevAndNumeric" position="Bottom" wrap="false" />

 

 

 

<filtermenu>

 

 

 

<CollapseAnimation Type="OutQuint" Duration="50"></CollapseAnimation>

 

 

 

</filtermenu>

 

 

 

<groupingsettings showungroupbutton="true" />

 

 

 

<mastertableview datakeynames="EventId" clientdatakeynames="EventId" datasourceid="EventItemsDataSource" commanditemdisplay="Bottom" tablelayout="Fixed" grouploadmode="Client" gridlines="None">

 

 

 

<Columns>

 

 

 

<telerik:GridButtonColumn UniqueName="DeleteCommandColumn" ButtonType="ImageButton" HeaderText="Remove" Text="Remove" CommandName="Delete" ConfirmText="Are you sure you want to remove [{0}] from the [{1}] role?" ConfirmTitle="Remove Confirmation" ConfirmDialogType="RadWindow" meta:resourcekey="DeleteColumnResource1">

 

 

 

<HeaderStyle Width="60px" />

 

 

 

<ItemStyle HorizontalAlign="Center" />

 

 

 

</telerik:GridButtonColumn>

 

 

 

<telerik:GridButtonColumn UniqueName="EditCommandColumn" ButtonType="ImageButton" HeaderText="Edit" Text="Edit" CommandName="Select" meta:resourcekey="GridEditButtonImageResource1" ImageUrl="../Resources/WebResource.gif">

 

 

 

<HeaderStyle Width="60px" />

 

 

 

<ItemStyle HorizontalAlign="Center" />

 

 

 

</telerik:GridButtonColumn>

 

 

 

<telerik:GridButtonColumn UniqueName="ShowCommandColumn" ButtonType="LinkButton" HeaderText="" Text="Show Details" CommandName="Select" visible="false" meta:resourcekey="GridViewDetailResource1">

 

 

 

<HeaderStyle Width="100px" />

 

 

 

<ItemStyle HorizontalAlign="Center" />

 

 

 

</telerik:GridButtonColumn>

 

 

 

</Columns>

 

 

 

<CommandItemTemplate>

 

 

 

<table style="width:100%; text-align:right;">

 

 

 

<tr><td><asp:LinkButton runat="server" ID="lnkAddNewRecord" Text="Add New Record"></asp:LinkButton></td></tr>

 

 

 

</table>

 

 

 

</CommandItemTemplate>

 

 

 

<PagerStyle AlwaysVisible="True"></PagerStyle>

 

 

 

</mastertableview>

 

 

 

</telerik:RadGrid>

Thank you in advance!

Masterdom5

 

Marin
Telerik team
 answered on 14 Jul 2011
1 answer
61 views
Hello,

I was checking the Iphone menu example that comes with the telerik installation on the sample website ...I was looking to do something very similar to that but with one issue...In the Rad menu that comes up inside the Iphone when the user clicks on say First menu then goes inside it and then clicks on second menu and goes inside it and then when he clicks on third menu I want to show a RAD grid view with data and also there are parameters to pass which will be the first menu item and the second menu item's value.How can i make the grid load dynamically and passing in the selected menu items.


Thanks
Dimitar Terziev
Telerik team
 answered on 14 Jul 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?