Custom Module Development
Last Post 12/24/2010 9:02 AM by Joseph Craig. 9 Replies.
Author Messages
Neenu
Nuke Newbie
Nuke Newbie
Posts:2


--
10/06/2008 11:06 PM  
I created my own module using DAL,by adding 4 class files in app_code directory, say alistinfo.vb,alistcontroller.vb,dataprovider.vb and sqldataprovider.vb.
And module being created is alist.ascx and alist.ascx.vb. now it gives error in sql.ascx.vb in one of the function called by its dataprovider,say "DataProvider.Instance().ExecuteSQL(txtQuery.Text)"
Function not found.
Can anybody tel wat can be the mistake or where can i get tutorials or any ebook (paid/free) to learn module development using DAL in DotNetNuke.
Joseph Craig
DNN MVP
Posts:11667


--
10/07/2008 7:48 AM  
I would recommend adefwebserver.com for good information on writing modules.

Without looking over your code, it's difficult to say what you might have done wrong. But, check the tutorials and see what you can find.

Joe Craig, Patapsco Research Group
Complete DNN Support
Neenu
Nuke Newbie
Nuke Newbie
Posts:2


--
10/08/2008 12:21 AM  
Thanks for replying.I have read from this site already and followed the same steps,made module coffeeshoplisting.I am attaching the code files herewith,one is under app_code directory and other is under desktopmodules.but on compiling it gives error in sql.ascx.vb in which i didnt do anything. Kindly see and plz solve my problem.
Joseph Craig
DNN MVP
Posts:11667


--
10/08/2008 7:15 AM  
You might be interested in the DotNetNuke module template that was released as a free download from EngageModules.com. See the blog entry on their home page.

Joe Craig, Patapsco Research Group
Complete DNN Support
Santosh Dhage Tata Technologies
Nuke Newbie
Nuke Newbie
Posts:4


--
12/22/2010 3:18 AM  
Respected Sir,

I want to redirect page from one page to other in my custome module ? how can i achive this plz help me
Joseph Craig
DNN MVP
Posts:11667


--
12/22/2010 3:09 PM  
Depending on how you need to do it, you can always use Response.Redirect.

You could also use DotNetNuke's NavigateURL.

Joe Craig, Patapsco Research Group
Complete DNN Support
Balaji L
Nuker
Nuker
Posts:13


--
12/23/2010 7:52 AM  

I am taking dnn5 user control i.e. urlcontrol . but i am not able to access Id of none, url and file radiobuttons.??? and how to access a controls insides dnn5 usercontrols? please help me.
Joseph Craig
DNN MVP
Posts:11667


--
12/23/2010 8:41 AM  
If you don't get a useful answer here, ask your questions in the DotNetNuke forums for developers.

Joe Craig, Patapsco Research Group
Complete DNN Support
Santosh Dhage Tata Technologies
Nuke Newbie
Nuke Newbie
Posts:4


--
12/23/2010 11:48 PM  

I didnt get developer forum on this site. please answer me how to get access of controls insides usercontrol??
Joseph Craig
DNN MVP
Posts:11667


--
12/24/2010 9:02 AM  
You probably will get developer type questions answered better in the appropriate forums at DotNetNuke.com.

Could you add a few details to your question, though?

Joe Craig, Patapsco Research Group
Complete DNN Support


---