PDA

View Full Version : [CLOSED] problems of migration to version 2.2 -----Part 2



JCarlosF
Aug 20, 2013, 4:19 PM
Good day, I have another problem with version migration,
at the top of my page I have an image inside it shows a linkbutton, in version 2.1 I could see the linkbutton, in version 2.2 not.

How I can I fix it? thank you!


The image is red:
6786


Styles CSS:



.imagenFondoNotif
{
float:left;
position:relative;
}

.imagenTextoNotif
{
position:absolute;
top:5px;
left:2px;
width:50px;

font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight: bold;
text-decoration:none;
color:White;
}


Code aspx:



<ext:Image ID="ImgNotifLotes" runat ="server" Cls="imagenFondoNotif" ImageUrl="Imagenes/imgHeader/banderitaOn.gif" MarginSpec="0 0 0 0" Width="30" Height="33" >
<Content>
<ext:LinkButton runat="server" MenuArrow ="true" Cls="imagenTextoNotif" ID="LinkNotif" Text ="7" MarginSpec="0 0 0 0" >
</ext:LinkButton>
</Content>
</ext:Image>

Daniil
Aug 20, 2013, 7:37 PM
Hi @JCarlosF,

I think using an Image's Content is incorrect. Even if it is working in v2.1, it is a hack.

Please move the LinkButton out of the Image's Content. You should be still able to position it absolutely as needed.

JCarlosF
Aug 23, 2013, 12:16 AM
Hi @JCarlosF,

I think using an Image's Content is incorrect. Even if it is working in v2.1, it is a hack.

Please move the LinkButton out of the Image's Content. You should be still able to position it absolutely as needed.


Perfect!

following your suggestion, I already solved,
I share the solution:



.imagenFondoNotif
{
float:left;
position:relative;
}

.imagenTextoNotif
{
position:absolute;
top:5px;
left:-23px;
width:50px;

font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
font-weight: bold;
text-decoration:none;
color:White;
}




<ext:Image ID="ImgNotifLotes" runat ="server" Cls="imagenFondoNotif" ImageUrl="Imagenes/imgHeader/banderitaOn.gif" MarginSpec="0 0 0 0" Width="30" Height="33" >
</ext:Image>

<ext:LinkButton runat="server" Cls="imagenTextoNotif" ID="LinkNotif" Text ="7" MarginSpec="0 0 0 0" >
</ext:LinkButton>


Thanks!