Permalink
Browse files

client side: feature specific network

  • Loading branch information...
1 parent 1662c0d commit c6aa183b3a894f4a867e381b457888f2e13330aa @Martikos Martikos committed Apr 24, 2013
Showing with 8 additions and 0 deletions.
  1. +1 −0 Views/Search.aspx
  2. +7 −0 Views/Search.aspx.cs
View
@@ -70,6 +70,7 @@
<div>
<asp:Label ID="featured3_header" runat="server" Text="Label">Around You</asp:Label>
<asp:DropDownList ID="networks" runat="server" OnSelectedIndexChanged="networks_SelectedIndexChanged" Visible="False" style="width: 100px"></asp:DropDownList>
+ <asp:Button ID="networks_button" runat="server" Text="Go" Visible="False" OnClick="networks_button_Click" />
</div><br />
<div id="featured3" runat="server">
View
@@ -185,12 +185,14 @@ private void getFeatured()
getNetworks();
featured3_header.Text = "In Your Network";
networks.Visible = true;
+ networks_button.Visible = true;
getNetworkListings(networks.SelectedItem.Text);
}
else
{
putHighlights();
networks.Visible = false;
+ networks_button.Visible = false;
}
}
@@ -368,4 +370,9 @@ protected void update_button_Click(object sender, EventArgs e)
Response.Redirect("~/Views/Private/UpdatePost.aspx?L=" + view_item_listingid.Value);
}
+ protected void networks_button_Click(object sender, EventArgs e)
+ {
+ fr_view.ActiveViewIndex = 1;
+ getFeatured();
+ }
}

0 comments on commit c6aa183

Please sign in to comment.