3
Contributors
11
Replies
12
Views
6 Years
Discussion Span
Last Post by MichaelWClark
0

Is there a need... NO.

But the toolkit and extension provides a lot of Ajax functionality to your web applications.

0

I utilize the functionality provided by the toolkit in just about every application that I develop in ASP.net. I highly recommend it is very easy to learn and enhances your users experience greatly.

0

Thanks for response.
If there is no need to install this then why there is no any Ajax enabled templet when i create new website.
And if i working with my old project then in this these controls are not working.
eg. there is no effect of rounded corner extender on panel.

thanks

0

For the AJAX Toolkit you do need to install the dll. You can drag the DLL into your toolbox and have it populate the items. In your project you will want to right click > references then browse to the appropriate .dll (ajaxtoolkit.dll) and then Visual Studio will load this into your APP_BIN folder for you.

For exitsting projects it is easy to add the functionality needed by simply adding a ToolkitScriptManager to the page, then encapsulating your ajax modules in an update panel (which is built into the visual studio AJAX section [asp:updatepanel]

ex:

<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
    </asp:ToolkitScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
        <asp:Panel ID="roundMe" BackColor="Blue" runat="server">
          HELLO THERE ROUNDED CORNERS!
         </asp:Panel>

        <asp:RoundedCornersExtender ID="RoundedCornersExtender1" 
          Radius="6" Corners="All"   TargetControlID="roundMe" runat="server">
        </asp:RoundedCornersExtender>
    
    </ContentTemplate>
    </asp:UpdatePanel>
0

Thanks michael
but i getting an error in your code
"Update panel does not have a public property named Content templat"

0

yup i have added references to the ajax toolkit. i am using .net framework3.5 an working on visual stdio2008

0

Make sure that your code is inside the ContentTemplate :

<contentTemplate>
CONTROLS GO HERE
</contentTemplate>

0

Thanks Michael
the code is inside the Contenttemplats i exactly used your code this time
if there is any need to configur web.config file then tell
thanks

0

I do not ever need to do anything inside of the web.config file for this. Looking through my files it seems as though you don't need any additional configuration but its possible that visual studio handles any additions needed once you create the reference from the IDE.

0

No you should not have to add anything to web.config. If there are additions required then visual studio has always taken care of them for me, but in reviewing a few config files from my past projects that use this there is nothing referencing the ajax frameworks.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.