|
"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.
|
|
|
|
|
Enver Maroshi wrote: But since we are far away from the topic, i'm done writin
|
|
|
|
|
Christian Graus wrote: I assumed he'd read the docs
Thats a strange assumption to make on this forum.
|
|
|
|
|
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.
|
|
|
|
|
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.
|
|
|
|
|
Put HtmlEncodeOutput in double quotes.
|
|
|
|
|
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........
If you do not like any question Mark it is Bad question..
Dont write comment about any country,religion or community
himanshu
|
|
|
|
|
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
|
|
|
|
|
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.
|
|
|
|
|
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
|
|
|
|
|
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.
|
|
|
|
|
Man i am completely lost.
So its better i stay back in INDIA
himanshu
|
|
|
|
|
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
|
|
|
|
|
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.
|
|
|
|
|
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
|
|
|
|
|
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.
|
|
|
|
|
thanks for your hint, thats working good.
Thanks for all you people.
|
|
|
|
|
Set ValidateRequest="false" in page directive. But it is not advisable.
|
|
|
|
|
Code of WebForm1.aspx.cs as below:
Q: when i submit the aspx page to server,I want to get Method,filed and event in *.aspx.cs description by FQAAttribute .
E.G.: I want to get event Page_Load,Button1_Click,Button2_Click,Button3_Click,
because those description by [FQA("M1")],[FQA("M1","F001")],[FQA("M1","F002")].
How to do ? Thanks.
------------------------------------------------
CODE:
namespace WebIhttpModule
{
/// <summary>
/// WebForm1
/// </summary>
///
[FQA("WebFrom1.M1")]
public class WebForm1 : System.Web.UI.Page
{
#region Web Form Code
protected System.Web.UI.WebControls.Button Button1;
protected System.Web.UI.WebControls.TextBox TextBox1;
protected System.Web.UI.WebControls.Button Button2;
protected System.Web.UI.WebControls.Button Button3;
protected System.Web.UI.WebControls.TextBox TextBox2;
protected System.Web.UI.WebControls.Button Button4;
protected System.Web.UI.WebControls.TextBox TextBox3;
override protected void OnInit(EventArgs e)
{
InitializeComponent();
base.OnInit(e);
}
private void InitializeComponent()
{
this.Button1.Click += new System.EventHandler(this.Button1_Click);
this.Button2.Click += new System.EventHandler(this.Button2_Click);
this.Button3.Click += new System.EventHandler(this.Button3_Click);
this.Button4.Click += new System.EventHandler(this.Button4_Click);
this.Load += new System.EventHandler(this.Page_Load);
}
#endregion
[FQA("M1")]
private void Page_Load(object sender, System.EventArgs e)
{
}
[FQA("M1","F001")]
private void Button1_Click(object sender, System.EventArgs e)
{
this.TextBox1.Text= Button1.Text;
}
[FQA("M1","F002")]
private void Button2_Click(object sender, System.EventArgs e)
{
this.TextBox2.Text= Button2.Text;
}
[FQA("M1","F003")]
private void Button3_Click(object sender, System.EventArgs e)
{
this.TextBox3.Text= Button3.Text;
}
private void Button4_Click(object sender, System.EventArgs e)
{
}
}
}
---------------------------------------------
/// <summary>
/// FQA Attribute
/// </summary>
[AttributeUsage(AttributeTargets.Method |
AttributeTargets.Class |
AttributeTargets.Property |
AttributeTargets.Event |
AttributeTargets.Interface |
AttributeTargets.Delegate, AllowMultiple= true) ]
public class FQAAttribute : System.Attribute
{
private string _codemod = "";
private string _codefun = "";
/// <summary>
/// set the FQA right by module
/// </summary>
/// <param name="strFunctionCode">module code</param>
public FQAAttribute(string strModCode)
{
_codemod = strModCode.Trim();
}
/// <summary>
/// set the FQA right by module and function
/// </summary>
/// <param name="strModCode">module code</param>
/// <param name="strFunctionCode">function code</param>
public FQAAttribute(string strModCode, string strFunctionCode)
{
_codemod = strModCode.Trim();
_codefun = strFunctionCode.Trim();
}
}
|
|
|
|
|
Who can help ...,please...
|
|
|
|
|
|
Your code is very ugly and badly put together. Did you have a question ?
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
|
|
|
|
|
you should clarify what you want, not delete your post. You needed a LOT of help with the code that was posted, why not ask, and get the help you need ? For a start, using strings for different settings is bad, use an enum. The rest was messy, but that's the only specific thing I remember.
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
|
|
|
|
|
Uma J wrote: if (Mode = "A")
{
Uma J wrote: if (Mode = "C")
{
Uma J wrote: if (Mode = "B")
{
Do you need to compare something or you need to assign something indeed.
Education is not a way to escape poverty — it is a way of fighting it.
|
|
|
|
|
Use the following code to get all printers. Thus the dropdownlist contains list of installed printers. If am saving Microsoft XPS Document Writer as my printer and try to print using the printer a window is opened for saving the print document.But when I host the application and try to print with Microsoft XPS Document Writer the page shows a javascript error or the page become struct.I think it is because if am selecting Microsoft XPS Document Writer as printer its not a valid printer and shows the dialog window to save the document but after hosting save window is opened and the timeout occurs therefore the errors occurs.If am selecting a valid printer it works fine. Can you help me to avoid Microsoft XPS Document Writer from my installed printers lisrt or help any way
//Get all the Installed printers
foreach (String strPrinterName in PrinterSettings.InstalledPrinters)
{
ddlSetPrinter.Items.Add(strPrinterName);
}
|
|
|
|