To make it Hidden
--------------------------
document.getElementById('DataGrid1').style.visiblity = 'HIDDEN';
 
To make it Visible
------------------------------
document.getElementById('DataGrid1').style.visiblity = 'VISIBLE';

check it and replay.
 
On 8/22/06, Dikkuuhh <[EMAIL PROTECTED]> wrote:

I have four datagrids that are invisible when the page loades, but when
i click for example "Adres" --> the AdresGrid must be visible with
_javascript_....

This is my code:

       <body>
               <form id="Form1" method="post" runat="server">
                       <br />
           <br />Adres<br />
           <asp:DataGrid ID="AdresGrid"
runat="server"></asp:DataGrid><br />
           <asp:Label id="Label1" runat="server" Height="16px"
Width="336px">Links</asp:Label><br />
           <asp:DataGrid ID="LinkGrid"
runat="server"></asp:DataGrid><br />
           <asp:Label id="Label2" runat="server" Height="16px"
Width="336px">Informatie</asp:Label><br />
           <asp:DataGrid ID="InfoGrid"
runat="server"></asp:DataGrid><br />
           Telefoon<br />
           <asp:DataGrid ID="PhoneGrid"
runat="server"></asp:DataGrid><br />
               </form>
       </body>


Can somebody help me?



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ajax.NET Professional" group.

To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]

For more options, visit this group at http://groups.google.com/group/ajaxpro

The latest downloads of Ajax.NET Professional can be found at http://www.ajaxpro.info/

Don't forget to read my blog at http://weblogs.asp.net/mschwarz/
-~----------~----~----~----~------~----~------~--~---

Reply via email to