I have used lot of codinds to disable the browser (using server side code) back button in mozila firefox 3.2 it is not working.But it is working fine in the Internet Explorer.
I have published a website on my windows server using IIS 7.0 and visual studio 2010. Its an asp.net project.While publishing it I chose the option
"Allow this precompiled site to be updatable"
But what I do not know is how to update it when I change my templates/pages/IP address etc in my visual studio project files? I have to remove the corresponding App from IIS and then re-add it whenever I make changes.
My flash file get images from one folder with C# code file I changes the image in the folder dynamically on button clickflash not show changes on post back but when I close IE and run page then flash reflect changes
The editor's using Default skin..when I made changes to Editor.Default.CSS file...they didn't reflect on my page..but when I type the following I can see the changes:-
Do I HAVE to create a custom Skin file for the changes to reflect ??I dont wanna coz the editor has been used in many files and now linking new custom CSS file in each and every aspx file will be such a pain.. I just want this to be added in the Skin:-
body { background-image:none; background-color:White; }
What this does is that it makes the background color of the content area white..earlier the content area of the Editor was inheriting background-image property of the Master Page's body tag...ohh and another funny issue is that the Font styles too are inheriting Master Page's properties only..like Heading 2 in the Editor's drop down list has got a background color when I want it to be simple..
So is making custom skin css file the only solution ..How do I get the changes to reflect thru the Default css file only ? I dont wanna create custom class..why didn't the changes reflect ?
I have some questions regarding the entities framework. Once you create your DataModel, if later you modify it such as removing fields adding tables it is possible for the EF to auto detect changes or you have to refresh it manually? If you have to refresh it.. how do you refresh it to reflect new changes? Also do it affect in any way the data in the database?
I am converting a web application from 3.5 platform (asp.net 2.0) to 4.0 platform through VS2010. the wizard prompt for converting the application to APS.NET 4.0 from 2.0 and I answered 'Yes'. The conversion ends, but the web.config file does not reflect the changes that are supposed to be automatically applied by the conversion wizard. There are no child applications within this web app.
I have an asp.net website that works perfectly when run in vs2008 on my local machine and as well as when hosted on my local IIS.
The same site has been deployed on to test server a few days ago and none of the updates made since then to the test site get reflected.
I verified the source code of the test site to be the latest version. However, the content displayed by the test site is quite older.
I thought this could be a IIS recompilation/rebuild issue but the webpages show the same old content even when I created a completely new test site using the latest copy from repository. Specifically, the CSS I have added doesn't seem to be applied.
Also, any changes made directly to the test site's source code doesn't get reflected in the browser even after I refreshed it several times.
I have an application that runs perfectly fine on my local machine. So it was deployed on production server and the site was running (but with some errors). So I corrected the errors and redeployed the application. But the changes are not reflecting! I am using the IIS to host the same. I tried restarting all the services, the IIS itself, the server, cleared the caches...
I'm looking to create a webpage that will reflect the status of one of my company's servers automatically. Frequently there will be a minor error that only lasts 2-3 minutes, and it would be great to have this reflected on a self-generated page, which might prevent 50-60 unhappy clients from calling in simultaneously and asking what's wrongI'm not quite sure where to begin I'm not referring to the basics of writing an ASP.NET page, of course, but rather process interaction in Windows.
when i started a brand new asp web site in "Microsoft Visual Web Developer 2010 Express".. i get the main page called "Default.aspx" which has the following code...
So if i Ctrl+f5, and load it into a browser, everything is perfect, if i change it, (From "Welcome to ASP.NET" -> "Yaahhooo ASP.NET" and then Run it again (Ctrl+F5) then it compiles just fine and still shows the original page, yes i've considered browser cache and opened it up in a new browser (first time ff then ie) but still, once i compile it the first time, i can't change it unless i create a brand new Default.aspx
Sorry for the long explanation, i have no idea what im doing, looks like im getting off on the wrong foot.
EDIT!!-> if i make a change and save it and doesnt reflect changes in the browser, if i just quit MVWD 2010, and open it back up then it will reflect the changes right away..
Is there a way to manually update a single edmx entity to reflect a new column in a SQL db table? If yes, what would be the proper step- by-step procedure?
I prefer not to use the "update model from db" template because this will update all the tables and wipe out all the customizations and name changes I have already made in the EF objects. This seems a bit overkill for a single column change. I went down this route once, and I prefer not to do it again. I do not see any way to actually update a single table from the DB using VS2010 "update from db".
What I have tried to do so far is manually add a new scalar property to the appropriate entity using the edmx designer, and this seems to work OK, but I cannot seem to find a way to map the new property back to the db through the mapping window. Do I have to do this directly through the XML file? Also is this sufficient to ensure the new column is correctly reflected in the edmx, or are there other steps that need to be done?
I am using a grid form to diplay data... the insert form is completely a separate form. In the insert form a text box called "FormPercentageTextBox" is getting a calculated result using javavascript based on some field ( field1,field2) values (val1, val2).
the problem i have is: when i edit the form and i want to update any value..i want the new calculation result showing on the edited "FormPercentageTextBox" field. I need to have this calculation reflected/
I have a form that shows simple table and let the user select a row. when user select a row the record shows in a formview below the gridview. After I update the formview changes take place in database but shows in gridview ONLY the next time I load the page.
Can anybody let me know the activex script for detecting .net runtime and directx runtime or any other way how can I detect this in any machine by from my web page ?
I have downloaded published (code behind files are no there, combined with dll in bin folder) web application from window server 2008 where it is hosted, & open it with visual studio when i debug that application it shows following error: "Colud not load assembly because this assembly is built by a runtime newer than the currently loaded runtime" I don't know how can i solve this problem and test application locally.
I have a gridview, one column is a template field with an imagebutton, onclick it should go into the following sub, which it does in IE but not in google chrome. What could be the problem?
Protected Sub btnDetails_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs)
I started learning ASP.NET these days. Google Chrome is my default browser and I'm also testing my applications in Google Chrome.
I recognized that some Elements of ASP.NET won't run in real time when I use Chrome. For Example ASP.NET WebParts. If I change the modus of the WebPartManager from default to edit (or something else), Google Chrome needs 1 - 2 seconds to renew the page. Internet Explorer does this in real time without any loading times.
I'm a rookie in ASP.NET and many people said, Microsoft's AJAX for ASP.NET is some kind of crap. I'm using Visual Studio 2010 and maybe you'll say, I should use jQuery instead of internal Features like WebParts.