CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.dotnetnuke.custom_modules Tags:
Item Type: NewsGroup Date Entered: 4/1/2005 9:23:29 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 28 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
WeepingBoil
Asp.Net User
Adding .net code to skin file4/1/2005 9:23:29 AM

0/0

Hi,

I've successfully built a skin as an .ascx file with plenty of images. Is it possible to add some .net code into this file to make one of the images random? I've tried overriding Page_Load but that throws an exception however I call it.

The image is the background to a table cell and I'm sure this can't be soved by developing a custom module - it's very much part of the skin.

I'm afraid all my .net code experience is in C# - I'm very rusty with vb Sad [:(]

Using 3.0.12

Any help would be appreciated - I've got to have my site finished very soon or I'm going to get shouted at! lol


Ernest Waller
Head of ICT, Hartismere High School, UK
DNN 3.1.1
cathal
Asp.Net User
Re: Adding .net code to skin file4/1/2005 3:59:59 PM

0/0

whilst you could do this by adding inline .net code, that will simply run when that part of the page is processed, this is what skinobjects are intended for i.e. you create a skinobject and then simply add a token to the skin e.g. [RANDOMIMAGE]. If you take a look at the DotNetNuke Skinning.doc in the documentation folder it should help you. Also the admin\skin folder contains the existing skin objects, take a look at something like the search one.

Cathal

2 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Professional ASP.NET 2.0 Design: CSS, Themes, and Master Pages Authors: Jacob J. Sanford, Pages: 474, Published: 2007
Pro C# 2008 and the .NET 3.5 Platform Authors: Andrew Troelsen, Pages: 1370, Published: 2007
ASP.NET 2.0 Website Programming: Problem-design-solution Authors: Marco Bellinaso, Pages: 576, Published: 2006
Beginning ASP.NET 2.0 with C# Authors: Chris Hart, John Kauffman, David Sussman, Chris Ullman, Pages: 735, Published: 2006
Beginning ASP.NET 2.0 Authors: Chris Hart, John Kauffman, Chris Ullman, David Sussman, Pages: 759, Published: 2005
Learning ASP.NET 3.5 Authors: Jesse Liberty, Dan Hurwitz, Brian MacDonald, Pages: 576, Published: 2008
Beginning DotNetNuke Skinning and Design: Skinning and Desing Authors: Andrew Hay, Nina Meiers, Shaun Walker, Pages: 432, Published: 2007
Web Development, Silverlight, and ASP. NET AJAX: From Novice to Professional Authors: Laurence Moroney, Pages: 427, Published: 2008
Beginning SQL Server 2005 Express Database Applications: With Visual Basic Express and Visual Web Developer Express from Novice to Professional Authors: Rick Dobson, Pages: 596, Published: 2005
Microsoft Visual C# 2005 Unleashed Authors: Kevin Hoffman, Pages: 692, Published: 2006

Web:
PLEASE HELP - Custom Control adding a skin file cause error ... The problem is that when I create a skin file using the same register line of code. <%@ Register Assembly="WEM.Portal" Namespace="WEM. ...
15 Seconds : Code in Style with ASP.NET Themes In the Add New Item dialog box, specify the name of the .skin file as ... NET Page named CustomThemes.aspx and modify the code in the page to look like the ...
Working with Themes and Skin files in ASP.NET 2.0 - .Net Articles ... NET 2.0 Author: Aadil Download Source Code : 212_Default.zip ... In the skin file you just need to add the exact definitions of the web controls with all ...
Themes In ASP.NET 2.0 Aug 7, 2005 ... You can add as many .skin files to a theme as you need. ..... theme as being “ code” (nor may a theme or skin file actually contain any code) ...
Control site appearance with ASP.NET 2.0 themes NET. Automatically sign up today! Skin definitions are contained in a skin file (using the .skin file extension). You can easily add a skin file to a ...
Adding Themes to ASP.NET Controls - Utah GIS Portal Scripts and Code arrow Adding Themes to ASP.NET Controls ... I then created an AGRC.skin file, an AGRC.css file, and a folder called images. ...
CodeProject: ASP.NET: Themes. Free source code and programming help Jun 5, 2008 ... This article, along with any associated source code and files, .... and add them to the .skin file, remove them from the control, ...
Dynamically add Text value to LinkButton in Skin file - ASP.NET Forums You can't use code in skin file. To translate your controls, ... http:// quickstarts.asp.net/QuickStartv20/aspnet/doc/localization/ ...
TheMSsForum.com >> Asp >> Override Skin file in CheckBoxList item ... .NET code?? Design RE: Seperate Databases and Business Logic. ...... master.skin file that overrides any classes I add to the listitems as ...
Override Skin file in CheckBoxList item ASP Net - Override Skin file in CheckBoxList item ... master.skin file that overrides any classes I add to the listitems as ...

Videos:
KEVIN'S VISTA \ MAC OSX LEOPARD HELLO YOUTUBE VIEWERS EVERYTHING IS IN THE DESCRIPTION. EVERYTHING IS IN THE DESCRIPTION. IN THIS VIDEO I WILL SHOW YOU HOW IT IS EASY TO MAKE Y...
Philip Pocock 100 Days 100 Guests event (Day 63) Documenta X 1997 Philip Pocock speaking at Documenta X about hypercinema and the collabortative work produced in Uganda by Documenta X - A Description of the Equator ...




Search This Site:










walkthroughs and samples for asp.net 2.0

download location for visual web developer

authentication ... going crazy here!

custom module, external database, and manifest

strange globalization error : pt. ii

no search results since upgrade to 311

why move from asp to asp.net ?

private assembly installer gold v1.1 has moved!

all my multipages are displayed at once

where do you download a trial of asp.net and ajax

how to provide such service?

job with date and hours

help me understand multiple postbacks???

how to solve the error message?

new to 2.0 & vs 05 - basic question

sql query with 3 values, displaying this in a gridview, how ?

iframe with local source

kerberos delegation issue! web server isn't utilizing client's credentials to access remote resource

retain navigation categories and sub category links (session state /cookies?)

save txt file

asp:menuitem problem

aligning fields in a formview

install problems

master page rewriting the url of my anchors

visual studio 2005 beta 1 back order

asp.net: how to request the event "enter key"

to deploy an external facing web app as a web application project or not to; that is the question

dnn 3.x install on webhost4life

with the login control how to prevent user from logging in twice

how to change icon of selected node?

 
All Times Are GMT