Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Commented Unassigned: Add example how to add custom control? [27943]

$
0
0
Please provide a example how to add a custom control, the ones i can find online are outdated..
Comments: I think i figured this out but it has a lot of steps that just seem overkill and shouldent be needed 1. Create a new project 2. Add a reference to ajaxcontroltoolkit (via nuget) 3. Add Class 4. Inherit from ExtenderControlBase or ScriptControlBase 5. Add ClientScriptResource, WebResource and if needed RequiredScript attributes. 6. Add 2 javascripts one for debug and one without and set them to EmbededResource. 7. Add the same javascript files to ~/Scripts/AjaxControlToolkit/Debug and Release prefix with assembly name and seperate with a dot. 8. Create a AjaxControlToolkit.config and add a new bunde with a name and all controls you are going to use. 9. Add the controls to web.config ajaxControlToolkit\customControls 10. Add all javascript files to asp:ScriptManager\Scripts with both a reference to the file in the webproject and a reference to the webresource in the custom control project. This seems far to complex and needs to be documented..

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>