Our .asp site uses VML to display boxes, and the color of these boxes are determined by ratings that get pulled from an Oracle database.The Network Administrator Recently implemented mandatory MS Updates and now the VML (colored boxes) do not get displayed.
It was suggested that we should go to a .NET environment and we're told it is possible to write .NET methods to do color coding in a page (to color the boxes on our webpage).Otherwise we could use Infragistics NetAdvantage for .NET to draw/display & color the boxes.Since we have no experience in .net or with Infragistics or NetAdvantage, we wanted to first know if VML would work in .NET or if anyone has other suggestions on how we could display our page?
We also have part of our .asp website using .NET, but this part of the webpage doesn't display the VML either.Which is why we're kind of confused on having been told that we should go to a .NET environment. Can we solve our VML issues by converting from classic ASP to ASP.NET?
Here's an example of our current .ASP code built using UltraEdit that worked before the MS Updates:
CBJLMRR1
Member
2 Points
3 Posts
VML issues and converting to ASP.NET
Feb 04, 2011 03:31 PM|LINK
Our .asp site uses VML to display boxes, and the color of these boxes are determined by ratings that get pulled from an Oracle database. The Network Administrator Recently implemented mandatory MS Updates and now the VML (colored boxes) do not get displayed.
It was suggested that we should go to a .NET environment and we're told it is possible to write .NET methods to do color coding in a page (to color the boxes on our webpage). Otherwise we could use Infragistics NetAdvantage for .NET to draw/display & color the boxes. Since we have no experience in .net or with Infragistics or NetAdvantage, we wanted to first know if VML would work in .NET or if anyone has other suggestions on how we could display our page?
We also have part of our .asp website using .NET, but this part of the webpage doesn't display the VML either. Which is why we're kind of confused on having been told that we should go to a .NET environment. Can we solve our VML issues by converting from classic ASP to ASP.NET?
Here's an example of our current .ASP code built using UltraEdit that worked before the MS Updates:
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<style>
<body>
<v:shape id="_x0000_s1114" type="#_x0000_t202"
target = "_top" style='position:absolute;margin-top:<%=Row7TopMargin%>pt;height:<%=FamilyHeight%>pt;z-index:24;
MARGIN-LEFT: <%=Column01LeftMargin%>pt; WIDTH: <%=FamilyWidth%>pt;
mso-position-horizontal:absolute;mso-position-vertical:absolute' o:regroupid="23"
o:button="t" fillcolor="<%=GetRatingColor(CommanderRating)%>" strokecolor="#f60" strokeweight="1.5pt">
<p class="MsoNormal" style='text-align:center'>
<span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'>
<font color = "Black">7.62MM</font></span></p></div></v:textbox>
</v:shape>
</body>
</style>
</head>
</html>
shabirhakim1
Star
13504 Points
2149 Posts
Re: VML issues and converting to ASP.NET
Feb 04, 2011 04:06 PM|LINK
Hi,
Of Course VML Works in .NET,But it is good if you will go for silverLight.
YOU CAN SEE HERE HOW VML WORKS WITH .NET
VML Web Controls - CodeProject
Regards
shabir