Hi
keep the data grid inside a panel and try the same code
To make it Hidden
--------------------------
document.getElementById('panelID').style.visiblity = 'HIDDEN';
To make it Visible
------------------------------
document.getElementById('panelID').style.visiblity = 'VISIBLE';
On 9/7/06, ajan devi <[EMAIL PROTECTED]> wrote:
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?
--
Bali Reddy
9840605989
--~--~---------~--~----~------------~-------~--~----~
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/
-~----------~----~----~----~------~----~------~--~---
