[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

VS10 VB.Net Checking elements value from MasterPage

Posted on 2014-02-12
2
Medium Priority
?
558 Views
Last Modified: 2014-02-13
I want to setup a public sub in my masterpage to do certain functions that are used on many of my subpages...  In order for this to work I need to be able to have the sub pull the status of optionbuttons outside of the masterpage.  Is there a way to do this other than passing Session.Contents variables?
0
Comment
Question by:EDW_Gideon
1 Comment
 
LVL 96

Accepted Solution

by:
Bob Learned earned 2000 total points
ID: 39856215
If you use strong-typed master pages, then you can pass arguments from the content page to the method on the master page.

Here is a reference if you don't know about strong-typed master pages:

Working with ASP.NET Master Pages Programmatically
http://msdn.microsoft.com/en-us/library/c8y19k6h.ASPX
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question