Click here to Skip to main content
15,905,508 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Apply style to div tag. Pin
varshavmane25-Oct-07 21:20
varshavmane25-Oct-07 21:20 
GeneralRe: Apply style to div tag. Pin
Imran Khan Pathan25-Oct-07 21:28
Imran Khan Pathan25-Oct-07 21:28 
GeneralRe: Apply style to div tag. Pin
varshavmane25-Oct-07 21:47
varshavmane25-Oct-07 21:47 
AnswerRe: Apply style to div tag. Pin
SHatchard25-Oct-07 21:11
SHatchard25-Oct-07 21:11 
GeneralRe: Apply style to div tag. Pin
varshavmane25-Oct-07 21:21
varshavmane25-Oct-07 21:21 
GeneralRe: Apply style to div tag. Pin
SHatchard25-Oct-07 21:28
SHatchard25-Oct-07 21:28 
GeneralRe: Apply style to div tag. Pin
varshavmane25-Oct-07 21:40
varshavmane25-Oct-07 21:40 
GeneralRe: Apply style to div tag. Pin
SHatchard25-Oct-07 22:04
SHatchard25-Oct-07 22:04 
From looking at the code the obvious is that you are not setting the ID property of the panel which you want to show, you are setting TargetPopupId to be 'PopupMenu' but that is the name of the object, not the Id of the control which you want to use, try adding the line

PopupMenu.Id = "PopupMenu"

It is not the div which you are trying to hide or display on the mouseover but the panel also, the div is just a control within the panel.

Really you should set the Id property for all controls you add on the page, especially if they are containers. Also im not sure what the default is but you should perhaps specifty the type of generic html control in the constuctor


HtmlGenericControl divtest = new HtmlGenericControl("Div");

GeneralRe: Apply style to div tag. Pin
varshavmane25-Oct-07 22:56
varshavmane25-Oct-07 22:56 
QuestionAbout Media Player Pin
Kasi Viswanathan25-Oct-07 20:22
Kasi Viswanathan25-Oct-07 20:22 
AnswerRe: About Media Player Pin
N a v a n e e t h25-Oct-07 20:28
N a v a n e e t h25-Oct-07 20:28 
GeneralRe: About Media Player Pin
Kasi Viswanathan25-Oct-07 21:35
Kasi Viswanathan25-Oct-07 21:35 
AnswerRe: About Media Player Pin
Abhijit Jana25-Oct-07 21:04
professionalAbhijit Jana25-Oct-07 21:04 
GeneralRe: About Media Player Pin
Kasi Viswanathan25-Oct-07 21:37
Kasi Viswanathan25-Oct-07 21:37 
AnswerRe: About Media Player Pin
ngrj25-Oct-07 21:40
ngrj25-Oct-07 21:40 
GeneralRe: About Media Player Pin
Kasi Viswanathan25-Oct-07 21:58
Kasi Viswanathan25-Oct-07 21:58 
Questionmail server project Pin
shabi uz zaman25-Oct-07 19:55
shabi uz zaman25-Oct-07 19:55 
AnswerRe: mail server project Pin
N a v a n e e t h25-Oct-07 20:02
N a v a n e e t h25-Oct-07 20:02 
Questionaccessing remote desktops Pin
ssunny25-Oct-07 19:10
ssunny25-Oct-07 19:10 
AnswerRe: accessing remote desktops Pin
N a v a n e e t h25-Oct-07 19:52
N a v a n e e t h25-Oct-07 19:52 
QuestionHelp regarding master pages Pin
anu8125-Oct-07 19:02
anu8125-Oct-07 19:02 
AnswerRe: Help regarding master pages Pin
Imran Khan Pathan25-Oct-07 19:23
Imran Khan Pathan25-Oct-07 19:23 
GeneralRe: Help regarding master pages Pin
anu8125-Oct-07 19:28
anu8125-Oct-07 19:28 
GeneralRe: Help regarding master pages Pin
N a v a n e e t h25-Oct-07 19:47
N a v a n e e t h25-Oct-07 19:47 
GeneralRe: Help regarding master pages Pin
anu8125-Oct-07 19:52
anu8125-Oct-07 19:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.