ASP.NET - how to create sliding feedback form using 2.0 c#

Asked By Nandhini Devi on 12-Dec-11 05:16 AM
hi frndz,

      I'm doing a project in 2.0 c#. In that project i want to create a sliding feedback form with textboxes and labels in the center left or center right corner of that page. I need a coding for creating this sliding feedback form.
Please help me frnds its very urgent.
Jitendra Faye replied to Nandhini Devi on 12-Dec-11 05:17 AM
Reference from-

The behaviour of slidingExpiration prevents sliding expiration from being used to provide a precise time out. By default

"To prevent compromised performance, and to avoid multiple browser warnings for users who have cookie warnings turned on, the cookie is updated when more than half of the specified time has elapsed. This might cause a loss of precision. " -

It'd be great to be able to configure things so the cookie renews every time. Because this functionality isn't available, numerous people have built their own version of the renew the cookie every time sliding expiration behaviour.

Jitendra Faye replied to Nandhini Devi on 12-Dec-11 05:18 AM
Sorry for prevoius answer this is not your ans.,
Chintan Vaghela replied to Nandhini Devi on 12-Dec-11 05:24 AM


Check following link


Hope this is helpful !







Jitendra Faye replied to Nandhini Devi on 12-Dec-11 05:27 AM
Contact forms are an indispensable part of every website. They are mostly implemented on a separate page and they rarely display creativity, even though there are to improve their visual style. In this tutorial you will see how to create a dynamic, slide-in contact form using

follow this link -
kalpana aparnathi replied to Nandhini Devi on 12-Dec-11 05:32 AM
Try this:

<div class=”box”>
<div id=”contactFormContainer”>
        <div id=”contactForm”>
            <label for=”Name”>Name *</label>
            <input id=”name” type=”text” />
            <label for=”Email”>Email address *</label>
            <input id=”Email” type=”text” />
            <label for=”Message”>Your message *</label>
            <textarea id=”Message” rows=”3″ cols=”20″></textarea>
            <input id=”sendMail” type=”submit” name=”submit” onclick=”closeForm()” />
            <span id=”messageSent”>Your message has been sent successfully!</span>
        <div id=”contactLink”></div>
      <div class=”header”>
        Company logo</h1>
The CSS Code
#contactForm fieldset
      #contactForm label
      #contactForm input[type=text]
         border:solid 1px #4d3a24;
      #contactForm textarea
         border:solid 1px #4d3a24;
      #contactForm input[type=submit]
         border:solid 1px #23150c;
          if ($(”#contactForm”).is(”:hidden”)){
      function closeForm(){
        setTimeout(’$(”#messageSent”).hide();$(”#contactForm”).slideUp(”slow”)’, 2000);
Riley K replied to Nandhini Devi on 12-Dec-11 05:46 AM

ASP.NET AJAX Accordion control makes efficient use of screen real-estate by enabling the smooth animated transition between different content panes.

      <Header> . . . </Header>
      <Content> . . . </Content>
    .//You can place textboxes here

Anoop S replied to Nandhini Devi on 12-Dec-11 06:03 AM

Use jQuery for slider. Have your controls in slider and apply jQuery for sliding.

dipa ahuja replied to Nandhini Devi on 12-Dec-11 06:38 AM
To do it simple way you can use the ajax Collapsible panel:

<asp:ScriptManager ID="ScriptManager1" runat="server"/>    
<cc1:CollapsiblePanelExtender ID="CollapsiblePanelExtender2" runat="server" CollapseControlID="lbl2"
  ExpandControlID="lbl2" TargetControlID="Panel3" ExpandDirection="Vertical" Collapsed="true">
<br />
<a href="#"><asp:Label ID="lbl2" runat="server" Text="Post FeedBack" /></a>
<asp:Panel ID="Panel3" BorderStyle="Solid" Width="200" BackColor="SkyBlue" runat="server"
  <asp:TextBox ID="TextBox2" runat="server" /><br />
  <asp:TextBox ID="TextBox3" runat="server" /><br />
  <asp:Button ID="Button1" runat="server" Text="Submit" /><br /><br />