J
joe v
Guest
content page? PLEASE HELP! ASP.NET? SPAM WILL BE REPORTED
Man, I have been messing with this for days. I need to set a string in the Master page from the content page. I can get a reference to the master page SOMETIMES.... and then other, seemingly random (though weighted at 99%) times I can't!!!
I have changed the reference manually in the .aspx file, I have experimented with nested master pages and subdirectories, ...I've done everything I can think of several times but intellisense never picks it up and it always gets a red squiggly line. The only time it does seem to work MOST of the time is if both the master page and content page are in the root directory. But I do have a nested master page in a subdirectory that is able to get and set variables in its master page which is located in the root directory. I have tried copying this style of coding the path in the .aspx file in other files but it doesn't work.
My God, could someone please tell me exactly how to reference a variable in a master page from the content page, 100% of the time?
Man, I have been messing with this for days. I need to set a string in the Master page from the content page. I can get a reference to the master page SOMETIMES.... and then other, seemingly random (though weighted at 99%) times I can't!!!
I have changed the reference manually in the .aspx file, I have experimented with nested master pages and subdirectories, ...I've done everything I can think of several times but intellisense never picks it up and it always gets a red squiggly line. The only time it does seem to work MOST of the time is if both the master page and content page are in the root directory. But I do have a nested master page in a subdirectory that is able to get and set variables in its master page which is located in the root directory. I have tried copying this style of coding the path in the .aspx file in other files but it doesn't work.
My God, could someone please tell me exactly how to reference a variable in a master page from the content page, 100% of the time?