On this site in the MVC Site Design Templates, is on page 4 I think, is the "Red, White and Black" template. Something I noticed right away is that the only page which the rounded corners seems to take effect on is the home page. I can't figure out why this is....can anyone who's used it or not used it maybe take a look and see what the reason for this might be.
You'll notive that on the home page the entire outter div, div aroung the picture, everything is rounded, but not on the About page, or if you add any other pages, very strange. Maybe this is the why it was designed to be, but why implement rounded corners on only 1 page?
i have a gridview bound to sql datasource with template fields binding the columns. I have set the Header Style to a css class. I have 3 columns not bound to data as Add, Edit and Delete. When I set the text color to white for the header only the non bound columns go white. The bound columns are BLUE like hyperlink. Any one know a way round this. (If I set the style in the gridview the all columns are white. Want to set in external css file).
All of the Ajax videos indicate in VWD2010, I'll get a template called AJAX Enabled Web site. I don't have this template in my VWD2010. Is there a way to get the AJAX Enabled Web Site Template in VWD2010?
I've been working on the Music Store tutorial and I cannot get my site to utilize the Album.ascx view template. For now I'll give the short version of my problem because I'm thinking I'm just missing something obvious. I'll provide further elaboration/code if needed. I'm stuck on Part 4. From my understanding, after adding the Shared folder and adding the Album.ascx partial file, I should be seeing this after browsing to the Store Manager Index and selecting an album to edit: Instead, I'm still seeing this: I even copied the code from the dowloaded solution for the Edit.aspx and Album.ascx files. It seems my project is completely disregarding my View Template.
I'm just getting into AJAX (little late I know) and am walking through some of the tutorials on the ASP.NET/AJAX site. One thing I've noticed is that I cannot get the UpdatePanel to work (meaning, prevent a full postback of the page) in the ASP.NET Web Site template. I can use the EXACT same markup, code, and web.config in the AJAX 1.0-Enabled ASP.NET 2.0 template and everything works as expected.
I have a few pages on my website that contain a gridview that gets bound on the page load event. Most of the time while the page is loading, about 5 or 6 rows of the gridview turn into a black box. Usually the box disappears after the page is fully loaded, but sometimes it doesn't and you have to highlight it with the mouse to get rid of it. This happens on more than one computer and I'm not sure how to fix it.
m using the Ajax Control Toolkit's ModalPopupExtender. It works great but when I add a user control to the panel it is set to display, the modal popup is displayed with a black box over it.This is how it looks like:Is anyone familiar with the problem? Is there a workaround?
I'm trying to rescale uploaded jpeg in asp.netSo I go:
Image original = Image.FromStream(myPostedFile.InputStream); int w=original.Width, h=original.Height; using(Graphics g = Graphics.FromImage(original)) {
I follow the instruction from this video http://www.asp.net/ajax/videos/how-do-i-use-the-aspnet-ajax-cascadingdropdown-control-extender to create a new web site but I do not see "Ajax control toolkit web site" template to choose after clicking File>New>Web site.
I have AjaxCtrlToolKit4_0 on the machine and in my other project/solution I controls under Ajax Toolkit in the Toolbox. That means I have the Ajax Toolkit. Why doesn't it allow me to create a "Ajax control toolkit web site"?
Another question is do I need to create a separate web site for ajax web service? I already have a web app under a solution. I have a page in this app. This page has some controls such as dropdowns, textboxes, etc. I want to make the dropdowns cascading and do not want to create a separate web site. But the example in the video requires a creation of a new "Ajax control toolkit web site" which includes .asmx file.
I am trying to implement charting into one of my sites, and I am having a hard time styling the border to make it transparent.
I've attached a image so you can see what it is I am talking about. I have yet to figure out what needs to be set to get rid of the white under the drop shadow ...
If anyone has any ideas I would love to hear how to get rid of this ...
I have an ASP.NET webapp that business customers in India wish to purchase and run within their premises (it's for industrial use). What's my best approach to do this, but not lose control of my IP? Some concerns I had:
Does ASP.NET4 code still need to get obfuscated to protect against reverse engineering, and how would this be done?Do I need to create a separate build specific to each customer that is restricted in some manner (eg. tied to physical box attributes such as CPU)?Is it possible for me to be the sole admin on the box, but give remote access to the folders that contain my CSS and HTML. That way I can maintain control over the code, but give the limited access the custom needs to customize the webapp to their site's look and feel.
In my website, users have the ability to upload images to my website. When the image is uploaded it will automatically have a smaller thumbnail created by my website. The thumbnails are not displaying correctly in my repeater though (and by correctly I mean Im not sure how to display them).
Each image sits inside a square div element which is 145 x 145 pixels. Some of the images are 145 wide with a relative height and some are 145 high with a relative width. When my page is displayed the wider images sit at the bottom of my 145 x 145 div,whereas the higher image sit at the bottom and to the left. I would prefer them to all be centered.
I cant find a way to do this is in CSS becuase the images are retrieved dynamically so I cant assign a height beforehand. Is there a way to add white space to my image during the thumbnail creation process so that all images are 145 x 145 but still maintain the aspect ratio? Or can someone think of a good way to do this with CSS and HTML, OR even with javascript (keeping in mind that my images come inside a repeater bound to data in the db.
If you want to see any of my code or the thumbnail creating class just ask.
I wonder how you put in HTML code when you want one word to be in RED for example. Like my default color is White and then he words "This should be in RED" will be put in the color RED?
I'm trying to remove all white or transparent pixels from an image, leaving the actual image (cropped). I've tried a few solutions, but none seem to work. Any suggestions or am I going to spend the night writing image cropping code?
am using this function to remove whitespaces at html output. i had to put if else otherwise page was giving error afterasynchronous postbacks. now it works fine.is it possible to make it work also after asynchronous postbacks ?also is it possible to make this regex function also removes new lines ?like how google doesthere is no line at their source codes