Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Gridview not selectable IIS 7Gridview not selectable IIS 7
Previous
 
Next
New Post
1/13/2012 1:38 PM
 

I have a site that is running 5.6.3.

I am developing the code in VS 2008.  I have a page that uses a Gridview control.  I have it set so you can select a row and it updates information on the screen related to the row selected.  The server I am testing this version of the code on is running IIS 6 and the control and site runs fine.

However when run this on my laptop development enviroment, running IIS 7.0. and run the site, you cannot select a row in the grid.  I am not sure if there is a setting in IIS 7 I am missing or not

 Here is the HTML for the grid

<asp:GridView ID="ResGrid1" runat="server" AutoGenerateColumns="False" BackColor="White"
    BorderColor="#999999" BorderStyle="None" BorderWidth="1px" CellPadding="3" DataKeyNames="ResidentID"
    GridLines="Vertical" Width="575px" Height="350px" Font-Names="Arial" Font-Size="X-Small"
                                    HorizontalAlign="Left">
    <RowStyle BackColor="LightBlue" ForeColor="Black" Height="55px" HorizontalAlign="Left" />
    <Columns>
        <asp:BoundField DataField="Room" HeaderText="Room" >
            <ItemStyle Width="50px" />
        </asp:BoundField>
        <asp:BoundField DataField="lastname" HeaderText="Last Name" >
            <ItemStyle Width="100px" />
        </asp:BoundField>
        <asp:BoundField DataField="FirstName" HeaderText="First Name" >
            <ItemStyle Width="100px" />
        </asp:BoundField>
        <asp:TemplateField HeaderText="Dining Location">
   <ItemTemplate>
    <asp:Label runat="server" ID="lblBreakfast">Breakfast: <%# Databinder.Eval( Container, "DataItem.BreakfastLoc","") %> </asp:Label>
    <br>
       <asp:Label runat="server" ID="lblLunch">Lunch: <%# Databinder.Eval( Container, "DataItem.LunchLoc","") %> </asp:Label>
       <br>
    <asp:Label runat="server" ID="lblDinner">Supper: <%# Databinder.Eval( Container, "DataItem.DinnerLoc","") %> </asp:Label>
      </ItemTemplate>
            <ItemStyle Width="150px" Font-Names="Arial" Font-Size="XX-Small" />
        </asp:TemplateField>
  
       
    </Columns>
    <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
    <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
    <SelectedRowStyle BackColor="Blue" Font-Bold="True" ForeColor="White" />
    <HeaderStyle BackColor="White" Font-Bold="True" ForeColor="Black" Font-Names="Arial" Font-Size="XX-Small" Height="20px" />
    <AlternatingRowStyle BackColor="LightSkyBlue" />
</asp:GridView>

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Gridview not selectable IIS 7Gridview not selectable IIS 7


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out