hi, i have an asp.net application, and im building a user control.
Im overriding the render method so it displayes the way i want.
in the render method, i have a string varibale where im creating all my html code. a part of my code looks like this:
and then im doing writer.Write(str)
it works fine, except that it seems that its not taking the "height" value for my images, and for my TR's, so it doesnt match my design.
this is not the first time it happens to me, and im a bit desperate. does anybody know why if i write the same code directly in the designer it works, but not when i try to send it to the writer variable inside the render method??
thank you very much
Eli
Im overriding the render method so it displayes the way i want.
in the render method, i have a string varibale where im creating all my html code. a part of my code looks like this:
Code:
str += @" <tr height=3>";
str += @" <td bgcolor=""9A3D02"" height=3>";
str += @" <img src=""../Images/menu_lat_esq01.gif"" width=""3"" height=""3"">";
str += @" </td>";
str += @" <td background=""../Images/menu_lat_lpbp.jpg"" bgcolor=""DC9044"" height=3>";
str += @" <img src=""../Images/menu_lat_lp.gif"" width=""157"" height=""3"" border=1>";
str += @" </td>";
str += @" <td align=""right"" bgcolor=""DC9044"" height=3>";
str += @" <img src=""../Images/menu_lat_esq02.gif"" width=""3"" height=""3"">";
str += @" </td>";
str += @" </tr>";
and then im doing writer.Write(str)
it works fine, except that it seems that its not taking the "height" value for my images, and for my TR's, so it doesnt match my design.
this is not the first time it happens to me, and im a bit desperate. does anybody know why if i write the same code directly in the designer it works, but not when i try to send it to the writer variable inside the render method??
thank you very much
Eli