This is a migrated thread and some comments may be shown as answers.

Javascript to determine if child grid is expanded

0 Answers 42 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Darin
Top achievements
Rank 1
Darin asked on 28 Sep 2013, 02:09 PM
I currently have a javascrpt page load event shown below:

function pageLoad(sender, args) {
    $find('<%=RadGrid1.ClientID %>').get_masterTableView().hideFilterItem();
}

I need to add code to this pagLoad function to check if any child grid is expanded. If they are I need to change the following RadioButtonList (shown below) to "Yes"; else "No":

<asp:RadioButtonList runat="server" ID="rbExpand" AutoPostBack="true" 
        RepeatDirection="Horizontal"
        onselectedindexchanged="rbExpand_SelectedIndexChanged" visible="false" >
    <asp:ListItem Text="Yes"></asp:ListItem>
    <asp:ListItem Text="No" Selected="True"></asp:ListItem>
</asp:RadioButtonList>

How can I accomplish this?

Thanks

I no longer need this question answered. I'm not sure how to "close" this post.

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Darin
Top achievements
Rank 1
Share this question
or