Hi all,
I have a user control that is for all the pages in a folder that has a bit of text, a menu and an image. Now what I want to acheive if for it to detect what page it is on ie: default.aspx and then if it is then i dont want it to display the menu.... how would i set about this and would it involve using the form id tag?
I tried writing an if statement something to the effect of...
If Form Name = "Default" then
repDefaultMenu.Visible = False
End If
Clearly that is not going to work though. How do I obtain the form ID or form name. On the form its called form id but when outputted to html its form name.
thanks.
David Jenkins
-------------------------------------------------------------
Do you want to make extra money around your commitments?
Credit cards, bills, loans and a mortgage - all getting you down?
Is your pension going to be enough when you retire?
There is a solution visit
http://www.1stmillion.co.uk
or call 01772 489521