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
  1. Home
  2. Web Development
  3. ASP.NET
  4. FCK Editor Insert into Sql table

FCK Editor Insert into Sql table

Scheduled Pinned Locked Moved ASP.NET
helphtmldatabaseannouncement
24 Posts 9 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.
  • C Christian Graus

    OK, I've never used the control, I assumed he'd read the docs and had no options.

    Enver Maroshi wrote:

    It's funny how all this kind of posts come from India.

    Tell me about it, did you see the guy asking over and over how to remove a printer from a list, below ? On the other hand, some of the best programmers I know, are Indian. They are not, however, in India.

    Christian Graus Driven to the arms of OSX by Vista. "! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums. I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp

    E Offline
    E Offline
    Enver Maroshi
    wrote on last edited by
    #7

    Yes, but i think it's got nothing to do with country they are from, maybe it's only that in India there is really a lot of people that try to be programmers, but they are missing basics, either this people did not learn to programm at all, or they did not pay attention in school. I understand this is forum for helping people, but this are basic question, like someone would ask how to write a code that will print out "yes" or "no" depending on boolean input. This people are missing basics, and they still manage to make real applications, they are copy-paste Gods :) Company in which i work did work with people from India, and they ware really good (flash) programmers. So, i guess it's individuals, and i think the problem is that all good programmers from India go in states or europe, and the new guys don't have anyone that will teach them. So they try to learn from internet, and the result we can see. I think one learns most from they coworkers.

    A 1 Reply Last reply
    0
    • E Enver Maroshi

      Or because of security reasons, better not disable checking but instead encode data he sends. oFCKeditor.Config['HtmlEncodeOutput']=true; But if he did try to google it he would have found this out. Edit: It's funny how all this kind of posts come from India.

      P Offline
      P Offline
      padmanabhan N
      wrote on last edited by
      #8

      Enver Maroshi wrote:

      It's funny how all this kind of posts come from India.

      y the hell peoples from Croatia are always giving wrong comments... if you knew the answer then post or just reply to the person not to the country where he lives.

      Padmanabhan My Articles[^]

      1 Reply Last reply
      0
      • H himanshu2561

        Enver Maroshi wrote:

        It's funny how all this kind of posts come from India.

        And from where you are????? Croatia Where it is in World Map........ X| If you do not like any question Mark it is Bad question.. Dont write comment about any country,religion or community

        himanshu

        E Offline
        E Offline
        Enver Maroshi
        wrote on last edited by
        #9

        Maybe it is wrong place so let's not continue this conversation regarding countries and focus on answers. I did not mean anything bad regarding people from India. What i did try to say is that you got a lot of programmers, some really good, but also some really bad. Its that you outnumber us all, you have really a lot of people, so this is why numbers are so large. Sure i could not find 3 stupid questions from people that reside in Croatia, well, since, it's only 4 millions of us :)

        R 1 Reply Last reply
        0
        • K K0306

          i didn't get it from you experts, i used the below code.but it give error FCKEditor.Config['HtmlEncodeOutput']=true; Error: Too many characters in character literal could you give some articles or example how to insert the formatted text into sql table and retrieves the same in same format into fckeditor Thanka for your reply's.

          E Offline
          E Offline
          Enver Maroshi
          wrote on last edited by
          #10

          This "none-expert" would say you have error in syntax, it is telling you that you wrot some literal character why you should have escaped (with escape character). Hard to say without code.

          1 Reply Last reply
          0
          • C Christian Graus

            OK, I've never used the control, I assumed he'd read the docs and had no options.

            Enver Maroshi wrote:

            It's funny how all this kind of posts come from India.

            Tell me about it, did you see the guy asking over and over how to remove a printer from a list, below ? On the other hand, some of the best programmers I know, are Indian. They are not, however, in India.

            Christian Graus Driven to the arms of OSX by Vista. "! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums. I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp

            J Offline
            J Offline
            J4amieC
            wrote on last edited by
            #11

            Christian Graus wrote:

            I assumed he'd read the docs

            Thats a strange assumption to make on this forum.

            1 Reply Last reply
            0
            • H himanshu2561

              Enver Maroshi wrote:

              It's funny how all this kind of posts come from India.

              And from where you are????? Croatia Where it is in World Map........ X| If you do not like any question Mark it is Bad question.. Dont write comment about any country,religion or community

              himanshu

              J Offline
              J Offline
              J4amieC
              wrote on last edited by
              #12

              himanshu2561 wrote:

              Where it is in World Map........

              If you're coming north from Italy do a hard right, if you get as far as Germany you've gone too far.

              H 1 Reply Last reply
              0
              • E Enver Maroshi

                Yes, but i think it's got nothing to do with country they are from, maybe it's only that in India there is really a lot of people that try to be programmers, but they are missing basics, either this people did not learn to programm at all, or they did not pay attention in school. I understand this is forum for helping people, but this are basic question, like someone would ask how to write a code that will print out "yes" or "no" depending on boolean input. This people are missing basics, and they still manage to make real applications, they are copy-paste Gods :) Company in which i work did work with people from India, and they ware really good (flash) programmers. So, i guess it's individuals, and i think the problem is that all good programmers from India go in states or europe, and the new guys don't have anyone that will teach them. So they try to learn from internet, and the result we can see. I think one learns most from they coworkers.

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

                Enver Maroshi wrote:

                lot of people that try to be programmers, but they are missing basics, either this people did not learn to programm at all, or they did not pay attention in school

                How did you conclude this point ?

                Enver Maroshi wrote:

                I understand this is forum for helping people, but this are basic question, like someone would ask how to write a code that will print out "yes" or "no" depending on boolean input.

                If you looks around you will get many more basic question.

                Enver Maroshi wrote:

                his people are missing basics, and they still manage to make real applications, they are copy-paste Gods

                I think if you are going to copy paste in you real application you should need the basic idea that what you are copying and where to paste. And for that you need the basic idea . :)

                Enver Maroshi wrote:

                So, i guess it's individuals, and i think the problem is that all good programmers from India go in states or europe

                Not Correct ! If all the good Indian programmers work in US or Europe, then you want mean that all the MNCs in India, developing software with the Bad programmers. :omg:

                Enver Maroshi wrote:

                and the new guys don't have anyone that will teach them. So they try to learn from internet, and the result we can see.

                I think internet is the best resource from where you can learn.

                cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net View My Recent Article

                E 1 Reply Last reply
                0
                • A Abhijit Jana

                  Enver Maroshi wrote:

                  lot of people that try to be programmers, but they are missing basics, either this people did not learn to programm at all, or they did not pay attention in school

                  How did you conclude this point ?

                  Enver Maroshi wrote:

                  I understand this is forum for helping people, but this are basic question, like someone would ask how to write a code that will print out "yes" or "no" depending on boolean input.

                  If you looks around you will get many more basic question.

                  Enver Maroshi wrote:

                  his people are missing basics, and they still manage to make real applications, they are copy-paste Gods

                  I think if you are going to copy paste in you real application you should need the basic idea that what you are copying and where to paste. And for that you need the basic idea . :)

                  Enver Maroshi wrote:

                  So, i guess it's individuals, and i think the problem is that all good programmers from India go in states or europe

                  Not Correct ! If all the good Indian programmers work in US or Europe, then you want mean that all the MNCs in India, developing software with the Bad programmers. :omg:

                  Enver Maroshi wrote:

                  and the new guys don't have anyone that will teach them. So they try to learn from internet, and the result we can see.

                  I think internet is the best resource from where you can learn.

                  cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net View My Recent Article

                  E Offline
                  E Offline
                  Enver Maroshi
                  wrote on last edited by
                  #14

                  "I think internet is the best resource from where you can learn." I do not agree on this one. 10 years ago, maybe. In time of blogs, etc... anyone can write what he wants, and there is large amount of blogs where you can find code, and a lot of times, its just bad. And also on CP you can find bad articles, and people start writing this kind of code, and there things go wrong way. Internet is not what it used to be. But since we are far away from the topic, i'm done writing.

                  A 1 Reply Last reply
                  0
                  • J J4amieC

                    himanshu2561 wrote:

                    Where it is in World Map........

                    If you're coming north from Italy do a hard right, if you get as far as Germany you've gone too far.

                    H Offline
                    H Offline
                    himanshu2561
                    wrote on last edited by
                    #15

                    Man i am completely lost. So its better i stay back in INDIA :)

                    himanshu

                    1 Reply Last reply
                    0
                    • E Enver Maroshi

                      "I think internet is the best resource from where you can learn." I do not agree on this one. 10 years ago, maybe. In time of blogs, etc... anyone can write what he wants, and there is large amount of blogs where you can find code, and a lot of times, its just bad. And also on CP you can find bad articles, and people start writing this kind of code, and there things go wrong way. Internet is not what it used to be. But since we are far away from the topic, i'm done writing.

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

                      Enver Maroshi wrote:

                      But since we are far away from the topic, i'm done writin

                      :):thumbsup:

                      cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net View My Recent Article

                      1 Reply Last reply
                      0
                      • K K0306

                        Hi, I am using FCK Editor in my WebPage, The content of web page is retrived from sql table,i need to edit the content and update the text in table using FCK editor. Once i edit the text(change the font color,bold the text etc) and try to update in sql table i got the below error(due to HTML tags like "strong" etc) "A potentially dangerous request.form value was detected from the client" I need some help to save the formatted text to sql table using FCK Editor

                        K Offline
                        K Offline
                        K0306
                        wrote on last edited by
                        #17

                        Hi People, I already googled, but didn’t get solution for inserting into sql table(with formatted output and retrieve the same into fck for edting) I think you all are faraway my question, If you can answer my question – pls answer other wise leave it or vote as Bad Question

                        E R 2 Replies Last reply
                        0
                        • K K0306

                          Hi People, I already googled, but didn’t get solution for inserting into sql table(with formatted output and retrieve the same into fck for edting) I think you all are faraway my question, If you can answer my question – pls answer other wise leave it or vote as Bad Question

                          E Offline
                          E Offline
                          Enver Maroshi
                          wrote on last edited by
                          #18

                          Let me just give you a hint, if you html encode something, you have to html decode back to get the original. If for instance you convert > to > you have to get it back to > from > But all the logic is already inside FCKEditor, read docs once again, no need for manuall work.

                          K 1 Reply Last reply
                          0
                          • E Enver Maroshi

                            Maybe it is wrong place so let's not continue this conversation regarding countries and focus on answers. I did not mean anything bad regarding people from India. What i did try to say is that you got a lot of programmers, some really good, but also some really bad. Its that you outnumber us all, you have really a lot of people, so this is why numbers are so large. Sure i could not find 3 stupid questions from people that reside in Croatia, well, since, it's only 4 millions of us :)

                            R Offline
                            R Offline
                            r a m e s h
                            wrote on last edited by
                            #19

                            Did you close your eyes when many Indians are giving best answer in this forum? Why didn’t you appreciate them? Also many of the Indians become CodeProject MVP. The number of programmers in India may be nearly equivalent of the population of your country. Therefore there might be few programmer (out of million programmers) may ask some inappropriate questions. If you are not interested to answer a question, please stay away. Please do not underestimate people of a country.

                            C 1 Reply Last reply
                            0
                            • K K0306

                              i didn't get it from you experts, i used the below code.but it give error FCKEditor.Config['HtmlEncodeOutput']=true; Error: Too many characters in character literal could you give some articles or example how to insert the formatted text into sql table and retrieves the same in same format into fckeditor Thanka for your reply's.

                              D Offline
                              D Offline
                              dan sh
                              wrote on last edited by
                              #20

                              Put HtmlEncodeOutput in double quotes.

                              1 Reply Last reply
                              0
                              • K K0306

                                Hi People, I already googled, but didn’t get solution for inserting into sql table(with formatted output and retrieve the same into fck for edting) I think you all are faraway my question, If you can answer my question – pls answer other wise leave it or vote as Bad Question

                                R Offline
                                R Offline
                                r a m e s h
                                wrote on last edited by
                                #21

                                Set ValidateRequest="false" in page directive. But it is not advisable.

                                1 Reply Last reply
                                0
                                • E Enver Maroshi

                                  Let me just give you a hint, if you html encode something, you have to html decode back to get the original. If for instance you convert > to > you have to get it back to > from > But all the logic is already inside FCKEditor, read docs once again, no need for manuall work.

                                  K Offline
                                  K Offline
                                  K0306
                                  wrote on last edited by
                                  #22

                                  thanks for your hint, thats working good. Thanks for all you people.

                                  1 Reply Last reply
                                  0
                                  • H himanshu2561

                                    Enver Maroshi wrote:

                                    It's funny how all this kind of posts come from India.

                                    And from where you are????? Croatia Where it is in World Map........ X| If you do not like any question Mark it is Bad question.. Dont write comment about any country,religion or community

                                    himanshu

                                    C Offline
                                    C Offline
                                    Christian Graus
                                    wrote on last edited by
                                    #23

                                    I'm sorry, but he told the TRUTH. We went on to discuss that it's not like people from any country are different from anywhere else. It's more that because the outsourcing boom has resulted in people being hired who have no skills, India happens to be where those people are. It's not a comment on India, or a comment against Indians, as I said, some of the best coders I know, are Indian. Ultimately, I blame the west. It's not the fault of Indians that the West is dumb enough to throw money at people with no skills, because they appear to be cheap.

                                    Christian Graus Driven to the arms of OSX by Vista. "! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums. I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp

                                    1 Reply Last reply
                                    0
                                    • R r a m e s h

                                      Did you close your eyes when many Indians are giving best answer in this forum? Why didn’t you appreciate them? Also many of the Indians become CodeProject MVP. The number of programmers in India may be nearly equivalent of the population of your country. Therefore there might be few programmer (out of million programmers) may ask some inappropriate questions. If you are not interested to answer a question, please stay away. Please do not underestimate people of a country.

                                      C Offline
                                      C Offline
                                      Christian Graus
                                      wrote on last edited by
                                      #24

                                      dotnet buddy wrote:

                                      Did you close your eyes when many Indians are giving best answer in this forum?

                                      There are a few indians who are prolific here, and who give good answers. That doesn't change that the people who ask the most clueless, ignorant questions, can't understand the answers, keep saying 'do the needful, it's URGENT' and so on, are nearly ALL in India.

                                      dotnet buddy wrote:

                                      The number of programmers in India may be nearly equivalent of the population of your country.

                                      I doubt that, VERY much. The number of Indians who CLAIM to be programmers and are not, is probably not that many.

                                      Christian Graus Driven to the arms of OSX by Vista. "! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums. I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp

                                      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