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

Radmultipage inside div id and radgrid id find

4 Answers 108 Views
Grid
This is a migrated thread and some comments may be shown as answers.
mohamed
Top achievements
Rank 1
mohamed asked on 04 Oct 2012, 07:08 AM

<td id="td_grdRuleList" align="left" style="vertical-align: top; width: 700px;" colspan="2">
    <asp:Label ID="sds" runat="server" Height="1px"></asp:Label>
    <div id="dv_memberAndRule" runat="server" style="width: 100%; display: none;">
        <telerik:RadCodeBlock ID="RadCodeBlock20" runat="server">
            <table border="0">
                <tr>
                    <td style="width: 500px;">
                        <telerik:RadMultiPage runat="server" ID="RadMultiPage1" title="" SelectedIndex="0"
                            CssClass="pageView">
                            <telerik:RadPageView ID="RadPageView2" runat="server" Height="450">
                                <table width="100%" border="0" cellpadding="0px" cellspacing="0px" class="tblspacer">
                                    <tr>
                                        <td style="width: 100%;">
                                                <div id ="Mohamed">
                                                     <telerik:radgrid>

How to find the DiV  inside the radmultipage view
Bold Id i want to find

Thanks Advance,
Mohamed.

4 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 04 Oct 2012, 10:21 AM
Hi Mohamed,

You can access the div directly in the serverside by adding the runat attribute for the div.

ASPX:
<div id="Mohamed" runat="server">
</div>
 
Hope this helps.

Regards,
Princy.
0
Jeff
Top achievements
Rank 1
answered on 04 Oct 2012, 11:43 AM
Thanks For Your Reply Princy,

<td id="td_grdRuleList" align="left" style="vertical-align: top; width: 700px;" colspan="2">
                <asp:Label ID="sds" runat="server" Height="1px"></asp:Label>
                <div id="dv_memberAndRule" runat="server" style="width: 100%; display: none;">
                    <table border="0">
                        <tr>
                            <td style="width: 500px;">
                                <table width="100%" border="0" cellpadding="0px" cellspacing="0px" class="tblspacer">
                                    <tr>
                                        <td style="width: 100%;">
                                            <div id="dv_grdRuleList1" runat="server" style="width: 100%">

How i find the div id Like That dv_grdrulelist1
Thanks Advance,
Mohamed.
0
mohamed
Top achievements
Rank 1
answered on 04 Oct 2012, 11:49 AM
Thanks For Your Reply Princy,

<td id="td_grdRuleList" align="left" style="vertical-align: top; width: 700px;" colspan="2">
                <asp:Label ID="sds" runat="server" Height="1px"></asp:Label>
                <div id="dv_memberAndRule" runat="server" style="width: 100%; display: none;">
                    <table border="0">
                        <tr>
                            <td style="width: 500px;">
                                <table width="100%" border="0" cellpadding="0px" cellspacing="0px" class="tblspacer">
                                    <tr>
                                        <td style="width: 100%;">
                                            <div id="dv_grdRuleList1" runat="server" style="width: 100%">

How i find the div id Like That dv_grdrulelist1

Thanks Advance,
Mohamed.
0
mohamed
Top achievements
Rank 1
answered on 04 Oct 2012, 01:26 PM
Problem Resolved

                var Div_RuleList = document.getElementById('dv_grdRuleList1');
                var Div_MemberList = document.getElementById('dv_MemberList');
                Div_RuleList.style.display = 'none';
                Div_MemberList.style.display = 'block';

Thanks ,
Mohamed.
Tags
Grid
Asked by
mohamed
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Jeff
Top achievements
Rank 1
mohamed
Top achievements
Rank 1
Share this question
or