Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:509901
More Search Options
RSS Available
Matching Posts
Re: User Control Registration
Hi, What I'm trying to do is load a different 'look' for the control based on who's logged in. I've created a class for each User Control and have no codebehind for the controls, all code and web control declarations are in the project. Then each user control has the exact same web controls, just a different look/design. It all works perfectly now. I can change out the the (from the example above) file "OffuttSelkirkSearch_ResidentialCriteria.ascx" with a different one
Posted to
Web Forms
(Forum)
by
rambear
on 12/19/2007
Re: User Control Registration
Hi Hong Gang, I don't see the other reply you sent via email, but I did try that and it's still give me a bit of a problem. This is what I have so far: <% @ Register Src =' <% =GetFileLocation("rc") %> ' TagName ="OffuttSelkirkSearch_ResidentialCriteria" TagPrefix ="uc1" %> <% @ Register Src =' <% =GetFileLocation("rr") %> ' TagName ="OffuttSelkirkSearch_ResidentialResults" TagPrefix ="uc2" %>
Posted to
Web Forms
(Forum)
by
rambear
on 12/19/2007
Re: User Control Registration
Hi Hong Gang, I don't see the other reply you sent via email, but I did try that and it's still give me a bit of a problem. This is what I have so far: <% @ Register Src =' <% =GetFileLocation("rc") %> ' TagName ="OffuttSelkirkSearch_ResidentialCriteria" TagPrefix ="uc1" %> <% @ Register Src =' <% =GetFileLocation("rr") %> ' TagName ="OffuttSelkirkSearch_ResidentialResults" TagPrefix ="uc2" %>
Posted to
Web Forms
(Forum)
by
rambear
on 12/19/2007
Re: User Control Registration
That didn't work
Posted to
Web Forms
(Forum)
by
rambear
on 12/17/2007
Re: User Control Registration
That didn't work
Posted to
Web Forms
(Forum)
by
rambear
on 12/17/2007
User Control Registration
I'm attempting to load a different .ascx based on information returned by a function (essentially just a path to the different .ascx's). In a typical registration: <% @ Register Src ="ResidentialSearchCriteria.ascx" TagName ="ResidentialSearchCriteria" TagPrefix ="uc1" %> the ascx is loaded from the current directory. Is there a way to run a function within the registration statement so that I can get the EFFECT of: <% @ Register Src ="~\site_1
Posted to
Web Forms
(Forum)
by
rambear
on 12/17/2007
Re: Retrieving File from Current Portal Skin Directory
Well, I figured out how to use DotNetNuke.Common.GetPortalSettings.ActiveTab.SkinPath to locate the current directory. What we're trying to do is pull in an .ascx from the portal's skin directory that has a custom layout. However, the controls on the differnt pages will always be the same (with the same ID) from portal to portal, it's just the layout will be different. Is there a way to grab that file and stuff it into the 'View...ascx' file used by the custom module? Maybe use a placeholder on the
Posted to
Custom Modules
(Forum)
by
rambear
on 7/20/2006
Retrieving File from Current Portal Skin Directory
We're trying to grab an .ascx from the current portal's/current skin directory so we can insert it into a custom module's view page. Can anyone explain how to do this?
Posted to
Custom Modules
(Forum)
by
rambear
on 7/17/2006
Executing Server Side .exe Application
Hope this is in the correct forum. This is the first time I've needed to do this in a project I've been working on and adding to for the last year. Essentially another company wrote a small application for us that I'd like to reuse (we used to call it via php code, but I've rewritten that section in .net). This small VB 6 .exe places a digital signature on an existing .pdf file. Eventually (once I have better understanding of the Adobe components this thing loads and uses) I'd like to just rewrite
Posted to
Enterprise Services Integration
(Forum)
by
rambear
on 10/23/2005
Session("") variable on one server with two different domains
I have two domains running on one server and I need to pass the user from domain A to domain B because the SSL Cert is on B and I need them to fill out some personal data which I want SSL protection for. I also need to keep a few small pieces of information as I pass them from A to B and back to A and would prefer not to use query strings. Will Session variables follow them even though they're getting passed to a different Domain name and different solution/.dll on the same machine? Thank you.
Posted to
Getting Started
(Forum)
by
rambear
on 10/14/2005
Page 1 of 3 (24 items) 1
2
3
Next >
Channel 10:
Progression of the Iconic Background
WindowsClient:
ASP.NET AJAX 4.0 Data Binding on MSDN Magazine
WindowsClient:
Don’t miss out..
TechNet Edge:
Improving Collaboration with SharePoint - Tech Focus December 2009 Part 1
Channel 9:
Channel 9 Live at PDC09: Scott Guthrie
Channel 10:
Get Discounted Concert Tickets at the New Windows Section 7
Channel 10:
Get Bing Wallpapers on the iPhone
Channel 10:
Bing Gets a New Toolbar
ASP.NET:
More on medium trust: what permission are you missing?
Channel 9:
Channel 9 Live at PDC09: Bob Muglia
WindowsClient:
Adventures With Windows Azure Diagnostics
Mix Online:
Adventures With Windows Azure Diagnostics
Channel 9:
Channel 9 Live at PDC09: Ray Ozzie
Channel 9:
Coding4Fun: DrinkTendr
Channel 9:
TWC9: Scott Hanselman, John Galloway, Bing, parallel unit tests, more
TechNet Edge:
ISA to TMG Migration Guidance
Channel 9:
Life at Microsoft: Episode 3
TechNet Edge:
Microsoft Windows Server 2008 to AITP
ASP.NET:
How important is medium trust to you?
WindowsClient:
Microsoft Web Platform & You
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online