
March 19th, 2001, 05:15 AM
|
|
Contributing User
|
|
Join Date: Dec 2002
Posts: 14,578
  
Time spent in forums: < 1 sec
Reputation Power: 22
|
|
|
AutoPost property
<i><b>Originally posted by : Jignesh (jigneshdesai@chequemail.com)</b></i><br />I want to know AutoPost property can be used with <br />which controls. is there a pre-defined list or can be used will all HTMLcontrols.<br /><br />I am trying to use with <select> control but seems not working.<br /><br />Here is the Sample code<br />******************************<br /><%@page Language="VB" %><br /><html><br /><head><br /></head><br /><body><br /><Script language="VB" runat="Server"><br />Sub Page_Load(Source as Object , E as EventArgs)<br /> Response.Write("<br>HtmlSelect Control Example")<br />End Sub<br /><br />Sub Pull_Change(Source as Object , E as EventArgs)<br /> Response.Write("<br>Some Option Selected")<br />End Sub<br /><br />Sub Pull_Change2(Source as Object , E as EventArgs)<br /> Response.Write("<br>PlullDown2 Some Option Selected")<br />End Sub<br /><br /></script><br /><br><br /><form runat="server"><br /><br /><select id="pulldown2" runat="server" OnServerChange="Pull_change2" AutoPost="true"><br /><option> Apple </option><br /><option> Banana </option><br /><option> Mango </option><br /></select><br /><br /><select id="pulldown1" runat="server" OnServerChange="Pull_change"><br /><option> Apple </option><br /><option> Banana </option><br /><option> Mango </option><br /></select><br /><br /><input type="submit" runat="Server"><br /></form><br /><br /></body><br /></html><br /><br />
|