Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...ISearchable not working when module is using LINQ2SQLISearchable not working when module is using LINQ2SQL
Previous
 
Next
New Post
5/5/2009 8:37 AM
 

Hi,

I have created a simple module based on Michael Washington's tutorial www.adefwebserver.com/DotNetNukeHELP/LinqTutorial/

When I implement ISearchable module compiles fine but  "Searchable" check box is not checked under Supported Features. I tried upating the module.

The tutorial is using DataContext class whereas I believe I need a controller class.??

Can someone please point me in a right direction to a tutorial or sample that is using LINQ and DNN Searching using ISearchable interface.

Thanks in advanced.

Amir

 
New Post
5/5/2009 9:13 AM
 

Linq2SQL should not cause any problems. Implement the instructions here: ISearchable: Easily Make Your Module Searchable (VB &C#)



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
5/6/2009 5:04 AM
 

Thanks for your reply. That "Survey" module is not implemented in LINQ, it is implemented in DAL therefore it has a Controller class and a seperate assembly.

I followed your tutorial on "LinqThings4Sale" and impleted the ISearchable interface but What should I type in "Controller Class" field? I tried to add: "DotNetNuke.Modules.LinqThings4Sale.View" but it still doesn't recognized as searchable. Please help!

Michael, a BIG Thank you to you for creating all those EXCELLENT tutorials on DNN. It really is helping me for my project.

Amir

 

 
New Post
5/6/2009 9:30 AM
 

Actually the Survey module does not have an assembly. All of it's code is under DesktopModules and the App_Code folder.

You just need a class (that you will place in the folder for your module under the App_Code folder) that implements the Entities.Modules.ISearchable interface. You put the name of that class in the module configuration and it will work.

Note ISearchable has nothing to do with the DAL.



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
5/8/2009 2:24 AM
 

It Worked! Thanks a lot.

I was going crazy implementing ISearchable in Modules Folder.

Amir

 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...ISearchable not working when module is using LINQ2SQLISearchable not working when module is using LINQ2SQL


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out