0% found this document useful (0 votes)
26 views

Because Your Module Is in The Access Deny Path Solution: Copy It To Admin Category. 2

This summary provides solutions to common issues: 1. To upload images in DotNetNuke, copy the module to the admin category to avoid access restrictions. 2. To add a DLL file to the assembly cache, use gacutil with the -I flag followed by the DLL path. 3. When using DevExpress components, set CSS paths to local resources instead of WebResources to avoid errors. 4. To make checkboxes editable in a datagrid, use templates and code to bind checkbox state to data fields. Access checkbox controls via row and cell indexes. 5. Multisession discs mount like normal discs, showing the last session. Ensure the drive and kernel support multisession formats.

Uploaded by

m_account
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views

Because Your Module Is in The Access Deny Path Solution: Copy It To Admin Category. 2

This summary provides solutions to common issues: 1. To upload images in DotNetNuke, copy the module to the admin category to avoid access restrictions. 2. To add a DLL file to the assembly cache, use gacutil with the -I flag followed by the DLL path. 3. When using DevExpress components, set CSS paths to local resources instead of WebResources to avoid errors. 4. To make checkboxes editable in a datagrid, use templates and code to bind checkbox state to data fields. Access checkbox controls via row and cell indexes. 5. Multisession discs mount like normal discs, showing the last session. Ensure the drive and kernel support multisession formats.

Uploaded by

m_account
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

1- Can not upload image in dot net nuke: Because your module is in the access deny path Solution:

copy it to admin category. 2- How dll file add to assembly cache? With gacutil I <dll file to be install> 3- I received an Error In .net : The name 'WebResource' does not exist in the current context If you use devexpress component in your project, you must set css path resource to local no from resource .e.g.
url('WebResource("DevExpress.Web.ASPxThemes.App_Themes.PlasticBlue.Grid View.sprite.gif")%>');

must be convert to:


url(sprite.gif');

<script runat="server"> public bool getboolean(object dataitem,string expr) { string tmp=DataBinder.Eval(dataitem, expr).ToString().ToLower(); return ( tmp== "true" ||tmp=="1") ? true : false; } </script>
. . .

4- I Fill datagridview manual with table but my checkbox columns grid have been readonly, what are your suggestion? Set checkbox column to template and write this code for binding:

<EditItemTemplate> <asp:CheckBox ID="CheckBox1" runat="server" Checked='< %#getboolean(Container.DataItem,"ReadAccess") %>' Enabled='< %#getboolean(Container.DataItem,"IsRegister") %>' /> </EditItemTemplate> <ItemTemplate> <asp:CheckBox ID="CheckBox1" runat="server" Checked='< %#getboolean(Container.DataItem,"ReadAccess")%>' Enabled='< %#getboolean(Container.DataItem,"IsRegister") %>' /> </ItemTemplate>

Moreever For access this control you use this code:


(GridMember.Rows[#].Cells[#].Controls[1] as CheckBox).Checked

5- How do I mount a multi-session disc? You mount a multi-session disc like any other CD-ROM. The normal behaviour for multisession support is that the last session will be seen when you mount the disc. You will not see multiple partitions. If it does not work it could be for three reasons:

Your CD-ROM drive does not support reading multi-session CDs (it would probably have to be quite old for this to be the case). The Linux kernel driver for your CD-ROM type does not support multi-session (mostly only some old proprietary, non-IDE/ATAPI and non-SCSI drives fall into this category). If you are mounting a CD with a file system other than ISO-9660, then multi-session may not be supported. 6- BASH Shell change the color of my shell prompt under Linux or UNIX: 7- How to change Elastix 2.0.3 admin password? answer is simple: sqlite3 /var/www/db/acl.db UPDATE acl_user SET md5_password = `echo -n password|md5sum|cut -d -f 1` WHERE name = admin one linear 8-

You might also like