Friday, May 28, 2010

My 5 Month Old Has A Dry Cough

is not allowed HTTP POST verb accessing an html page

This error can result for several reasons, but I'm focus when trying to access generates an HTML page using the property PostBackUrl a control button, ImageButton, or LinkButton in ASP.NET.

Normally the aim is to go from one page to another by pressing a button. Putting on the property control PostBackUrl the name of the landing page works, except that set the target to an html page instead of aspx.

This has to do with cross-page posting. NET (which allows access from one page to the controls on the source page.) Html pages can not process a form submitted with HTTP post and when we produce a postback (server request) default form is sent to landing page.

There are several ways to solve this problem
  1. Change the button for a hyperlink to the destination (which may cause the page layout change too much)
  2. Set the button's click event indicating Response.Redirect , the landing page and remove the value of the property PostBackUrl
In the case of an HTML button (input type = "button") can schedule the event onclic with javascript on the client

In the case of a asp.net button control of the programming we do in the code file
Some links to learn more about this topic:

Wednesday, May 26, 2010

Difference Between Fakan And Real Boobs

Transform an HTML page to ASPX

On more than one occasion we need to add controls. net to a static HTML web page. To do this, we need to transform this HTML in ASPX page and if necessary link to a page of code in Visual Basic or C #
We
1 A copy of the HTML page and rename the extension to ASPX.

2 Add the @ Page directive at the beginning of the code.

3 Added within the body tags in a form with runat = server property that contains existing controls on page




From here we have a fully functioning aspx page in which can use asp controls. net.

If you also want to use programming in Visual Basic or C # we have to make any further step.

1 Add to draft a new element of type Class (from adding new elements) and put as name the aspx page and as an extension aspx.vb aspx.cs Visual Basic or C #.


Default asks if we want to save this new file in the App_Code folder, and it detects that a file of code, we can say no and they nest under the aspx file we created in the previous step
2 Modify the code file class aspx.vb / aspx.cs indicating that it is a partial class that inherits the class
Pages




3 Indicate to the ASPX page, which is the associated code file and class. For this we modify the @ page by adding parameters and ClassName CodeFile



From now we have totally transformed the site and operational controls to work with both. Net and to use code (in this example) Visual Basic or C #

Before
After

Friday, May 7, 2010

Denise Milani And Her Sister, Mother

Open docx Word 2007 documents from Word 2003 II

With the change of version of Office 2003 to Microsoft Office 2007 have been problems compatibility with Word documents, Excel, etc. Basically, these problems are because the 2007 stores information in a very differently than it did in previous versions. The extension is now used docx for Word, xlsx for Excel and macros have a different if compared to the doc and xls extensions of the 2003 version.

Microsoft pulled a plug that can be downloaded for free from their download center Add support for Office 2003 along with a comprehensive site explaining the details of the item Microsoft
Information
must be installed the plug on computers in which you want to open documents saved in the format 2007 and from that time, we can deal with no problem (at least those related to the version).
I