mchoudhury
Programmer
Hi Guys,
I've written this function in ASP.NET, it retrive data on the listdown list from the database. The second drop down list depends on the item inserted on the first drop down. Both list are retrived from the database according to users specification. At present i'm doing my function is ASP.NET:
<asp
ropDownList id="txtcurrentsupplier" DataValueField="TelephoneSupplierID" DataTextField="TelephoneSupplierName" Runat="server" AutoPostBack="True">
</asp
ropDownList></DIV>
<DIV>
<asp
ropDownList id=currentsuppliertariff Runat="server" DataValueField="TelephoneCallPlanName" DataTextField="TelephoneCallPlanName"></asp
ropDownList>
As you can see i'm using autopostback. I've been told not to use autopostback as this refreshes the website.
The alternative way to do this sort of stuff is via JavaScript. But i do not have a clue on how to write the function. Can some one direct me on how to write the function. I'm very poor at JavaScript. For more info please take a look at the usage section of the functionality needs to be exactly the same. I'm pretty much sure it was written in JavaScript.
Thanks MAc
I've written this function in ASP.NET, it retrive data on the listdown list from the database. The second drop down list depends on the item inserted on the first drop down. Both list are retrived from the database according to users specification. At present i'm doing my function is ASP.NET:
<asp
</asp
<DIV>
<asp
As you can see i'm using autopostback. I've been told not to use autopostback as this refreshes the website.
The alternative way to do this sort of stuff is via JavaScript. But i do not have a clue on how to write the function. Can some one direct me on how to write the function. I'm very poor at JavaScript. For more info please take a look at the usage section of the functionality needs to be exactly the same. I'm pretty much sure it was written in JavaScript.
Thanks MAc