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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Pop up questionPop up question's
Previous
 
Next
New Post
2/28/2007 10:05 AM
 
Hi, I was trying to find some answers, I hope anyone know's:
- how can you use stuff like dnn:label in a popup, I can't seem to get this working, It seems it cannot find the resource files.
- how to inherit the portals stylesheets in a popup.
 
New Post
3/2/2007 3:11 AM
 

dnn label... not so easily as it does have problems (actually not problems but is implemented) with localization... it tries to find the parent control of itself (recursivly) and if it finds PortalModuleBase one it takes it's LocalResourceFile property for localization.

portal stylesheets... there is a thread on the first page of these forums which discusses that. find it.

 

 


Thanks,
Vladan Strigo
NETMedia

My website: Vladan.Strigo.NET

Vladan.Strigo.NET: Projects
* Advanced VS2005 development approach - BlankModule
* DNN & Microsoft Ajax best practices guidance

Vladan.Strigo.NET: Resources
* Comprehensive list of DNN 4 Module development resources

 
New Post
3/2/2007 3:53 PM
 
Hey Vladan, you seem to know quite some stuff, so I was wondering.....
I've always been told that all server controls must appear within a <form runat="server"> tag.
But looking at some DNN pages it seems this is not always the case:
<head runat="server">
with a
<asp:placeholder id="CSS" runat="server" ....
etc.

So.... how is that possible then....
 
New Post
3/3/2007 6:49 AM
 

No they don't... when you are building a control there is a function you can call which verifies that the control is rendered in a form (something like "VerifyRenderingInServerForm"), and if the controls is not put in a server form it will brake with an exception. However if you don't call something like that your control will work like any other (actually form is just another control... and it doesn't have to be rendered in a server form).

You can also go by the normal html logic... if the control is a "layout" control (panel, placeholder...) it doesn't need a form. If it's a data entry control (textbox, radio button list, etc...) it should be put in a form.

I am sure there are other reasons and explanations as well... but I didn't have a need in the years in which I've been working with asp.net for any better explanation.

 


Thanks,
Vladan Strigo
NETMedia

My website: Vladan.Strigo.NET

Vladan.Strigo.NET: Projects
* Advanced VS2005 development approach - BlankModule
* DNN & Microsoft Ajax best practices guidance

Vladan.Strigo.NET: Resources
* Comprehensive list of DNN 4 Module development resources

 
New Post
3/4/2007 3:39 AM
 
Allright then...thanks.

Though Viual studio complains it doesn't know any '<asp:something' tags when you do not put them between form tags.
It says "Unrecognized tag prefix or device filter 'asp'.
So it kinda expects you to put it between forms tags though....
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Pop up questionPop up question's


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