Click here to Skip to main content
15,899,314 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: asp.net2.0 that runs store procedure in back end. Pin
Christian Graus22-Feb-09 21:01
protectorChristian Graus22-Feb-09 21:01 
Questionsetup Pin
aratireddy22-Feb-09 20:08
aratireddy22-Feb-09 20:08 
AnswerRe: setup Pin
Abhijit Jana22-Feb-09 20:10
professionalAbhijit Jana22-Feb-09 20:10 
QuestionDatabase Timeout expired problem. Pin
Tarun Dudhatra22-Feb-09 19:38
Tarun Dudhatra22-Feb-09 19:38 
Question.Net Questions [modified] Pin
anandhakrishnan22-Feb-09 19:36
anandhakrishnan22-Feb-09 19:36 
AnswerRe: .Net Questions Pin
Vimalsoft(Pty) Ltd22-Feb-09 20:38
professionalVimalsoft(Pty) Ltd22-Feb-09 20:38 
AnswerRe: .Net Questions Pin
Christian Graus22-Feb-09 21:02
protectorChristian Graus22-Feb-09 21:02 
QuestionNeed assistance with DataList Databinding! Don't know how to do it. Pin
Albert8322-Feb-09 19:31
Albert8322-Feb-09 19:31 
I have a datalist which has a label in the template header. The label's visibility is false initially.
After that I have the ItemTemplate

It contains a label for a date which has visible = false initially
after that I have a linkbutton for a category name.

So when the page loads it will list categories vertically header = false, date= false.
Each category is click able.

When the user clicks on a category the category name will show in the header. The label's visibility in the header is set to true. Below it will be the subcategories. The label for sub category date visibility = true and the link button is replaced with clickable sub categories instead of the main categories.

How can I achieve this functionality?
I would appreciate as many details as possible to achieve this.
Thank you for reading.

<asp:DataList CssClass="VideosDatalist" OnItemDataBound="bindDL" ID="VideosDL" runat="server">
<HeaderTemplate>
<asp:Label ID="lblVideoHeader" Text='<%# Eval("categoryName") %>' runat="server" Visible="false"></asp:Label>

</HeaderTemplate>
<ItemTemplate>
<asp:Label ID="lblVidDate" runat="server" visible="false"></asp:Label><br />
<asp:LinkButton ID="lnkBtnCategory" OnCommand="VideosLink_Command" CommandName='<%# Eval("categoryName") %>' CommandArgument='<%# Eval("categoryID")%>' runat="server" CssClass="VideosDatalistLinks"
Text='<%# Eval("categoryName") %>' NavigateUrl="~/videos.aspx"></asp:LinkButton>
<div style="padding-top:20px;"></div>
</ItemTemplate>
</asp:DataList>
QuestionInstallation of Visual studio Pin
Arpita2722-Feb-09 19:05
Arpita2722-Feb-09 19:05 
AnswerRe: Installation of Visual studio Pin
Abhijit Jana22-Feb-09 19:43
professionalAbhijit Jana22-Feb-09 19:43 
Questiondropdownlist selectedvalue without selected word in html, possible? Pin
VinothRao22-Feb-09 16:25
VinothRao22-Feb-09 16:25 
AnswerRe: dropdownlist selectedvalue without selected word in html, possible? Pin
Greg Chelstowski22-Feb-09 21:16
Greg Chelstowski22-Feb-09 21:16 
Questionmultiple file uploads... Pin
l a u r e n22-Feb-09 3:17
l a u r e n22-Feb-09 3:17 
AnswerRe: multiple file uploads... Pin
Matt Cavanagh22-Feb-09 9:27
Matt Cavanagh22-Feb-09 9:27 
GeneralRe: multiple file uploads... Pin
Luis Alonso Ramos22-Feb-09 10:35
Luis Alonso Ramos22-Feb-09 10:35 
AnswerRe: multiple file uploads... Pin
Christian Graus22-Feb-09 11:12
protectorChristian Graus22-Feb-09 11:12 
QuestionConnecting with database which is Placed inside App_Data folder Error Invalid value for key 'attachdbfilename'. Pin
Rameez Raja22-Feb-09 2:23
Rameez Raja22-Feb-09 2:23 
AnswerRe: Connecting with database which is Placed inside App_Data folder Error Invalid value for key 'attachdbfilename'. Pin
Xmen Real 22-Feb-09 15:12
professional Xmen Real 22-Feb-09 15:12 
Question'... is not a member of ...' Error Pin
EOTB22-Feb-09 2:01
EOTB22-Feb-09 2:01 
QuestionOpening Excel file from the network Pin
Larvex22-Feb-09 0:28
Larvex22-Feb-09 0:28 
AnswerRe: Opening Excel file from the network Pin
Christian Graus22-Feb-09 11:14
protectorChristian Graus22-Feb-09 11:14 
GeneralRe: Opening Excel file from the network Pin
Larvex22-Feb-09 11:18
Larvex22-Feb-09 11:18 
GeneralRe: Opening Excel file from the network Pin
Christian Graus22-Feb-09 11:37
protectorChristian Graus22-Feb-09 11:37 
Questionhow to use login form in VS 2008 Pin
rosae61921-Feb-09 22:24
rosae61921-Feb-09 22:24 
AnswerRe: how to use login form in VS 2008 Pin
Christian Graus22-Feb-09 11:13
protectorChristian Graus22-Feb-09 11:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.