{"id":22970,"date":"2021-03-22T18:59:45","date_gmt":"2021-03-22T22:59:45","guid":{"rendered":"http:\/\/bangla.salearningschool.com\/recent-posts\/most-basic-asp-net-user-control-ascx-ascx-and-dnn-root-by-sayed-ahmed\/"},"modified":"2025-05-11T20:20:46","modified_gmt":"2025-05-11T20:20:46","slug":"most-basic-asp-net-user-control-ascx-ascx-and-dnn-root-by-sayed-ahmed","status":"publish","type":"post","link":"http:\/\/bangla.sitestree.com\/?p=22970","title":{"rendered":"Most Basic ASP.Net User Control (ASCX), ASCX and DNN  #Root #By Sayed Ahmed"},"content":{"rendered":"<p><strong>Most Basic ASP.Net User Control (ASCX), ASCX and DNN<\/strong><\/p>\n<p>ASCX controls are one way to add functionality\/features to Dot Net Nuke (DNN)<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Registration of User Control:<\/strong><\/p>\n<pre>&lt;%@ Register TagPrefix=\"uc\" TagName=\"dnn\" Src=\"dnn.ascx\" %&gt;<\/pre>\n<pre>&lt;uc:dnn runat=\"server\"\/&gt; : how to use the control\r\n\r\n<\/pre>\n<p><strong>The most basic ASCX example can be seen at<\/strong><\/p>\n<p>http:\/\/salearningschool.com\/codes\/ascx\/most_basic_control\/<\/p>\n<p>&nbsp;<\/p>\n<pre><strong>From: <a href=\"http:\/\/salearningschool.com\/codes\/ascx\/most_basic_control\/dnn.ascx\">http:\/\/salearningschool.com\/codes\/ascx\/most_basic_control\/dnn.ascx<\/a><\/strong>\r\n&lt;%@ Control Language=\"C#\" AutoEventWireup=\"true\" CodeBehind=\"dnn.ascx.cs\" Inherits=\"ForDNN.dnn\" %&gt;\r\n&lt;asp:Button ID=\"Button1\" runat=\"server\" OnClick=\"Button1_Click\" Text=\"DNN Test\" \/&gt;\r\n\r\n<strong>From: <a href=\"http:\/\/salearningschool.com\/codes\/ascx\/most_basic_control\/DnnControlForm.aspx\">http:\/\/salearningschool.com\/codes\/ascx\/most_basic_control\/DnnControlForm.aspx<\/a><\/strong><\/pre>\n<pre>&lt;%@ Page Language=\"C#\" AutoEventWireup=\"true\" CodeBehind=\"DnnControlForm.aspx.cs\" Inherits=\"ForDNN.DnnControlForm\" %&gt;\r\n&lt;%@ Register TagPrefix=\"uc\" TagName=\"dnn\" Src=\"dnn.ascx\" %&gt;\r\n\r\n&lt;!DOCTYPE html&gt;\r\n\r\n&lt;html xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\"&gt;\r\n&lt;head runat=\"server\"&gt;\r\n    &lt;title&gt;&lt;\/title&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n    &lt;form id=\"form1\" runat=\"server\"&gt;\r\n    &lt;div&gt;\r\n        \r\n        &lt;uc:dnn runat=\"server\"\/&gt;\r\n\r\n    &lt;\/div&gt;\r\n    &lt;\/form&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<p> From: http:\/\/sitestree.com\/?p=1666<br \/> Categories:Root, By Sayed Ahmed<br \/>Tags:<br \/> Post Data:2014-11-12 22:47:53<\/p>\n<p>\t\tShop Online: <a href='https:\/\/www.ShopForSoul.com\/' target='new' rel=\"noopener\">https:\/\/www.ShopForSoul.com\/<\/a><br \/>\n\t\t(Big Data, Cloud, Security, Machine Learning): Courses: <a href='http:\/\/Training.SitesTree.com' target='new' rel=\"noopener\"> http:\/\/Training.SitesTree.com<\/a><br \/>\n\t\tIn Bengali: <a href='http:\/\/Bangla.SaLearningSchool.com' target='new' rel=\"noopener\">http:\/\/Bangla.SaLearningSchool.com<\/a><br \/>\n\t\t<a href='http:\/\/SitesTree.com' target='new' rel=\"noopener\">http:\/\/SitesTree.com<\/a><br \/>\n\t\t8112223 Canada Inc.\/JustEtc: <a href='http:\/\/JustEtc.net' target='new' rel=\"noopener\">http:\/\/JustEtc.net (Software\/Web\/Mobile\/Big-Data\/Machine Learning) <\/a><br \/>\n\t\tShop Online: <a href='https:\/\/www.ShopForSoul.com'> https:\/\/www.ShopForSoul.com\/<\/a><br \/>\n\t\tMedium: <a href='https:\/\/medium.com\/@SayedAhmedCanada' target='new' rel=\"noopener\"> https:\/\/medium.com\/@SayedAhmedCanada <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Most Basic ASP.Net User Control (ASCX), ASCX and DNN ASCX controls are one way to add functionality\/features to Dot Net Nuke (DNN) &nbsp; Registration of User Control: &lt;%@ Register TagPrefix=&#8221;uc&#8221; TagName=&#8221;dnn&#8221; Src=&#8221;dnn.ascx&#8221; %&gt; &lt;uc:dnn runat=&#8221;server&#8221;\/&gt; : how to use the control The most basic ASCX example can be seen at http:\/\/salearningschool.com\/codes\/ascx\/most_basic_control\/ &nbsp; From: http:\/\/salearningschool.com\/codes\/ascx\/most_basic_control\/dnn.ascx &lt;%@ &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"http:\/\/bangla.sitestree.com\/?p=22970\">Continue reading<\/a><\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1973,1917],"tags":[],"class_list":["post-22970","post","type-post","status-publish","format-standard","hentry","category-c-misc","category-fromsitestree-com","item-wrap"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":22714,"url":"http:\/\/bangla.sitestree.com\/?p=22714","url_meta":{"origin":22970,"position":0},"title":"Dot Net Nuke i.e DNN Architecture #Root #By Sayed Ahmed","author":"Author-Check- Article-or-Video","date":"March 19, 2021","format":false,"excerpt":"Dot Net Nuke Architecture Components: --Web pages --Web pages can belong to different sites i.e multiple sites can be hosted using a single install of DNN (i.e single web application framework) ( you can keep content, roles, and user permissions separate for each of these sites) --Modules i.e. mini applications\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":23059,"url":"http:\/\/bangla.sitestree.com\/?p=23059","url_meta":{"origin":22970,"position":1},"title":"Random Information on DNN #Root #By Sayed Ahmed","author":"Author-Check- Article-or-Video","date":"March 24, 2021","format":false,"excerpt":"DotNetNuke.Common.Globals.NavigateURL() does not do a redirect, it simply creates a target URL based on the parameter you've provided. IIS 7 enable 32 bit application mode appcmd apppool set \/apppool.name:MyNukeSite \/enable32BitAppOnWin64:true on IIS 6 cscript %SystemDrive%inetpubAdminScriptsadsutil.vbs set w3svc\/AppPools\/Enable32bitAppOnWin64 1 aspnet_regiis.exe -i How to avoid adding multiple references to JQuery Libraries. And\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":24373,"url":"http:\/\/bangla.sitestree.com\/?p=24373","url_meta":{"origin":22970,"position":2},"title":"Questions and Answers on DNN (Dot Net Nuke) for Host Account (Super User Account) #Root","author":"Author-Check- Article-or-Video","date":"April 7, 2021","format":false,"excerpt":"Can you see log file content from inside DNN? yes, Host -> Host Settings -> Logs tab Where to set how long to keep the login active? Host Settings ->other Also, request timeout settings is there as well. Where can you see the platform where DNN is installed? Host ->\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":12310,"url":"http:\/\/bangla.sitestree.com\/?p=12310","url_meta":{"origin":22970,"position":3},"title":"DNN &#8211; Dot Net Nuke CMS : Admin menu options for common settings : \u09a1\u099f \u09a8\u09c7\u099f \u09a8\u09bf\u0989\u0995 \u0983 \u0995\u09a8\u09ab\u09bf\u0997\u09be\u09b0 \u0995\u09b0\u09be\u0964","author":"Sayed","date":"February 1, 2016","format":false,"excerpt":"DNN - Dot Net Nuke CMS : \u098f\u09b0 \u0989\u09aa\u09b0 \u09ad\u09bf\u09a4\u09cd\u09a4\u09bf \u0995\u09b0\u09c7 \u09ac\u09be\u09a8\u09be\u09a8\u09cb \u0993\u09df\u09c7\u09ac \u09b8\u09be\u0987\u099f\/\u0985\u09cd\u09af\u09be\u09aa\u09b2\u09bf\u0995\u09c7\u09b6\u09a8 \u0995\u09bf\u09ad\u09be\u09ac\u09c7 \u0995\u09a8\u09ab\u09bf\u0997\u09be\u09b0 \u0995\u09b0\u09ac\u09c7\u09a8 \u09a4\u09be \u098f\u0996\u09be\u09a8\u09c7 \u09a6\u09c7\u0996\u09be\u09a8\u09cb \u09b9\u09df\u09c7\u099b\u09c7\u0964","rel":"","context":"In &quot;Videos by Us&quot;","block_context":{"text":"Videos by Us","link":"http:\/\/bangla.sitestree.com\/?cat=96"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":24369,"url":"http:\/\/bangla.sitestree.com\/?p=24369","url_meta":{"origin":22970,"position":4},"title":"What are some advanced host settings for DNN? #Root","author":"Author-Check- Article-or-Video","date":"April 7, 2021","format":false,"excerpt":"What are some advanced host settings for DNN? Friendly URL Settings Proxy Settings SMTP Server Settings Performance Settings Jquery Settings CDN Settings dddd Client Resource Mgmt Membership Login IP Search Settings From: http:\/\/sitestree.com\/?p=3266 Categories:RootTags:DNN, dot net nuke Post Data:2016-01-23 22:46:07 Shop Online: https:\/\/www.ShopForSoul.com\/ (Big Data, Cloud, Security, Machine Learning): Courses:\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":74425,"url":"http:\/\/bangla.sitestree.com\/?p=74425","url_meta":{"origin":22970,"position":5},"title":"dnn admin menu options for common settings","author":"Sayed","date":"April 28, 2022","format":false,"excerpt":"https:\/\/youtu.be\/gVQRZRJuusw","rel":"","context":"In &quot;From Youtube Channel&quot;","block_context":{"text":"From Youtube Channel","link":"http:\/\/bangla.sitestree.com\/?cat=1952"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/img.youtube.com\/vi\/gVQRZRJuusw\/0.jpg?resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/22970","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=22970"}],"version-history":[{"count":1,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/22970\/revisions"}],"predecessor-version":[{"id":78158,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/22970\/revisions\/78158"}],"wp:attachment":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=22970"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=22970"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=22970"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}