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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Modules via server controlsModules via server controls
Previous
 
Next
New Post
4/12/2007 10:45 AM
 

Anyone had any luck using the server control development approach yet?

I can get my View part of my module working fine (although there are some AJAX and resource file issues), but am having trouble with other areas like an Edit control (or any other additional page/control).

 
New Post
4/12/2007 8:55 PM
 

Ed DeGagne wrote

Anyone had any luck using the server control development approach yet?

I can get my View part of my module working fine (although there are some AJAX and resource file issues), but am having trouble with other areas like an Edit control (or any other additional page/control).

hmmm.   I'm getting a little old, can you perhaps give me your definition of "server control development approach"?

 

 
New Post
4/13/2007 9:57 AM
 

4.5.0 now supports creating modules without the need for any user controls (ascx files). With server control development, everything is dynamically built via code.

While the View definitions for modules built this way seem to work fine (with the exception of some resource file and AJAX issues), getting Edit definitions (or anything other than View) has been a struggle.

 
New Post
4/13/2007 10:21 AM
 

Ed DeGagne wrote

4.5.0 now supports creating modules without the need for any user controls (ascx files). With server control development, everything is dynamically built via code.

While the View definitions for modules built this way seem to work fine (with the exception of some resource file and AJAX issues), getting Edit definitions (or anything other than View) has been a struggle.

Hmm, and I just posted somewhere that this couldn't be done.  So now I look like an idiot, again.

Can you tell me where you found the info that this could be done, since there are no release notes (and blogs make me cross-eyed).

 

 
New Post
4/13/2007 7:09 PM
 

There has always been a "work around" for doing this kind of development. It involved still having an .ascx but with nothing in the HTML code and all implemented in the code behind instead. I've done a number of modules this way.

New to 4.5.0 is the ability to completely create server controls with no .ascx at all. Unfortunately, I don't think it is "complete" yet.

Go to Charles Nurse' blog and look for his "Look Mom, no hands" article. It gives an example in "Hello World" fashion. Problem is, that it is only the "View" part and has no other examples.

Charles has said he'd look into it a little further and get back to me. I'll keep you posted.

My module I am creating is a Weather module (currently using the Yahoo Weather Rss service) and I was easily able to get it's "View" part working and rendering perfectly. What I couldn't get working was:

1.) Nothing other than View definitions worked.

2.) Couldn't get AJAX working.

3.) Couldn't get localization to work.

Of course, I'll keep on trying...

 

;)

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Modules via server controlsModules via server controls


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