AutoFit an Image
-
Hello all.. I have been using ASP.Net 2 with c#.My problem is as follows: I need to put an image.I have used an image control for the purpose .i have well placed the image.But when i view the page on the browser the image doesnt seem to fit into the control but the image takes its original size.How can i auto fit it into the control?Any ideas? confusedme
-
Hello all.. I have been using ASP.Net 2 with c#.My problem is as follows: I need to put an image.I have used an image control for the purpose .i have well placed the image.But when i view the page on the browser the image doesnt seem to fit into the control but the image takes its original size.How can i auto fit it into the control?Any ideas? confusedme
You put the size in the control and it will size it.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
You put the size in the control and it will size it.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
Hi Thanks for your prompt reply.But how can i put the size? well,in the properties window the size of the image control is 95px by 130px.The source also holds the same value.What am I missing?
-
Hi Thanks for your prompt reply.But how can i put the size? well,in the properties window the size of the image control is 95px by 130px.The source also holds the same value.What am I missing?
What properties window ? You're doing ASP.NET, right ? You should just be editing the aspx directly. It has width and height properties, or you can add them. Check they are making it to the end HTML, and if not, you need to work out why.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )