Java Script question concerning ASP objects

ImDaFrEaK

Well-known member
Joined
Jan 7, 2006
Messages
416
Location
California
Programming Experience
5-10
Is there a way to read information from the ASP Controls with JavaScript. For example. I have a listbox on my site and want to be able to also implement a player on my site. When the user clicks on a song in the listbox then the player via JS will start the playback of that song. Now i know that I would still need a postback to Cache the song but I was hoping to go AJAX style and stream the song back. I am new to web development but I catch on quick. I will except links or books as suggestions but a little explaining would be more useful to me. Thanks :)
 
Run the Asp.Net application and use the "view source" feature of the browser, you will see that everything asp.net is translated to basic Html tags, which can be operated in client-side Javascript throught the Dhtml Document Object Model (DOM). W3Schools is a good site for learning and reference web technologies, and MS Dhtml reference. This is not really related to Asp.Net programming, but a useful complementary if you got the knowledge to work it from "the other side". MS recently released beta2 of AJAX framework for Asp.Net to help integrate asynchronous functionality without getting too messy about manual client-side hacks.
 
I dled the AJAX beta 2 that MS released and I found a few extra cotrols in my Toolbox under AJAX extensions but i havn't been able to use them yet. I have a lot to learn I can see and I spent far too much time learning Windows Applications. I can see now that Web Programming although easy in some situations it can get pretty complicated.
 
I watched some free videos at http://asp.net that was supplied to me from another thread discussion and they really helped me use and understand ASP AJAX and ASP itself. That is a very useful site I would imagine for many people.
 
Back
Top