Hi all,
Ok - this might sound kinda stupid - but I cant see how to do it...
I've got an update panel which contains, on one horizontal line, a drop down
list, then an image, then another drop down list and then another image.
I want to align the images so that they are in the middle of the row so to
speak, ie, not at the top. As the updatePanel simply renders a DIV tag I
figured that I would be able to do something like:
updatePanel.Style.Add("vertical-align", "middle")
turns out not - there's no "Style" property...
then I look for "Attributes" in order to use
updatePanel.Attributes.Add etc
this isn't there either....
So, anyone know how I might achieve what I want without having to go down
some complex route of adding tables to my layout (more than I alread
have)...
Regards
Rob 4 9071
<asp:Panel Style="your style here" ... />
"Rob Meade" <ku***************@edaem.borwrote in message
news:Ox**************@TK2MSFTNGP03.phx.gbl...
Hi all,
Ok - this might sound kinda stupid - but I cant see how to do it...
I've got an update panel which contains, on one horizontal line, a drop
down list, then an image, then another drop down list and then another
image.
I want to align the images so that they are in the middle of the row so to
speak, ie, not at the top. As the updatePanel simply renders a DIV tag I
figured that I would be able to do something like:
updatePanel.Style.Add("vertical-align", "middle")
turns out not - there's no "Style" property...
then I look for "Attributes" in order to use
updatePanel.Attributes.Add etc
this isn't there either....
So, anyone know how I might achieve what I want without having to go down
some complex route of adding tables to my layout (more than I alread
have)...
Regards
Rob
"Aidy" wrote ...
<asp:Panel Style="your style here" ... />
Hello Aidy,
Thank you for your reply.
I should have added more information...I'm creating the updatePanel
programmatically...ie..
Dim updatePanel As UpdatePanel
updatePanel = New UpdatePanel
updatePanel.Style.Add() <-- doesn't exist
updatePanel.Attribritures <-- doesn't exist
Any thoughts?
Rob
the update panel is basically a placeholder, whose inner html can be
replaced by client script.
just put a div inside/outside with the style you desire.
-- bruce (sqlwork.com)
Rob Meade wrote:
Hi all,
Ok - this might sound kinda stupid - but I cant see how to do it...
I've got an update panel which contains, on one horizontal line, a drop down
list, then an image, then another drop down list and then another image.
I want to align the images so that they are in the middle of the row so to
speak, ie, not at the top. As the updatePanel simply renders a DIV tag I
figured that I would be able to do something like:
updatePanel.Style.Add("vertical-align", "middle")
turns out not - there's no "Style" property...
then I look for "Attributes" in order to use
updatePanel.Attributes.Add etc
this isn't there either....
So, anyone know how I might achieve what I want without having to go down
some complex route of adding tables to my layout (more than I alread
have)...
Regards
Rob
Are you sure you are using a panel and not a placeholder?
"Rob Meade" <ku***************@edaem.borwrote in message
news:ue**************@TK2MSFTNGP04.phx.gbl...
"Aidy" wrote ...
><asp:Panel Style="your style here" ... />
Hello Aidy,
Thank you for your reply.
I should have added more information...I'm creating the updatePanel
programmatically...ie..
Dim updatePanel As UpdatePanel
updatePanel = New UpdatePanel
updatePanel.Style.Add() <-- doesn't exist
updatePanel.Attribritures <-- doesn't exist
Any thoughts?
Rob This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Michele Locati |
last post by:
Hi to everybody
I've a little problem that I can't solve. An hour of Google search
didn't help.
I should set dinamically via JavaScript the height of an object when I
print the HTML page.
...
|
by: Marc Nederhoff |
last post by:
Hi all,
Is it possible to add the <link rel="stylesheet"....> dynamicaly. All pages
in my site use the same style sheet, and I don't want to add the link
manualy because of maintenance.
Marc
|
by: davidjgonzalez |
last post by:
I have a GridView that has paging enabled. Each item (as defined in an
ItemTemplate) includes several controls which have operations i would
like to Atlas-enable. Everything is working well except...
|
by: Ganesh Muthuvelu |
last post by:
Hello,
I am a ASPX page where I have defined the style for the head element.
******************
<head runat="server" >
<style type="text/css">
.MyClass
{
background-color: aqua;
}
</style>
|
by: ashima515 |
last post by:
Hi
I have made an asp.net form just using textboxex, labels n buttons. I want to make my page more attractive. Like on the top I want to add a colorful bar that will contain the title of my form....
|
by: ChrisCicc |
last post by:
Hi All, I got a real doozy here. I have read hundreds upon hundreds of forum posts and found numerous others who have replicated this problem, but have yet to find a solution. Through testing I have...
|
by: =?Utf-8?B?V2FubmFiZQ==?= |
last post by:
when I try to style a div using the id tag, from an external style sheet, it
is not recognized. If I change the style sheet id to a class, it is
recognized. Is this how styling a div within an...
|
by: vinod allapu |
last post by:
Hi boss,
I am adding style sheets in my project . I have created a style for labels.
I linked it to my web page and used. Now the problem is for the first page load , my style sheet...
|
by: Frinavale |
last post by:
So a while ago I created a Tab Strip Control (before the AjaxToolkit had theirs otherwise I would have probably just used theirs).
When I looked at the AjaxToolkit control to see how they got...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
| |