Showing posts with label cant. Show all posts
Showing posts with label cant. Show all posts

Monday, March 26, 2012

proplem with add ajax control

dir sair

when i add any ajax control in wesite using ajax template i cant using prifix ajaxtoolkit

i must drag and drop the control and his prifix will be cc:

ex: cc1:modelpopupextender

can i know whay?

thank you

here cc1:modelpopupextender means customControl:modelpopupextender

u have to register the AjaxToolKitControl

<%@. Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>

this line apperd on top of head section like Page

then u can drag and drop the control

that time it will generate ajaxToolkit: modelpopupextender

Thank

Kunal


Hi,

Another tip is that you can register it in web.config so that don't have to do it in everypage.

<system.web>
<pages>
<controls>
<add assembly="AjaxControlToolkit" namespace="AjaxControlToolkit"tagPrefix="ajaxToolkit"/>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</controls>
</pages>

Hope this helps.

Saturday, March 24, 2012

Question about ms ajax...

Hey I dont have speakers at my office so i cant hear whats going on in this video...http://www.asp.net/learn/videos/view.aspx?tabid=63&id=81 . Can someone point me to some text that tells me step by step how to take an existing .net application and convert it so that it can support ms ajax?

http://www.codeproject.com/useritems/AJAX-enabling_ASPNET.asp


Thankspaul.vencill that work!


中国 ajax