Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
145 views
i have successfully replace the default global navigation menu to rad menu on my SharePoint 2010 website, the problem am having is that it is displaying only one top menu and displaying others as a sub-menu of the first one, is there any thing i can do to make them display as top menus?

Please help.
Peter
Telerik team
 answered on 27 Dec 2011
2 answers
70 views
Hi everybody

I have a strange situation when using telerik provided script for persisting client selected rows. This is the code :

function uxRadGrid_RowSelected(sender, arg) {
 
    //add rowKey to selection
    var rowKey = arg.getDataKeyValue("rowKey");
    if (!selected[rowKey]) {
        selected[rowKey] = true;
    }
}
 
function uxRadGrid_RowDeselected(sender, arg) {
 
    //remove rowKey from selection
    var rowKey = arg.getDataKeyValue("rowKey");
    if (selected[rowKey]) {
        selected[rowKey] = null;
    }
 
}
 
function uxRadGrid_RowCreated(sender, arg) {
 
    //select row if in selection
    var rowKey = arg.getDataKeyValue("rowKey");
    if (selected[rowKey]) {
        arg.get_gridDataItem().set_selected(true);
    }
}
 
function uxRadGrid_Created(sender, arg) {
    //nothing here
}

    <telerik:RadGrid ID="uxRadGrid" Skin="Transparent" AutoGenerateColumns="false" ShowHeader="true" Width="100%"
    OnNeedDataSource="uxRadGrid_NeedDataSource" OnItemCreated="uxRadGrid_ItemCreated" OnItemDataBound="uxRadGrid_ItemDataBound"
    PagerStyle-AlwaysVisible="true" PagerStyle-Mode="NumericPages" PagerStyle-Position="Bottom"
    AllowPaging="true" AllowMultiRowSelection="true" AllowSorting="true"
    runat="server">
        <MasterTableView ClientDataKeyNames="rowKey" TableLayout="Auto" GridLines="None">
            <Columns>
                <telerik:GridClientSelectColumn />
                <telerik:GridBoundColumn DataField="rowKey" HeaderText="Row Key" />
                <telerik:GridBoundColumn DataField="user_status" />
                <telerik:GridBoundColumn DataField="user_role" />
                <telerik:GridBoundColumn DataField="user_firstname" />
                <telerik:GridBoundColumn DataField="user_lastname" />
                <telerik:GridBoundColumn DataField="user_email" />
            </Columns>
 
            <SortExpressions>
                <telerik:GridSortExpression FieldName="rowKey" SortOrder="Ascending" />
            </SortExpressions>
        </MasterTableView>
 
        <ClientSettings>
            <ClientEvents OnRowCreated="uxRadGrid_RowCreated" OnRowDeselected="uxRadGrid_RowDeselected" OnRowSelected="uxRadGrid_RowSelected" OnGridCreated="uxRadGrid_Created" />
            <Selecting AllowRowSelect="true" />
        </ClientSettings>
    </telerik:RadGrid>

In my example, I use 3 data rows. The grid is ajaxified.

When I check 2 checkboxes in GridClientSelectColumn, and click on column header to sort items, everything works as expected but "check all" checkbox gets checked (even if only 2 of 3 items are selected) ! When I click on sort again, "check all" gets unchecked.

And when I select all 3 items, and sort, "check all" never gets checked after sorting. Same if I select only one item.

Am I missing something ?

Thanks
Milena
Telerik team
 answered on 27 Dec 2011
2 answers
476 views
Hi, I was wondering how you set the maximum number of selections a user can make when the ComboBox is set to checkboxes="True" ? 

Thanks in advance.
Ivana
Telerik team
 answered on 27 Dec 2011
2 answers
128 views
Hello, 

I have a problem with
treeview inside RadComboBox
and this combobox inside a formview...

i can't display the combobox...

 http://dl.free.fr/pg4cBEuKz here you can find a source code


thanks in advance.
Ivana
Telerik team
 answered on 27 Dec 2011
3 answers
611 views
Hi,

I just started using telerik few days ago
i would like to know what is telerik:GridButtonColumn attribute of Asp:button "OnClick"

what i want to do is let the user choose a meeting session in a grid list.
user will press the button and it will trigger OnClick funtion at the aspx.cs and also pass the ID of that meeting session /row.

using C#

hope you can help me in this.

thanks
Shinu
Top achievements
Rank 2
 answered on 27 Dec 2011
4 answers
122 views
In my asp.net page I fired a Rad window and selected some items from grid view present in the Rad Window 
I stored that items in some string variables .
I know want that Rad window must return the value to original page ,the original page must not reload
any hint(conceptual) or code help please?
 
Svetlina Anati
Telerik team
 answered on 27 Dec 2011
3 answers
117 views
Please stop including Telerik Advertising (as undoubtedly seen below) in between forum thread posts. It makes it quite annoying to try and read the posts. If you must include advertising in Forum threads, create a sidebar so as to not interfere with the flow of posts.
Vassil Petev
Telerik team
 answered on 27 Dec 2011
5 answers
231 views
Hello,

I am using a RadAjax radrotator with control buttons images(left and right scroll) of my own, i have done so but i am facing problems regarding the state of buttons ie. enable and disable the control buttons when on last and first record accordingly,  and also facing screen resolution issues with the buttons as i have applied some css with the button though the buttons work fine but alignment of button is disturbed.  I am attaching some code snippets.  I would appreciate any help you could give on this.

Note-  I am using RadTagcloud control inside the radrotator and using left and right to monitor the tagclouds related to particular product.
Thanks,
Peeyush Pandey
                      <td style=" float: left;width: 0px;margin-left: -1px;">
                          <asp:Image ImageUrl="images/b2.png" ID="img_right" Visible="false" AlternateText="right" runat="server"
                              Style="cursor: hand; float: right; padding-left: 990px; margin-top:75px;" />
                          <asp:Image ImageUrl="images/b1.png" ID="img_left" Visible="false" AlternateText="left" runat="server"
                              Style="cursor: hand; float: left; margin-top:75px; margin-left:-25px;" />
 
                          <telerik:RadRotator ID="radRotatorCompanyTagCloud" runat="server" ScrollDuration="500"  WrapFrames="false" Width="990px"
                              Height="400px" RotatorType="Buttons" ItemHeight="350px">
                              <ControlButtons LeftButtonID="img_left" RightButtonID="img_right" />
</telerik:RadRotator>
Niko
Telerik team
 answered on 27 Dec 2011
3 answers
410 views
Working on some code here with a tab strip and a rad grid. If all the check boxes have been selected in the grid, I want the tab to change color to signify the user that that page is done and then to move on to the next one.

I've been going back and forth on ideas but nothing is really coming to mind as of yet. Any suggestions?

vb.net

Thanks
Ivan Zhekov
Telerik team
 answered on 27 Dec 2011
1 answer
154 views
I am using Editable radcombobox. I need to use jquery validation(not asp required field validator) for this. But this is not working properly.
When I select a item from drop down, the validation does not work immediately. As soon as I click out side(focus lost from dropdown), It works. Please give me any solution for this issue. Thanks

$(document).ready(
function() {

        $.validator.addMethod("selectFirst", function(value, element) {
            if (element.value == 'Please Select...')
                return false;
            else
                return true;
        }, "Error Message");

        $("#<%=radComboBox.ClientID%>_Input").addClass("selectFirst");
        $("#" + document.forms[0].id).validate();
    });
Ivana
Telerik team
 answered on 27 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?