Search

You searched for the word(s): userid:454600

Matching Posts

  • Re: Handling LoadControl error

    Thanks for all your input. Can workaroud as follows. Added two controls to the page. <uc1:testuc id=TestUC1 runat= "server" ></uc1:testuc> <uc1:error404 id=Error4041 runat= "server" Visible= "False" ></uc1:error404> In testuc.ascx 'If an error occurs Dim myControl As UserControl = Page.FindControl( "TestUC1" ) Dim myErrorControl As UserControl = Page.FindControl( "Error4041" ) If Not myControl Is Nothing And Not myErrorControl
    Posted to Getting Started (Forum) by happyplace2020 on 4/1/2008
  • Re: Handling LoadControl error

    testuc.ascx.vb only contains the following as a test. Private Sub Page_Load( ByVal sender As System. Object , ByVal e As System.EventArgs) Handles MyBase .Load Throw New Exception End Sub test.aspx just returns ''Exception of type System.Exception was thrown' without passing the exception back up to test.aspx.
    Posted to Getting Started (Forum) by happyplace2020 on 4/1/2008
  • Re: Handling LoadControl error

    Thanks for the reply. I tried the following with no joy. Dim myControl As New Control myControl = Me .LoadControl( "testuc.ascx" ) Try phPageContent.Controls.Add(myControl) Catch ex As Exception myControl = Me .LoadControl( "error404.ascx" ) phPageContent.Controls.Add(myControl) Response.StatusCode = 404 End Try
    Posted to Getting Started (Forum) by happyplace2020 on 4/1/2008
  • Handling LoadControl error

    I'd like to catch an error when loading a control in ASP.NET 1.1 but can't understand why the following doesn't work. Any help appreciated. In test.aspx.vb Dim myControl As New Control Try myControl = Me .LoadControl( "testuc.ascx" ) phPageContent.Controls.Add(myControl) Catch ex As Exception myControl = Me .LoadControl( "error404.ascx" ) phPageContent.Controls.Add(myControl) Response.StatusCode = 404 End Try In testuc.ascx.vb Throw New Exception I can't work out
    Posted to Getting Started (Forum) by happyplace2020 on 4/1/2008
  • Re: Problem compiling a first module.

    These errors tend to arise out of inconsistencies between SqlDataProvider.vb, Dataprovider.vb and ModuleController.vb. An approach to solving this is to take the first database call from SqlDataProvider.vb and work your way back through each of Dataprovider.vb and ModuleController.vb, for example: SqlDataProvider.vb -------------------- Public Overrides Sub DeleteFAQ(ByVal ItemId As Integer) SqlHelper.ExecuteNonQuery(ConnectionString, DatabaseOwner & ObjectQualifier & "DeleteFAQ", ItemId
    Posted to DotNetNuke (Forum) by happyplace2020 on 5/31/2005
  • Re: The module 'UrlRewrite' is already in the application and cannot be added again

    ASP.NET runs the .config file in the application root and then the .config in the virtual directory. For your setup to work try removing the module load from the config file in your virtual directory: <remove name="ModuleName" /> Your root application should load fine as the module declaration exists in your root, and your virtual applications should load the modules from the config in your root.
    Posted to DotNetNuke (Forum) by happyplace2020 on 5/29/2005
  • Re: Single code base multiple database?

    No. DNN has been created to support multiple portals in a single database. There has been discussion on this in previous posts ( which I can't find for you at the moment :( ).
    Posted to DotNetNuke (Forum) by happyplace2020 on 5/27/2005
  • Re: Pointing a url to a dotnetnuke child portal

    A new alias is just what you need to set-up to achieve this. Simply add a new alias to each portal.
    Posted to DotNetNuke (Forum) by happyplace2020 on 5/26/2005
  • Re: Another Rocket Science Question

    For whatever reason, two controls are being added to the page with the same id. If your custom modules are rendering controls to the page with custom id's it may be worth testing the naming of your controls by suppressing the control output and simply outputting a list of control id's to a label. If your custom module adds two module controls to a page in one go (e.g., a shopping module that adds a shop front control and a shop navigation control) then this might be the cause.
    Posted to Custom Modules (Forum) by happyplace2020 on 5/13/2005
  • Re: dnn 3 Search

    Did you re-index the search after making your content changes?
    Posted to DotNetNuke (Forum) by happyplace2020 on 5/12/2005
Page 1 of 35 (344 items) 1 2 3 4 5 Next > ... Last »