Ed
asked on
Visible = true not showing div
Hi
I have a div tag that hids some content.
I want to show this content on a gridview SelectedIndexChanged event
The problem is that this does not work and when
I have a div tag that hids some content.
<div id="iqadetailpanel" runat ="server" visible="false" >
<section class="panel" >
<header class="panel-heading tab-bg-dark-navy-blue">
<ul class="nav nav-tabs">
<li class="active">
etc........I want to show this content on a gridview SelectedIndexChanged event
Protected Sub GridIVRecs_SelectedIndexChanged(sender As Object, e As EventArgs) Handles GridIVRecs.SelectedIndexChanged
iqadetailpanel.Visible = True
The problem is that this does not work and when
<div id="iqadetailpanel" runat ="server" visible="false" >
<section class="panel" >
<header class="panel-heading tab-bg-dark-navy-blue">
<ul class="nav nav-tabs">
<li class="active">
is set and the div is hidden it wont even let me select a record on the gridview. Help!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I have some questions:
1) Are you using updatepanel control on your page ?
2) If yes, are both the controls, i.e. "iqadetailpanel" div and "GridIVRecs" grid, in the same updatepanel ?
It would be very helpful to understand your problem, if you can share the whole page source and code behind.
Regards,
Ronak