ASP.NET - Create Popup window using Ajax Toolkit

Asked By Ajay Paritala
09-Feb-12 04:49 PM
For Ex:


I've 10 products in bulletted lists But i need to only dispaly 5 only and below to 5 products i have an option called "MORE" when a user click on that "MORE" remaining 5 products get dispaly in a popup. How can i display like this plzz guide me...

Thanks,,,

  dipa ahuja replied to Ajay Paritala
10-Feb-12 06:31 AM
Simple example to display extra content using the jquery

<script src="jquery-1.4.3.min.js" type="text/javascript"></script>
 
<script type="text/javascript">
  $(document).ready(function () {
    //when page load hide the detail
    $('p#PknwMore').hide();
    //when click on know more display detail
    $('a#a1').click(function () {
      $('p#PknwMore').slideDown();
      //.show('slow');
    });
    //when click on read less hide the detail
    $('a#aHide').click(function () {
      $('p#PknwMore').slideUp();
      //.hide('slow');
    });
  });    
</script>
 
<a href="#" id="a1">Read more</a>
<p id="PknwMore">
  Hello this is read more info about the company Hello this is read more info about
  the company Hello this is read more info about the company Hello this is read more
  info about the company <a id="aHide" href="#">Read Less</a>
</p>
 

Create New Account
help
Net hi friends Any one send frequently asked Important questions in C# .Net, ADO .Net, Asp .Net and Sql Server. . . . . . . . tx in Advance. . . . . . Hi, Find this. . (B)What is an IL? (B A) What is scavenging? (B) What are different types of caching using cache object of ASP.NET? (B) How can you cache different version of same page using ASP.NET cache object? (A) How will implement Page Fragment Caching? (B) Can you compare ASP.NET sessions with classic ASP? (B) Which are the various modes of storing ASP.NET session
Projects \ 1209 \ db1.mdb”+ _ “User ID = Admin;”+ _ “Password = ;”); Dim cmd As New OleDbCommand(”Products”, cn) cmd.CommandType = CommandType.StoredProcedure Dim da As New OleDataAdapter(cmd) Dim ds As New DataSet() da.Fill(ds, “Products”) DataGrid1.DataSource = ds.Tables(”Products”) What is the maximum length of a varchar in SQL Server? Answer1 VARCHAR[(n)] Null in Sql server as var_name int How do you separate business logic while creating an ASP.NET application? There are two level of asp.net debugging 1. Page level debugging For this we have to edit the page level debugging The control itself will take care of the date display How can you deploy an asp.net application ? You can deploy an ASP.NET Web application using any one of the
Migration from ASP to ASP.net How to convert ASP site to ASP.NET site using C# http: / / www.asp.net / downloads / archived-v11 / migration-assistants / asp-to-aspnet hi, ASP.NET framework is very much different from unstrucured ASP and there is no correct way to
Tracing in ASP.NET? hi all, what is tracing? how to achieve tracing in asp.net? different ways of doing tracing? thanks and regards Aman Khan hi. . Tracing in ASP.NET 2.0 Tracing is a way to monitor the execution of your ASP.NET application. You can record exception details and program flow in a way that doesn't
ajaxtoolkit in Atlas toolkit there is autolistextender, what is the equavalent functionality of that in Ajax? , what is the Autocomplete Extender in the Ajax? And its controls? hi madhvi user shall be able to get the AutoSense list of available products from database on typing the name of the product in a TextBox. When user types some letters in the Textbox, a popup panel will come to action and displayed the related words. So that the user can choose exact word from the popup panel. BTW, Ajax extension and Ajax Tool Kit should already be installed to implement any AJAX extenders. Here are the steps