How To Correctly Uppercase Greek Words In .NET
Jan 7, 2010
We have ASP.NET application which runs different clients around the world. In this application we have dictionary for each language. In dictionary we have words in lowercase and sometimes we uppercase it in code for typographic reasons.
var greek= new CultureInfo("el-GR");
string grrr = " όλη";
string GRRR = grrr.ToUpper(greek); // " ΌΛΗ"
The problem is: ...if you're using capital letters then they must appear like this: f.e. ΟΛΗ and not like ΌΛΗ, same for all other words written in capital lettersSo is it possible generically to uppercase Greek words correctly in .NET? Or should I wrote my own custom algorithm for Greek uppercase?
View 3 Replies
Similar Messages:
Nov 17, 2010
I have a pretty basic search feature on a site that queries a sqldb with a sqldarasource, and then displays the results on a page, in a panel within a Repeater. I'd like to figure out if it's possible to somehow highlight the words the user searched on as they are displayed in the search results. The code below is my repeater. Do you know of any way to manipulate the Title or Description if the words in it's body match the words searched?
<asp:Panel
ID="pnlExperience"
runat="server"
Height="500px"
ScrollBars="Auto">
[code]...
View 1 Replies
Jul 23, 2010
how can i make greek characters been displayed in a asp label? in my visual studio they are fine but now i have the site online and it displays curious characters
View 3 Replies
Jun 27, 2011
On a web page, I use field validator controls and I have included also a validationsummary control. So far so good, I get the messages in english and greek language. For some cases I want validationsummary control display some custom messages. I use the code below:
Code:
Dim txtcompVldr As New CustomValidator()
txtcompVldr.IsValid = False
txtcompVldr.ErrorMessage = "O ταχυδρομικός κώδικας δεν είναι έγκυρος."
Me.Page.Controls.Add(txtcompVldr)
The problem is than I dont get back the messages for greek language in a format that can be read and I cant find out what causes this behaviour. I wanna mention that all this happening in a free web host server where I am developing it.
View 12 Replies
May 20, 2010
I have an application in which if I enter greek characters it gets diplsayed correctly till they are in cache but when I go to another webform andcome back this data is passed to database and comes back and is not right it shows something else than the greek character I entred.
What could be the problem, is it something to do with database conversion or what?
View 10 Replies
Sep 15, 2010
I am using mySQL. I have separate tables for several languages. When I display the Greek statements I seem to be limited to between 192 and 201 characters. That is not the problem with English, Danish, Dutch, Russian, or Farsi. I am using the same code for each with the only change being which table is opened. (In fact I just took the Dutch code and changed only the name of the table I'm opening to the Greek table and had the same problem.)The problem is that I've also double checked the statements in the table and they are complete, e.g., some have up to 255 characters.
View 2 Replies
Oct 7, 2010
I need to be able to convert all input fields in a DetailsView (Insert) to uppercase. How do I do this? My SQL query and the whole insert statement takes place in ASP.NET, and not in code behind so I'm not sure if I can dynamically do this in ASP.
I've used Text-Transform in CSS to make them look uppercase for the user, but it still enters the details in lower case in the field.
View 1 Replies
Feb 1, 2010
I'm using this style text-transform:uppercase to convert to uppercase in a textbox. Works fine, but it saves as lowercase.
View 3 Replies
Jun 8, 2013
I want to convert first letter of each word to capital n remaining all letter to lowercase..how should i code in c# to do so..
View 1 Replies
Feb 21, 2014
Text box has to allow digits and alphabets using ajax server side controls and in this if the user types small alphabets it has to convert capital how to do this using ajax server side controls?
View 1 Replies
Nov 17, 2010
I am trying to make a particular column uppercase in my datagrid. I have managed to get it working but for some reason it allways misses the first row but does all the others.
[Code]....
The sql that populates the datagrid is created dynamically so I am not to sure how many columns the grid will have. I just can't see why its missing the first row of data
View 7 Replies
Mar 8, 2010
I have a java function(on the unkeyup handler) that converts to uppercase and another that is linked to my Custom Validator and which validates one of my textboxes, this work perfect with Firefox,chrome,Opera and Safari but with internet explorer is only working the ServerValidation that is, I have to click submit for the textbox to be validated.
View 2 Replies
Aug 3, 2010
I read a lot of posts where people want to transform the text to uppercase as the user inputs it. I don't care about that.
My customer wants all text input changed to upper case when it's posted. You know that using DetailsView and Gridview you don't have to write code to handle the Insert & Update for each field. However in order to change the text fields to uppercase prior to the insert/update, I'd have to intercept (oninserting/onupdating) and write code for EACH TEXT FIELD. Is there a more efficient way to do this? Maybe something in CSS or some other method I don't know about?
View 8 Replies
Sep 16, 2010
Here is the style sheet.
body
{
width:
100px;
text-transform:capitalize;
}
Only the first input character was automatically converted to uppercase. The rest inputs are not converted. Do you know what changes I need to make it work?
View 2 Replies
Jan 8, 2010
I gonna build a custom control that derive from DevExpress.Web.ASPxEditors.ASPxTextBox and add 2 features on top of this base class controls.
1. Convert all input text to uppercase.
2. No allow to input certain special character.
Here, I able to provide 2nd feature but hv no idea how to do for the 1st. Below is my code in the custom control class.
[Code]....
View 9 Replies
Aug 19, 2010
how to Convert Uppercase to Lower case during Binding in datalist in Asp.Net.
we have data in uppercase in sql server database . Now we want to display data in datalist at aspx pages in lowercase.
we are using datalist where control is as
<asp:Label ID="lblAdd" runat="server"
Text='<%# Eval("c_Address", "{0:ToLower}") %>' ></asp:Label>
how to convert data into lower case while dispalying in datalist .
View 5 Replies
Nov 11, 2010
I'm using code to convert items in a Datagrid row from UPPERCASE to Title Case. It works good, but the problem is if it comes across a hyperlink field, it will put in a blank value. Not sure why its doing this, but here is the code below. Wondered if any one has came across this problem and managed to solve it?
The code:
aspx page:
<asp:GridView ID="SectionsGridLevel1" AutoGenerateColumns="False" onrowdatabound="SectionsGridLevel1_RowDataBound" emptydatatext="No data available." runat="server">
<Columns>
<asp:hyperlinkfield headertext="Section - click to view sub-sections" datatextfield="SectName" datanavigateurlformatstring="BrowseSections2.aspx?type=sect&list=1&level=2§ion={0}" datanavigateurlfields="SectID" />
<asp:hyperlinkfield headertext="View" Text="View All" datanavigateurlformatstring="BrowseSections2.aspx?list=1§ion={0}" datanavigateurlfields="SectID" />
[Code]....
View 3 Replies
Apr 1, 2011
I using java slides in my project words arabic display in aspx page ........... but in Html page works very good. The full code in Html page:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256">
<script type="text/javascript" src="js/stscode.js"></script>
</head>
<body>
<script type="text/javascript" src="js/scroller.js"></script>
</body>
</html>
Thefull code in aspx page:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="test.aspx.cs" Inherits="test" %>
<HtmlTD XHTML 1.0 Transitional//EN" [URL]-transitional.dtd">
<html xmlns= [URL]>
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256">
<script type="text/javascript" src="js/stscode.js"></script>
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<script type="text/javascript" src="js/scroller.js"></script>
</form>
</body>
</html>
</HtmlTD>
View 3 Replies
Dec 10, 2010
(I'm using c#)how to select only the first 8 word from long string column?when using normal select it's select all the column how can I select only the first 8 words?
View 5 Replies
Apr 27, 2010
several words in my textbox.How do I do?
View 7 Replies
May 24, 2010
i am currently using microsoft Interop.Dsofile.dll to count words in office word doc and docx files and also the methods from Microsoft.Office.Interop.Word.dll is handy and can be another solution. what about PDF files? is there any free or commercial API ,DLL , component or any solution to count words ,paragraphs and lines in pdf files ?
View 1 Replies
Jan 14, 2011
I was make last news form and I have problem with showing data am select top 3 news from table and showing oky but it's read all the filed see the image[URL]now I need first 3 words or 4 or 6 this is my code
[Code]....
View 5 Replies
Sep 20, 2010
i want to select only 15 words from table ,
View 4 Replies
Sep 11, 2010
i want to search the words and nearby words from the xml file.I dont know how to start this with asp.net. I have a xml file i want to serialize it using xmlelement and xmlatrribute.but i don't know how to define it. and use it. I also want to use hash table that contain this xml file but how do i define keys and values with the xmlelement and attribute. I am new to this.
View 2 Replies
Sep 28, 2010
I've a problem while using ASP.
My situation is I want to convert every documents' contained words into database and upload those document to server.
For example: MS word, MS Power Point, MS Front Page and PDF files.
Those words needed to store into database and let others to search by content.
View 8 Replies