Click here to Skip to main content
15,900,378 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Save aspx page with html tags Pin
R. Giskard Reventlov15-Feb-12 4:49
R. Giskard Reventlov15-Feb-12 4:49 
AnswerRe: Save aspx page with html tags Pin
Bernhard Hiller15-Feb-12 20:36
Bernhard Hiller15-Feb-12 20:36 
AnswerRe: Save aspx page with html tags Pin
amargujrathi200619-Feb-12 8:23
amargujrathi200619-Feb-12 8:23 
QuestionContent Type Error when trying to access Java Web Server Pin
paas15-Feb-12 2:32
paas15-Feb-12 2:32 
QuestionDal in asp.net(c#) Pin
tayyabvohra15-Feb-12 1:08
tayyabvohra15-Feb-12 1:08 
AnswerRe: Dal in asp.net(c#) Pin
uspatel15-Feb-12 1:27
professionaluspatel15-Feb-12 1:27 
AnswerRe: Dal in asp.net(c#) Pin
Rahul Rajat Singh15-Feb-12 20:22
professionalRahul Rajat Singh15-Feb-12 20:22 
QuestionJQuery with DataList Pin
uspatel14-Feb-12 22:00
professionaluspatel14-Feb-12 22:00 
JavaScript
<script type="text/javascript">
                $(function() {
                $(".showreply").click(function(evt) {
                        evt.preventDefault();
                        $(".reply").slideToggle('slow');

                    });
                });
   </script>

C#
<asp:DataList ID="DataList1" runat="server" DataSourceID="SqlDataSource1"
                   Width="988px" Height="35px" HorizontalAlign="Left" BorderStyle="None"
                   DataKeyField="id">
                   <AlternatingItemStyle BackColor="White" />
                   <ItemStyle BorderColor="#CCFFFF" BorderStyle="Solid" BorderWidth="2px" />
                   <HeaderStyle Height="0px" />
                   <ItemTemplate>
                    Reply By:
                       <asp:Label ID="nameLabel" runat="server" Text='<%# Eval("name") %>'
                           style="color: #990000" />
                              Department:
                       <asp:Label ID="DepttLabel" runat="server" Text='<%# Eval("Deptt") %>'
                           style="color: #990000" />
                               Designation:
                       <asp:Label ID="DesignationLabel" runat="server"
                           Text='<%# Eval("Designation") %>' style="color: #990000" />

                                                                                                                                            

                       <asp:Label ID="useridLabel" runat="server" Text='<%# Eval("userid") %>' />
                       <br />
                      <div style="border: 0px solid #C0C0C0; height:auto; background-color: #D9FDDE;">
                       <asp:Label ID="commentsLabel" runat="server" Text='<%# Eval("comments") %>' />
                       </div>
                       Posted On:
                       <asp:Label ID="dateLabel" runat="server" Text='<%# Eval("date") %>' />
                       <br />

                <div id="s1" style="width:123px; height:20px; background-color: #FF9933; float:left;" class="showreply">Post Reply</div>
                       <br />
                       <div class="reply" style="display:none">
                           <asp:TextBox ID="TextBox2" runat="server" TextMode="MultiLine" Height="75px"></asp:TextBox>
                       </div>


                   </ItemTemplate>
               </asp:DataList>

It works but it slide(open) all div in datalist on click s1 div.
How to open div respective to s1 div at a time.
AnswerRe: JQuery with DataList Pin
Ali Al Omairi(Abu AlHassan)15-Feb-12 23:06
professionalAli Al Omairi(Abu AlHassan)15-Feb-12 23:06 
QuestionSending mail using SMTP Pin
Elizabeth Rani14-Feb-12 19:34
Elizabeth Rani14-Feb-12 19:34 
AnswerRe: Sending mail using SMTP Pin
Bernhard Hiller14-Feb-12 21:05
Bernhard Hiller14-Feb-12 21:05 
GeneralRe: Sending mail using SMTP Pin
Elizabeth Rani14-Feb-12 21:56
Elizabeth Rani14-Feb-12 21:56 
AnswerRe: Sending mail using SMTP Pin
antish120-Feb-12 6:02
antish120-Feb-12 6:02 
QuestionWCF on IIS 6 Pin
Satish_S14-Feb-12 19:06
Satish_S14-Feb-12 19:06 
AnswerRe: WCF on IIS 6 Pin
Keith Barrow14-Feb-12 21:38
professionalKeith Barrow14-Feb-12 21:38 
GeneralRe: WCF on IIS 6 Pin
Satish_S14-Feb-12 23:43
Satish_S14-Feb-12 23:43 
Questionproblem with building an image webservice Pin
kareem olamilekan14-Feb-12 16:07
kareem olamilekan14-Feb-12 16:07 
AnswerRe: problem with building an image webservice Pin
Bernhard Hiller14-Feb-12 21:08
Bernhard Hiller14-Feb-12 21:08 
GeneralRe: problem with building an image webservice Pin
kareem olamilekan15-Feb-12 4:39
kareem olamilekan15-Feb-12 4:39 
QuestionHow to get INPUT value with this ENCTYPE="multipart/form-data" Pin
hifiger200414-Feb-12 0:46
hifiger200414-Feb-12 0:46 
Questionwithdraw money from PayPal Pin
farogh haider14-Feb-12 0:39
farogh haider14-Feb-12 0:39 
QuestionTLS Enabled Pin
padmanabhan N13-Feb-12 5:31
padmanabhan N13-Feb-12 5:31 
AnswerRe: TLS Enabled Pin
Not Active13-Feb-12 8:00
mentorNot Active13-Feb-12 8:00 
QuestionCould not find part of the path..... error Pin
Jassim Rahma12-Feb-12 22:48
Jassim Rahma12-Feb-12 22:48 
AnswerRe: Could not find part of the path..... error Pin
thatraja13-Feb-12 5:45
professionalthatraja13-Feb-12 5:45 

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.