Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
170 views
Hi,
i am retrieving treeview node text value with your example.but i want to also get selected node value..and i dont have any opinion how can i get multiple value when i use checkbox property true on treeview.Can you show me the way please?
I get the text like this.

<script type="text/javascript">
    function nodeClicking(sender, args) {
        var comboBox = $find("<%= cbxDepartments.ClientID %>");

        var node = args.get_node()

        comboBox.set_text(node.get_text());


        comboBox.trackChanges();
        comboBox.get_items().getItem(0).set_text(node.get_text());
        comboBox.commitChanges();

        comboBox.hideDropDown();

        // Call comboBox.attachDropDown if:
        // 1) The RadComboBox is inside an AJAX panel.
        // 2) The RadTreeView has a server-side event handler for the NodeClick event, i.e. it initiates a postback when clicking on a Node.
        // Otherwise the AJAX postback becomes a normal postback regardless of the outer AJAX panel.

        //comboBox.attachDropDown();
    }

    function StopPropagation(e) {
        if (!e) {
            e = window.event;
        }

        e.cancelBubble = true;
    }

    function OnClientDropDownOpenedHandler(sender, eventArgs) {
        var tree = sender.get_items().getItem(0).findControl("tvDepartments");
        var selectedNode = tree.get_selectedNode();
        if (selectedNode) {
            selectedNode.scrollIntoView();
        }
    }
    </script>
Ivana
Telerik team
 answered on 03 Oct 2011
3 answers
170 views
I have an Aspx page with tabstrip having RadMultiPageView control having 4 tabs on the page and various telerik/.net controls like dropdonw,RadAsynchronusUpload, textbox etc on each tab.In RadAsynchronus Upload i Validated with File Extension Filtration.But it is not Validated so that i can select any filetypes.currently it is in second tab,and selected tab index is 0.if i place it in first tab it is working.i Don't know where i went wrong.Any Help would be Appreciated.
Thanks
jobin
Peter Filipov
Telerik team
 answered on 03 Oct 2011
5 answers
222 views
HI forum!

I m having a problem with the

 

Protected Sub RadScheduler1_AppointmentClick(ByVal sender As Object, ByVal e As Telerik.Web.UI.SchedulerEventArgs) Handles RadScheduler1.AppointmentClick, it only fires when i do double-click witch also fires the edit appointment. is it not supposed for only one click on an appontment for this event fire?

Many thanks FEST

 

Plamen
Telerik team
 answered on 03 Oct 2011
1 answer
101 views
Hello, I am using the latest RADControls.  I have created a simple page as shown below with a RadScriptManager and a RadMenu.  After this page loads there are about 15 items in the menu.  When the user hovers over one of the main menu  items and the sub-menu (contining about 5 of those items) pops up the CPU jump to near 100%.  If the user then moves the mouse away and then back the CPU consistently remains extremely high.  The application is running in debug=false mode and the ViewState for the menu is disabled.  Those were the only two perfomrance tips that I have been able to find.

<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>
 
        <asp:ObjectDataSource ID="dsNavMenu" runat="server" OldValuesParameterFormatString="original_{0}"
            SelectMethod="Get" TypeName="NavMenu_BLL">
            <SelectParameters>
                <MyUser:CurrentUserParameter Name="UserName" />
            </SelectParameters>
        </asp:ObjectDataSource>
            <telerik:RadMenu runat="server" ID="mNav" DataFieldParentID="ParentId" DataSourceID="dsNavMenu"
                DataTextField="Link" DataFieldID="Id" DataNavigateUrlField="NavigateUrl" Skin="Default"
                CssClass="Menu" EnableViewState="false">
            </telerik:RadMenu>

Kate
Telerik team
 answered on 03 Oct 2011
3 answers
110 views
Dear All,
I have a grid on my website, This grid uses paging, When I'm on page three and then try to press enter on a text box in a row in the grid,
it moves to page 1 because the default button in grid paging panel is go to first page, I need to disable this button while pressing enter
Thanks
Vasil
Telerik team
 answered on 03 Oct 2011
