Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. how to slove error

how to slove error

Scheduled Pinned Locked Moved ASP.NET
helptutorial
13 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S sugunavathysubramanian

    hai, i am doing texteditor concept it return error message in ---->A potentially dangerous Request.Form value was detected from the client (HamHtmlEditor1:ContentHtml="dfdfdfd i will search the google it return to set -->validateRequest="false" i set it work fine ,i solve my error ,but i host website in my project. it is not work.the empty page display to me.. if you know the code or answer replay to me.... thank you :rolleyes:

    A Offline
    A Offline
    Abhijit Jana
    wrote on last edited by
    #2

    your problem is not clear . can you please inform it in details ?

    Best Regards ----------------- Abhijit Jana "Success is Journey it's not a destination"

    S 1 Reply Last reply
    0
    • A Abhijit Jana

      your problem is not clear . can you please inform it in details ?

      Best Regards ----------------- Abhijit Jana "Success is Journey it's not a destination"

      S Offline
      S Offline
      sugunavathysubramanian
      wrote on last edited by
      #3

      i am using --> ]]> ]]> ]]> WebForm1

      c# coding: protected void Button1_Click(object sender, EventArgs e) { string ss = ((hamHtmlEditor)this.FindControl("HamHtmlEditor1")).ContentInnerHtml; con.Open(); SqlCommand cmd = new SqlCommand("insert into mail values('" + ss.ToString() + "')", con); cmd.ExecuteNonQuery(); con.Close(); Response.Redirect("mailfinal.aspx"); } i am using text editor .if i give the string it is accept.but i give czvcvcv it not accept it display the error-----> A potentially dangerous Request.Form value was detected from the client (HamHtmlEditor1:ContentHtml="dfdfdf so how to slove the problem.if you replay it will help to me...thank you

      A 1 Reply Last reply
      0
      • S sugunavathysubramanian

        i am using --> ]]> ]]> ]]> WebForm1

        c# coding: protected void Button1_Click(object sender, EventArgs e) { string ss = ((hamHtmlEditor)this.FindControl("HamHtmlEditor1")).ContentInnerHtml; con.Open(); SqlCommand cmd = new SqlCommand("insert into mail values('" + ss.ToString() + "')", con); cmd.ExecuteNonQuery(); con.Close(); Response.Redirect("mailfinal.aspx"); } i am using text editor .if i give the string it is accept.but i give czvcvcv it not accept it display the error-----> A potentially dangerous Request.Form value was detected from the client (HamHtmlEditor1:ContentHtml="dfdfdf so how to slove the problem.if you replay it will help to me...thank you

        A Offline
        A Offline
        Abhijit Jana
        wrote on last edited by
        #4

        add ValidateRequest="False" in page directive. Hope will solve your problem. good luck !!!!

        Best Regards ----------------- Abhijit Jana "Success is Journey it's not a destination"

        S 1 Reply Last reply
        0
        • A Abhijit Jana

          add ValidateRequest="False" in page directive. Hope will solve your problem. good luck !!!!

          Best Regards ----------------- Abhijit Jana "Success is Journey it's not a destination"

          S Offline
          S Offline
          sugunavathysubramanian
          wrote on last edited by
          #5

          thank you..it work fine in local system..but i host website to my project i didn't get the text.the empty space store to the database in the server... so help me...thank you..

          A 1 Reply Last reply
          0
          • S sugunavathysubramanian

            thank you..it work fine in local system..but i host website to my project i didn't get the text.the empty space store to the database in the server... so help me...thank you..

            A Offline
            A Offline
            Abhijit Jana
            wrote on last edited by
            #6

            Which Editor Control R u using ? is it any third part control or you developed that ? Which browser are you using ? does that control support your bowser? Please check !~!!!

            Best Regards ----------------- Abhijit Jana "Success is Journey it's not a destination"

            S 1 Reply Last reply
            0
            • A Abhijit Jana

              Which Editor Control R u using ? is it any third part control or you developed that ? Which browser are you using ? does that control support your bowser? Please check !~!!!

              Best Regards ----------------- Abhijit Jana "Success is Journey it's not a destination"

              S Offline
              S Offline
              sugunavathysubramanian
              wrote on last edited by
              #7

              sorry i donot know about control.i just download the project-----> http://authors.aspalliance.com/HabdulMalak/1156.zip i donot know it is correct or wrong.please check and tell... i have the browsermozilla firefox.. so replay to me....

              A 1 Reply Last reply
              0
              • S sugunavathysubramanian

                sorry i donot know about control.i just download the project-----> http://authors.aspalliance.com/HabdulMalak/1156.zip i donot know it is correct or wrong.please check and tell... i have the browsermozilla firefox.. so replay to me....

                A Offline
                A Offline
                Abhijit Jana
                wrote on last edited by
                #8

                yes, the control you have downloaded that doesnot have FireFox Support. you just download the latest version from the followin link http://dotnetslackers.com/community/blogs/haissam/archive/2007/10/02/rich-text-editor-works-on-ie-and-firefox.aspx[^] It has full support of IE and Firefox,

                Best Regards ----------------- Abhijit Jana "Success is Journey it's not a destination"

                S 1 Reply Last reply
                0
                • A Abhijit Jana

                  yes, the control you have downloaded that doesnot have FireFox Support. you just download the latest version from the followin link http://dotnetslackers.com/community/blogs/haissam/archive/2007/10/02/rich-text-editor-works-on-ie-and-firefox.aspx[^] It has full support of IE and Firefox,

                  Best Regards ----------------- Abhijit Jana "Success is Journey it's not a destination"

                  S Offline
                  S Offline
                  sugunavathysubramanian
                  wrote on last edited by
                  #9

                  hai, it is going to same url and same 1156.zip file.so replay to me.. how to vote to you? thank you..

                  A 2 Replies Last reply
                  0
                  • S sugunavathysubramanian

                    hai, it is going to same url and same 1156.zip file.so replay to me.. how to vote to you? thank you..

                    A Offline
                    A Offline
                    Abhijit Jana
                    wrote on last edited by
                    #10

                    i dont think so, please check correctly, i am providing you the same information form the same site itself. Thanks

                    Best Regards ----------------- Abhijit Jana "Success is Journey it's not a destination"

                    S 1 Reply Last reply
                    0
                    • S sugunavathysubramanian

                      hai, it is going to same url and same 1156.zip file.so replay to me.. how to vote to you? thank you..

                      A Offline
                      A Offline
                      Abhijit Jana
                      wrote on last edited by
                      #11

                      better try to use some open source editor that you can change as your own. There are some Editor also available at codeproject itself. try to use them Good luck !!!

                      Best Regards ----------------- Abhijit Jana "Success is Journey it's not a destination"

                      S 1 Reply Last reply
                      0
                      • A Abhijit Jana

                        i dont think so, please check correctly, i am providing you the same information form the same site itself. Thanks

                        Best Regards ----------------- Abhijit Jana "Success is Journey it's not a destination"

                        S Offline
                        S Offline
                        sugunavathysubramanian
                        wrote on last edited by
                        #12

                        hai, how to save edit text in database? do you know.

                        1 Reply Last reply
                        0
                        • A Abhijit Jana

                          better try to use some open source editor that you can change as your own. There are some Editor also available at codeproject itself. try to use them Good luck !!!

                          Best Regards ----------------- Abhijit Jana "Success is Journey it's not a destination"

                          S Offline
                          S Offline
                          sugunavathysubramanian
                          wrote on last edited by
                          #13

                          thank you i try my best..........

                          1 Reply Last reply
                          0
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • World
                          • Users
                          • Groups