dotnet 1.1 Placeholder and css

X

xzzy

Using dotnet 1.1 ( I cannot go to 2.0 or above because each frame in a
framed page, in dotnet 2.0 and above, has it's own session )

I am injecting controls into a placeholder, labels; textboxes, dropdowns,
listboxes

each control has a css assigned to it via code behind

Problem: the controls in the rendered screen ignore their assigned css

Question: how do I get the controls injected into a placeholder to render
per their assigned css?


Thank you,

John
www.MyReader.net
 
B

bruce barker

2.0+ supports frames and sessions.

nothing special required for dynamic controls. you must have a coding error.
you did not give enough info to solve.

-- bruce (sqlwork.com)
 
X

xzzy

Bruce, thank you for replying, however; your reply is not correct
(1) 2.0+ requires each frame to have it's own session, so 2.0, or
thereafter, is not an option
(2) no coding errors, the same css works outside of a placeholder, css
is ignored within a placeholder

Question: In 1.1, how to require a placeholder to render the css of controls
injected into it?


Thank you,

John
www.MyReader.net
 
A

Andrew Morton

xzzy said:
Using dotnet 1.1 ( I cannot go to 2.0 or above because each frame in a
framed page, in dotnet 2.0 and above, has it's own session )

I am injecting controls into a placeholder, labels; textboxes,
dropdowns, listboxes

each control has a css assigned to it via code behind

Problem: the controls in the rendered screen ignore their assigned css

Have you looked at the page source in a browser to make sure the browser's
seeing what you think it's seeing? Also, make sure you're using a css
class/id and not a css id/class. And save your style sheet before wondering
why the styles don't show. No, I've never made those mistakes <ahem!>.

(I find Firebug in Firefox quite useful for looking at what a browser sees;
also the IE Developer Toolbar in IE.)

Andrew
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top