Biju Vgh
Nuke Ace Posts:42
|
02/26/2014 8:25 AM |
|
While creating a new module in DNN using a control which contains .xap file.it is showing message 'Error in creating module'.The .xap file is called in the page_load of a .ascx page.This .ascx page is given as the resource in the new module creation. this is the code given in page_load event Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) ' Register Silverlight.js file Page.ClientScript.RegisterClientScriptInclude(Me.[GetType](), "SilverlightJS", (Convert.ToString(Me.TemplateSourceDirectory) & "ESRI-V-10-SIL4.Web/Silverlight.js")) ' Set the path to the .xap file SilverlightApplication = [String].Format("{0}{1}", TemplateSourceDirectory, "ESRI-V-10-SIL4.Web/ClientBin/ESRI-V-10-SIL4.xap") End Sub Please help.
|
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
02/26/2014 9:25 AM |
|
Are you creating the module within DNN? Or are you doing this in VS and possibly using one of the available module templates? Check the EventLog table to see if there are more details. |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|
Biju Vgh
Nuke Ace Posts:42
|
02/26/2014 10:02 AM |
|
Yes.creating the module within DNN.In VS,just did the coding of .ascx page and used this page in the Resource field of New module creation(using control option) in DNN.
|
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
02/26/2014 1:01 PM |
|
You might also want to ask this question on the developer forums at DNNSoftware.com and in the forum at the new dnn-connect.org. My own recommendation would be to base your module development on Chris Hammond's templated for VS. I have no idea if that will solve the particular problem you are having, but that approach, at least to me, is more understandable. |
|
Joe Craig, Patapsco Research Group Complete DNN Support |
|
|