Ajax
-
Hello I need help on Ajax. I have never used it, what I would like to do is to prevent full page loads on basic commands. (such as dropd filling accorfing to the selected value of another dd) How could I find Toolkits and a basic demonstration of how it works. Thanks in advance
-
Hello I need help on Ajax. I have never used it, what I would like to do is to prevent full page loads on basic commands. (such as dropd filling accorfing to the selected value of another dd) How could I find Toolkits and a basic demonstration of how it works. Thanks in advance
Check this link... http://www.asp.net/ajax/[^]
CodingRocks ASP.NET,C#.NET Programmer BANGALORE "Winners don't do different things. They do things differently. ...
-
Hello I need help on Ajax. I have never used it, what I would like to do is to prevent full page loads on basic commands. (such as dropd filling accorfing to the selected value of another dd) How could I find Toolkits and a basic demonstration of how it works. Thanks in advance
in your Toolbox there is a Section for Ajax. There is an updatecontrol panel. take your controls and drop them inside this control. Now onselectedindex change of your dropdown, your page will not do a whole page postback again. Contain only controls that you want to do partial postback on them. Hope it helps
Vuyiswa Maseko, Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers." C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.somee.com http://www.vuyiswamaseko.tiyaneProperties.co.za vuyiswa@its.co.za http://www.itsabacus.co.za/itsabacus/
-
in your Toolbox there is a Section for Ajax. There is an updatecontrol panel. take your controls and drop them inside this control. Now onselectedindex change of your dropdown, your page will not do a whole page postback again. Contain only controls that you want to do partial postback on them. Hope it helps
Vuyiswa Maseko, Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers." C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.somee.com http://www.vuyiswamaseko.tiyaneProperties.co.za vuyiswa@its.co.za http://www.itsabacus.co.za/itsabacus/
Thanks for the answer I tried this via source page, however when I put dropdownlist under update panel, it says dropdown is not a known element for update panel
-
Thanks for the answer I tried this via source page, however when I put dropdownlist under update panel, it says dropdown is not a known element for update panel
can i see the markup(ASPX page) i will tell you what is wrong
Vuyiswa Maseko, Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers." C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.somee.com http://www.vuyiswamaseko.tiyaneProperties.co.za vuyiswa@its.co.za http://www.itsabacus.co.za/itsabacus/
-
can i see the markup(ASPX page) i will tell you what is wrong
Vuyiswa Maseko, Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers." C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.somee.com http://www.vuyiswamaseko.tiyaneProperties.co.za vuyiswa@its.co.za http://www.itsabacus.co.za/itsabacus/
here is my aspx page, could you please let me know how to put dds under a update panel <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Üye Kayıt</title> <link href="style.css" rel="stylesheet" type="text/css" /> <script language="javascript" src="func.js"> </script> </head> <body> <form id="form1" runat="server"> <div id="centrallarge"> <h1><img src="images\digersayfa.jpg" alt="photo" /></h1> </div> <div id="central"> <div id="leftsub"> <h1 style="height:200px"> <asp:Image ID="Image1" runat="server" Height="141px" Width="170px" BorderColor="White" BorderStyle="Ridge" BorderWidth="10px" /> </h1> <p> <asp:FileUpload ID="FileUpload1" runat="server"/> </p> <p> </p> </div> <div id="rightsub"> <asp:UpdatePanel ID="UpdatePanel1" runat="server"> </asp:UpdatePanel> <table style="width: 100%;"> <tr> <td> <asp:Label ID="Label17" runat="server" Font-Names="tahoma" Text="İl" Font-Size="Small" Font-Bold="True" ForeColor="#CC3300"></asp:Label> </td> <td> <asp:DropDownList ID="dpIl" runat="server" Height="16px" Width="150px" AutoPostBack="True" onselectedindexchanged="dpIl_SelectedIndexChanged"> </asp:DropDownList> </td> </tr> <tr> <td> <asp:Label ID="Label16" runat="server" Font-Names="tahoma" Text="Semt" Font-Size="Small" Font-Bold="True" ForeColor="#CC3300"></asp:Label> </td> <td> <asp:DropDownList ID="dpSemt" runat="server" Height="16px" Width="150px"> </asp:DropDownList> </td> </tr> <tr> <td> <asp:Label ID="Label1" runat
-
here is my aspx page, could you please let me know how to put dds under a update panel <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Üye Kayıt</title> <link href="style.css" rel="stylesheet" type="text/css" /> <script language="javascript" src="func.js"> </script> </head> <body> <form id="form1" runat="server"> <div id="centrallarge"> <h1><img src="images\digersayfa.jpg" alt="photo" /></h1> </div> <div id="central"> <div id="leftsub"> <h1 style="height:200px"> <asp:Image ID="Image1" runat="server" Height="141px" Width="170px" BorderColor="White" BorderStyle="Ridge" BorderWidth="10px" /> </h1> <p> <asp:FileUpload ID="FileUpload1" runat="server"/> </p> <p> </p> </div> <div id="rightsub"> <asp:UpdatePanel ID="UpdatePanel1" runat="server"> </asp:UpdatePanel> <table style="width: 100%;"> <tr> <td> <asp:Label ID="Label17" runat="server" Font-Names="tahoma" Text="İl" Font-Size="Small" Font-Bold="True" ForeColor="#CC3300"></asp:Label> </td> <td> <asp:DropDownList ID="dpIl" runat="server" Height="16px" Width="150px" AutoPostBack="True" onselectedindexchanged="dpIl_SelectedIndexChanged"> </asp:DropDownList> </td> </tr> <tr> <td> <asp:Label ID="Label16" runat="server" Font-Names="tahoma" Text="Semt" Font-Size="Small" Font-Bold="True" ForeColor="#CC3300"></asp:Label> </td> <td> <asp:DropDownList ID="dpSemt" runat="server" Height="16px" Width="150px"> </asp:DropDownList> </td> </tr> <tr> <td> <asp:Label ID="Label1" runat
-
here is my aspx page, could you please let me know how to put dds under a update panel <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Üye Kayıt</title> <link href="style.css" rel="stylesheet" type="text/css" /> <script language="javascript" src="func.js"> </script> </head> <body> <form id="form1" runat="server"> <div id="centrallarge"> <h1><img src="images\digersayfa.jpg" alt="photo" /></h1> </div> <div id="central"> <div id="leftsub"> <h1 style="height:200px"> <asp:Image ID="Image1" runat="server" Height="141px" Width="170px" BorderColor="White" BorderStyle="Ridge" BorderWidth="10px" /> </h1> <p> <asp:FileUpload ID="FileUpload1" runat="server"/> </p> <p> </p> </div> <div id="rightsub"> <asp:UpdatePanel ID="UpdatePanel1" runat="server"> </asp:UpdatePanel> <table style="width: 100%;"> <tr> <td> <asp:Label ID="Label17" runat="server" Font-Names="tahoma" Text="İl" Font-Size="Small" Font-Bold="True" ForeColor="#CC3300"></asp:Label> </td> <td> <asp:DropDownList ID="dpIl" runat="server" Height="16px" Width="150px" AutoPostBack="True" onselectedindexchanged="dpIl_SelectedIndexChanged"> </asp:DropDownList> </td> </tr> <tr> <td> <asp:Label ID="Label16" runat="server" Font-Names="tahoma" Text="Semt" Font-Size="Small" Font-Bold="True" ForeColor="#CC3300"></asp:Label> </td> <td> <asp:DropDownList ID="dpSemt" runat="server" Height="16px" Width="150px"> </asp:DropDownList> </td> </tr> <tr> <td> <asp:Label ID="Label1" runat
-
here is my aspx page, could you please let me know how to put dds under a update panel <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Üye Kayıt</title> <link href="style.css" rel="stylesheet" type="text/css" /> <script language="javascript" src="func.js"> </script> </head> <body> <form id="form1" runat="server"> <div id="centrallarge"> <h1><img src="images\digersayfa.jpg" alt="photo" /></h1> </div> <div id="central"> <div id="leftsub"> <h1 style="height:200px"> <asp:Image ID="Image1" runat="server" Height="141px" Width="170px" BorderColor="White" BorderStyle="Ridge" BorderWidth="10px" /> </h1> <p> <asp:FileUpload ID="FileUpload1" runat="server"/> </p> <p> </p> </div> <div id="rightsub"> <asp:UpdatePanel ID="UpdatePanel1" runat="server"> </asp:UpdatePanel> <table style="width: 100%;"> <tr> <td> <asp:Label ID="Label17" runat="server" Font-Names="tahoma" Text="İl" Font-Size="Small" Font-Bold="True" ForeColor="#CC3300"></asp:Label> </td> <td> <asp:DropDownList ID="dpIl" runat="server" Height="16px" Width="150px" AutoPostBack="True" onselectedindexchanged="dpIl_SelectedIndexChanged"> </asp:DropDownList> </td> </tr> <tr> <td> <asp:Label ID="Label16" runat="server" Font-Names="tahoma" Text="Semt" Font-Size="Small" Font-Bold="True" ForeColor="#CC3300"></asp:Label> </td> <td> <asp:DropDownList ID="dpSemt" runat="server" Height="16px" Width="150px"> </asp:DropDownList> </td> </tr> <tr> <td> <asp:Label ID="Label1" runat
-
here is my aspx page, could you please let me know how to put dds under a update panel <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Üye Kayıt</title> <link href="style.css" rel="stylesheet" type="text/css" /> <script language="javascript" src="func.js"> </script> </head> <body> <form id="form1" runat="server"> <div id="centrallarge"> <h1><img src="images\digersayfa.jpg" alt="photo" /></h1> </div> <div id="central"> <div id="leftsub"> <h1 style="height:200px"> <asp:Image ID="Image1" runat="server" Height="141px" Width="170px" BorderColor="White" BorderStyle="Ridge" BorderWidth="10px" /> </h1> <p> <asp:FileUpload ID="FileUpload1" runat="server"/> </p> <p> </p> </div> <div id="rightsub"> <asp:UpdatePanel ID="UpdatePanel1" runat="server"> </asp:UpdatePanel> <table style="width: 100%;"> <tr> <td> <asp:Label ID="Label17" runat="server" Font-Names="tahoma" Text="İl" Font-Size="Small" Font-Bold="True" ForeColor="#CC3300"></asp:Label> </td> <td> <asp:DropDownList ID="dpIl" runat="server" Height="16px" Width="150px" AutoPostBack="True" onselectedindexchanged="dpIl_SelectedIndexChanged"> </asp:DropDownList> </td> </tr> <tr> <td> <asp:Label ID="Label16" runat="server" Font-Names="tahoma" Text="Semt" Font-Size="Small" Font-Bold="True" ForeColor="#CC3300"></asp:Label> </td> <td> <asp:DropDownList ID="dpSemt" runat="server" Height="16px" Width="150px"> </asp:DropDownList> </td> </tr> <tr> <td> <asp:Label ID="Label1" runat
Try this
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Namespace="System.Web.UI" TagPrefix="asp" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<img alt="photo" src="images\digersayfa.jpg" /><br />
<h1 style="height: 200px">
<asp:Image ID="Image1" runat="server" BorderColor="White" BorderStyle="Ridge" BorderWidth="10px"
Height="141px" Width="170px" />
</h1></div> <asp:FileUpload ID="FileUpload1" runat="server" /><br /> <table style="width: 100%"> <tr> <td> <asp:Label ID="Label17" runat="server" Font-Bold="True" Font-Names="tahoma" Font-Size="Small" ForeColor="#CC3300" Text="İl"></asp:Label> </td> <td style="font-size: 12pt; font-family: Times New Roman"> <asp:DropDownList ID="dpIl" runat="server" AutoPostBack="True" Height="16px" OnSelectedIndexChanged="dpIl\_SelectedIndexChanged" Width="150px"> </asp:DropDownList> </td> </tr> <tr style="font-size: 12pt; font-family: Times New Roman"> <td> <asp:Label ID="Label16" runat="server" Font-Bold="True" Font-Names="tahoma" Font-Size="Small" ForeColor="#CC3300" Text="Semt"></asp:Label&a
-
<asp:UpdatePanel ID="UpdatePanel1" runat="server" ChildrenAsTriggers="true" > <ContentTemplate> <asp:DropDownList ID="dpSemt" runat="server" Height="16px" Width="150px" AutoPostBack="True" </asp:DropDownList> </ContentTemplate> </asp:UpdatePanel>
very funny
-
Try this
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Namespace="System.Web.UI" TagPrefix="asp" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<img alt="photo" src="images\digersayfa.jpg" /><br />
<h1 style="height: 200px">
<asp:Image ID="Image1" runat="server" BorderColor="White" BorderStyle="Ridge" BorderWidth="10px"
Height="141px" Width="170px" />
</h1></div> <asp:FileUpload ID="FileUpload1" runat="server" /><br /> <table style="width: 100%"> <tr> <td> <asp:Label ID="Label17" runat="server" Font-Bold="True" Font-Names="tahoma" Font-Size="Small" ForeColor="#CC3300" Text="İl"></asp:Label> </td> <td style="font-size: 12pt; font-family: Times New Roman"> <asp:DropDownList ID="dpIl" runat="server" AutoPostBack="True" Height="16px" OnSelectedIndexChanged="dpIl\_SelectedIndexChanged" Width="150px"> </asp:DropDownList> </td> </tr> <tr style="font-size: 12pt; font-family: Times New Roman"> <td> <asp:Label ID="Label16" runat="server" Font-Bold="True" Font-Names="tahoma" Font-Size="Small" ForeColor="#CC3300" Text="Semt"></asp:Label&a
thanks man it worked
-
very funny
-
<asp:UpdatePanel ID="UpdatePanel1" runat="server" ChildrenAsTriggers="true" > <asp:DropDownList ID="dpSemt" runat="server" Height="16px" Width="150px" AutoPostBack="True" Your first message I opened was displayed like above on my computer, so I thought you made fun of me.. (putting dd under updatepanel)
-
<asp:UpdatePanel ID="UpdatePanel1" runat="server" ChildrenAsTriggers="true" > <asp:DropDownList ID="dpSemt" runat="server" Height="16px" Width="150px" AutoPostBack="True" Your first message I opened was displayed like above on my computer, so I thought you made fun of me.. (putting dd under updatepanel)
-
thanks man it worked
You are Welcome :)
Vuyiswa Maseko, Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers." C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.somee.com http://www.vuyiswamaseko.tiyaneProperties.co.za vuyiswa@its.co.za http://www.itsabacus.co.za/itsabacus/
-
I see :), thanks for helping