2 answers
242 views
Hi Team,

Please find the attached image below.
I am using radgrid to show data from database.I only need show scrolling when the height exceeds 300px when data available.
But the grid maintains the same height 300px even when no data available or with empty space when less data available.
(I dont want to show empty space when no enough data available for Grid)

I used the below code in HTML.
<telerik:RadGrid ID="RadGridWebsiteVisit" runat="server" GridLines="None" AutoGenerateColumns="False"
                            Width="450px" Skin="Black" OnNeedDataSource="RadGridWebsiteVisit_NeedDataSource"
                            AllowSorting="True">
                            <%--<PagerStyle Mode="NumericPages"></PagerStyle>--%>
                            <ClientSettings>
                                <Scrolling AllowScroll="true" UseStaticHeaders="true" ScrollHeight="300px" />
                            </ClientSettings>
                            <MasterTableView DataKeyNames="Rank">
                                <RowIndicatorColumn Visible="false">
                                </RowIndicatorColumn>
                                <Columns>
                                    <telerik:GridBoundColumn DataField="Rank" UniqueName="Rank" HeaderText="Rank" HeaderStyle-HorizontalAlign="Left"
                                        ItemStyle-HorizontalAlign="Left" HeaderStyle-Width="80px" ItemStyle-Width="80px">
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn DataField="BaseURL" HeaderText="Website" ReadOnly="True" ItemStyle-Wrap="true"
                                        UniqueName="BaseURL" HeaderStyle-Width="250px" ItemStyle-Width="300px" HeaderStyle-HorizontalAlign="Left"
                                        ItemStyle-HorizontalAlign="Left">
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn DataField="UrlCount" HeaderText="Visits" ReadOnly="True"
                                        UniqueName="UrlCount" HeaderStyle-Width="50px" ItemStyle-Width="100px" HeaderStyle-HorizontalAlign="Left"
                                        ItemStyle-HorizontalAlign="Left">
                                    </telerik:GridBoundColumn>
                                </Columns>
                            </MasterTableView>
                        </telerik:RadGrid>

Please help to solve this urgently.

Thanks,
Dhamodharan.
dhamo
Top achievements
Rank 1
 answered on 03 Oct 2011
3 answers
325 views
I'm needing a Separator to show up on a verticle menu, but I'm struggling to figure out how to do it when the menu's source is a standard SiteMap file at the root of the web application.

What I want is something like:

First
Second
__________
Third
Fourth
Fifth
__________
Sixth


What do I need to put in the siteMapNode element to make this work?  I've tried using attribute IsSeparator="true", but that did not seem to help.  I have also tried a series of values for the attribute "title".

Best Wishes,
Keith
Kate
Telerik team
 answered on 03 Oct 2011
3 answers
184 views
i want to generate series [Xaxis and YAxis] at runtime.
want to replace default XAxis label with date string.

and want to change the line color
Tsvetie
Telerik team
 answered on 03 Oct 2011
3 answers
137 views
i have a usercontrol placed in a pageview and this pageview is contained by an aspx page
Page ->PageView ->Usercontrol

i want to access "Page" textbox value from "Usercontrol" in Javascript function

Please guide me how can i access this

Thanks & Regards
Dimitar Terziev
Telerik team
 answered on 03 Oct 2011
1 answer
81 views
Hello,

Could we please have another demo added to this page: http://demos.telerik.com/aspnet-ajax/grid/examples/clientbinding/defaultcs.aspx that shows how a RadGrid can be bound to an OData service containing links? That is, a master/detail (parent/child) relationship between two feeds?

Background: I have created an OData feed with WCF Data Services and Entity Framework. It contains a relationship (e.g. Product Categories, each containing multiple Products). I can't see how to configure the RadGrid to display this.

Thank you for any help!

Alex Angas.
Veli
Telerik team
 answered on 03 Oct 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?