andre_f:
I'm trying to getting started with Scrott's Video (Video - Developing ASP.NET 2.0 Applications using AJAX, fromhttp://ajax.asp.net/default.aspx?tabid=47 ).
How do I have to configure my web.config to use <asp:ScriptManager ...> (instead of <atlas:ScriptManager)? And is it possible to get his cool css file and the images?
andre_f --
Change web.config from this...
<!-- old -->
<!--
<add tagPrefix="asp" namespace="Microsoft.Web.UI" assembly="Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add tagPrefix="asp" namespace="Microsoft.Web.UI.Controls" assembly="Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
-->
...to this...
<!-- new -->
<add tagPrefix="ajax" namespace="Microsoft.Web.UI" assembly="Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add tagPrefix="ajax" namespace="Microsoft.Web.UI.Controls" assembly="Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add tagPrefix="ajax" namespace="Microsoft.Web.Preview.UI" assembly="Microsoft.Web.Preview"/>
<add tagPrefix="ajax" namespace="Microsoft.Web.Preview.UI.Controls" assembly="Microsoft.Web.Preview"/>
...and also watch out for a few other things, which I comment on in the following threads...
TagPrefix issues...http://forums.asp.net/thread/1497071.aspx
Could not load issues... http://forums.asp.net/thread/1496255.aspx
Trigger element issues... http://forums.asp.net/thread/1497134.aspx
...and also note some other syntax tweaks, (such as the mode attribute is now updatemode on the UpdatePanel).
Overall, Scott's video is good; but, it needs a little updating to reflect recent syntax changes. The code does work with a few minor tweaks, as noted above (and perhaps some I forgot).
HTH.
Thank you.
-- Mark Kamoski
andre_f:
And is it possible to get his cool css file and the images?
andre_f --
I do not know if these are available anywhere.
Howver, if you just grab a single animated gif and call it images\indicator.gif and add just a blank css with the same name as his the whole thing works fine.
HTH.
Thank you.
-- Mark Kamoski
I just found a page with some sweet indicator images:
http://www.napyfab.com/ajax-indicators/
No comments:
Post a Comment