String builder problem
-
Hi guys I am making a string builder and this string i have to sent on Email local its working fine while uploading its giving error "A page can have only one server-side Form tag. " while in my application i am rendering a panel (panel id =panel1) after that i am using
tag vb.net code Dim sbr As New StringBuilder sbr.Append("") Dim swr As New StringWriter(sbr) Dim htw As New HtmlTextWriter(swr) panel1.RenderControl(htw) sbr.Append("
") sbr.Append("
Warm Regards..
") sbr.Append("") and html code so what is issue plz help any one
krishna veer singh
-
Hi guys I am making a string builder and this string i have to sent on Email local its working fine while uploading its giving error "A page can have only one server-side Form tag. " while in my application i am rendering a panel (panel id =panel1) after that i am using
tag vb.net code Dim sbr As New StringBuilder sbr.Append("") Dim swr As New StringWriter(sbr) Dim htw As New HtmlTextWriter(swr) panel1.RenderControl(htw) sbr.Append("
") sbr.Append("
Warm Regards..
") sbr.Append("") and html code so what is issue plz help any one
krishna veer singh
Are you using Master pages ? do one thing, check if you master page already contain a form tag. if not then remove it from your child page and put it on masterpage.if yes then remove it from your child pages
Parwej Ahamad g.parwez@gmail.com
-
Hi guys I am making a string builder and this string i have to sent on Email local its working fine while uploading its giving error "A page can have only one server-side Form tag. " while in my application i am rendering a panel (panel id =panel1) after that i am using
tag vb.net code Dim sbr As New StringBuilder sbr.Append("") Dim swr As New StringWriter(sbr) Dim htw As New HtmlTextWriter(swr) panel1.RenderControl(htw) sbr.Append("
") sbr.Append("
Warm Regards..
") sbr.Append("") and html code so what is issue plz help any one
krishna veer singh
-
Are you using Master pages ? do one thing, check if you master page already contain a form tag. if not then remove it from your child page and put it on masterpage.if yes then remove it from your child pages
Parwej Ahamad g.parwez@gmail.com
no i am not using master page
krishna veer singh
-
i am not getting what r u saying...
krishna veer singh
-
Hi guys I am making a string builder and this string i have to sent on Email local its working fine while uploading its giving error "A page can have only one server-side Form tag. " while in my application i am rendering a panel (panel id =panel1) after that i am using
tag vb.net code Dim sbr As New StringBuilder sbr.Append("") Dim swr As New StringWriter(sbr) Dim htw As New HtmlTextWriter(swr) panel1.RenderControl(htw) sbr.Append("
") sbr.Append("
Warm Regards..
") sbr.Append("") and html code so what is issue plz help any one
krishna veer singh
add <pages validateRequest="false"> to your web.config under system.web
-
add <pages validateRequest="false"> to your web.config under system.web
I am already using this code under web config file
krishna veer singh
-
add <pages validateRequest="false"> to your web.config under system.web
this code krishna veer singh
-
no i am not using master page
krishna veer singh
Did you try HTML Encode/Decode with manipulated string ?
Parwej Ahamad g.parwez@gmail.com
-
Hi guys I am making a string builder and this string i have to sent on Email local its working fine while uploading its giving error "A page can have only one server-side Form tag. " while in my application i am rendering a panel (panel id =panel1) after that i am using
tag vb.net code Dim sbr As New StringBuilder sbr.Append("") Dim swr As New StringWriter(sbr) Dim htw As New HtmlTextWriter(swr) panel1.RenderControl(htw) sbr.Append("
") sbr.Append("
Warm Regards..
") sbr.Append("") and html code so what is issue plz help any one
krishna veer singh