tag:blogger.com,1999:blog-6367112134390591724.post1070365229322462867..comments2024-03-23T10:06:12.663-07:00Comments on ITORIAN BLOG: Html Helper for Image (@Html.Image): Developing Extension in MVCUnknownnoreply@blogger.comBlogger7125tag:blogger.com,1999:blog-6367112134390591724.post-76572770303873613102018-07-12T04:32:19.081-07:002018-07-12T04:32:19.081-07:00Is there any way to get HTML tags' attributes ...Is there any way to get HTML tags' attributes in the controller? Currently I want to know the size of the page ('html' tag), can it either be found in the C# Helper's Image method or got and passed through the razor call?Anonymoushttps://www.blogger.com/profile/01161717360245471050noreply@blogger.comtag:blogger.com,1999:blog-6367112134390591724.post-79054008833511813262016-04-20T08:56:50.613-07:002016-04-20T08:56:50.613-07:00thanksthanksAnonymoushttps://www.blogger.com/profile/00652404146944455458noreply@blogger.comtag:blogger.com,1999:blog-6367112134390591724.post-85694630518690191892016-03-08T07:35:37.949-08:002016-03-08T07:35:37.949-08:00I want Image Browser in MVC 4. I mean to say that ...I want Image Browser in MVC 4. I mean to say that how can I browse the image in MVc 4 using html helper.Arpi Desaihttps://www.blogger.com/profile/10793327545601109153noreply@blogger.comtag:blogger.com,1999:blog-6367112134390591724.post-77069682414305512252015-09-27T20:56:25.258-07:002015-09-27T20:56:25.258-07:00I took the liberty of extending this great idea. S...I took the liberty of extending this great idea. Some of the parameters are now optional. You can now pass a class to it, and this is helpful if you are using bootstrap. Simply construct the image using <br /><br />cssClass: "img-responsive". <br /><br />Anyway, here is my version that I will use forever. Thanks!<br /><br /> public static MvcHtmlString Image(this HtmlHelper Jasonhttps://www.blogger.com/profile/15649994055857221704noreply@blogger.comtag:blogger.com,1999:blog-6367112134390591724.post-79838307569178990232013-08-19T00:22:01.142-07:002013-08-19T00:22:01.142-07:00This is my sample data from database,
ID Name Ima...This is my sample data from database,<br /><br />ID Name ImageUrl<br /><br />1 a http://notous.blob.core.windows.net/images/1-9.jpg<br /><br />2 b http://notous.blob.core.windows.net/images/10_discount-150x150.jpg<br /><br />3 c http://notous.blob.core.windows.net/images/FB-button-341x341.png<br /><br />I want display this data not for same This ImageURL display as image Helphttps://www.blogger.com/profile/15960854165055348594noreply@blogger.comtag:blogger.com,1999:blog-6367112134390591724.post-74875429868260594842012-12-17T02:51:49.278-08:002012-12-17T02:51:49.278-08:00How To Bind Image Dynamicaly mens comes image from...How To Bind Image Dynamicaly mens comes image from database in mmvc 3 <br /><br />i read your blog,through the above blog i can bind image static,but requirement is dynamic,please let me know asap<br />yogeshbajapi@gmail.comPHPFASTCODEhttps://www.blogger.com/profile/05605928537937347991noreply@blogger.comtag:blogger.com,1999:blog-6367112134390591724.post-53720544771806499472012-10-25T05:57:34.360-07:002012-10-25T05:57:34.360-07:00Very good solution to create custom tag.
thank you...Very good solution to create custom tag.<br />thank you.Anonymousnoreply@blogger.com