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...Building ExtensionsBuilding ExtensionsModulesModulesWAP Module setup VS2010 DNN5.2WAP Module setup VS2010 DNN5.2
Previous
 
Next
New Post
1/23/2010 9:21 PM
 

Hi Guys

How do you get rid of this painstaking irritating problem? I am running VS2010 Adding a new project with DNN5.2 placing it in desktopmodules folder and referencing it to /bin/DotnetNuke.dll But why doesn't the code in the autogenerated codebehind files work? I am using the latest source code downloaded from dotnetnuke?

  

 

                    cmdDelete.Attributes.Add("onClick", " return confirm('" & Localization.GetString("DeleteItem") & "');")

                    If Not Common.Utilities.Null.IsNull(ItemId) Then
                        ' get content
                        Dim objRekryteringsforetags As New RekryteringsforetagController
                        Dim objRekryteringsforetag As RekryteringsforetagInfo = objRekryteringsforetags.GetRekryteringsforetag(ModuleId, ItemId)
                        If Not objRekryteringsforetag Is Nothing Then
                            txtContent.Text = objRekryteringsforetag.Content
                            ctlAudit.CreatedByUser = objRekryteringsforetag.CreatedByUserName
                            ctlAudit.CreatedDate = objRekryteringsforetag.CreatedDate.ToString
                        Else ' security violation attempt to access item not related to this Module
                            Response.Redirect(NavigateURL(), True)
                        End If
                    Else
                        cmdDelete.Visible = False

 

Error    1    'Text' is not a member of 'System.Web.UI.UserControl'.    C:\Inetpub\DNN_kassasystem_biz\DesktopModules\Rekryteringsforetag\EditRekryteringsforetag.ascx.vb    75    29    Rekryteringsforetag

Error    2    'CreatedByUser' is not a member of 'System.Web.UI.UserControl'.    C:\Inetpub\DNN_kassasystem_biz\DesktopModules\Rekryteringsforetag\EditRekryteringsforetag.ascx.vb    76    29    Rekryteringsforetag

Error    3    'CreatedDate' is not a member of 'System.Web.UI.UserControl'.    C:\Inetpub\DNN_kassasystem_biz\DesktopModules\Rekryteringsforetag\EditRekryteringsforetag.ascx.vb    77    29    Rekryteringsforetag

Error    4    'Text' is not a member of 'System.Web.UI.UserControl'.    C:\Inetpub\DNN_kassasystem_biz\DesktopModules\Rekryteringsforetag\EditRekryteringsforetag.ascx.vb    126    50    Rekryteringsforetag
 

 
New Post
2/3/2010 11:17 PM
 

Hi! It sure looks like txtContent isn't being recognised as a TextBox at all - looking at the color of the control name!

can you indicate if txtContent is there?

 
New Post
2/4/2010 1:37 AM
 

Define the Controls with PageEvents  as your are using the VB and rebuild your project again

Hope it Helps!


Amrish Sharma, MCP
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesWAP Module setup VS2010 DNN5.2WAP Module setup VS2010 DNN5.2


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