RcBuilder@walla.com
call centre: 054-5614020

Postback url issue when using url rewriter – solved by RawUrl

Posted by: RcBuilder  /   Category: BUGS / form / HTML / HtmlTextWriter / SOURCE CODE   /   No Comments
28
Sep
2014

Bug: Postback url not correct when using url rewriter problem: the postback action is not correct (partial adress) when using url rewriter example: rewriter url : gcmforex.com/lp2 physical address : gcmforex.com/templates/liderforex/cn/landingpage2.aspx postback action : gcmforex.com/landingpage2.aspx // error!! the postback action address does not exists fix: override the form action with the RawUrl protected override void Render(HtmlTextWriter writer) { Page.Form.Action =.

Read more

RENDER THE CONTROL

Posted by: RcBuilder  /   Category: Controls / HtmlTextWriter   /   No Comments
30
Jul
2014

RENDER THE CONTROL the below technique using place holders within a string replaced by user-control rendered content imagine an CMS with custom place holders to replace with actual controls in the site by overriding the control ToString   method and create the control rendered string value //within the UC public override string ToString() { StringWriter sb = new StringWriter(); HtmlTextWriter tw = new.

Read more
  • פיתוח מערכות
  • פתרונות טכנולוגים
  • קידום אתרים
  • בניית אתרים