<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>killingofthedead</author_name>
  <author_url>https://blog.hatena.ne.jp/killingofthedead/</author_url>
  <blog_title>Screaming for change</blog_title>
  <blog_url>https://killingofthedead.hatenadiary.org/</blog_url>
  <categories>
    <anon>tech</anon>
    <anon>.net</anon>
  </categories>
  <description>ASP.NETにおけるformタグのaction属性を書き換える方法を書いてみます。formタグのaction属性を直接aspxファイルに記述しても、 実行時に上書きされてしまいます。 ポストバック時にページ内リンク（例/index.asp#main）を使用したい場合など、 この仕様だと不都合が生じることがあります。そこで、HtmlTextWriterクラスのサブクラスを作成し、 そのクラス内でaction属性を書き換えます。 public class MyWriter : HtmlTextWriter { private TextWriter writer; private string a…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkillingofthedead.hatenadiary.org%2Fentry%2F20080918%2Fp1&quot; title=&quot; ASP.NETにおけるformタグのaction属性書換 - Screaming for change&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-09-18 00:00:00</published>
  <title> ASP.NETにおけるformタグのaction属性書換</title>
  <type>rich</type>
  <url>https://killingofthedead.hatenadiary.org/entry/20080918/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
