 |
| ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

January 31st, 2007, 09:33 AM
|
|
Friend of Wrox
|
|
Join Date: Aug 2004
Posts: 550
Thanks: 0
Thanked 1 Time in 1 Post
|
|
Friends Parsons Its urgent
Hi Friends
I have developed a sort of CMS wherein I read the contents of an HTML page and save it back to the database, next time the page reads and displays the contents from the database. Now the problem is that I am using some other fonts than english, say for e.g. german, now when I save the contents to the database, they are saved in some jumbled english, and when read from the database, it displays that jumbled english on page, rather than converting the text to german language. How can I solve it, it urgent.........
Thanx
Regards
Mike
Fortune favours the brave, so don't regret on missed oppurtunities.
__________________
Regards
Mike
|
|

January 31st, 2007, 09:46 AM
|
|
Wrox Author
|
|
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
|
|
Mike,
You may want to look into the COLLATION on your data columns as the collation helps determine the speical chars that exist only in Eastern Europe. Outside of that I can offer you no support as I have never dealt with this issue.
================================================== =========
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
|
|

January 31st, 2007, 01:00 PM
|
|
Friend of Wrox
|
|
Join Date: May 2005
Posts: 227
Thanks: 1
Thanked 7 Times in 7 Posts
|
|
Mike: Not knowing what "CMS" is, I would think when one saves an HTML page, you would save the <style> or style sheet (.css) for that page also. This would mean having to capability to transpose the text to fit the language.
Hope this helps.
|
|

February 3rd, 2007, 08:08 PM
|
|
Wrox Author
|
|
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
|
|
CMS == Content Management System
================================================== =========
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
|
|

February 4th, 2007, 01:46 PM
|
|
Friend of Wrox
|
|
Join Date: May 2005
Posts: 227
Thanks: 1
Thanked 7 Times in 7 Posts
|
|
Dparsons: Thanks for defining CMS.
Mike: Your CMS has been termed "a Localization" Process(es) according to the bok ASP.NET 2.0 Website Programming Problem-Design-Solution by Marco Bellinaso. Chapter 11 entitled Localizing the Site is devoted to the functionality you are attempting to accomplish with a "Recap of Localization In ASP.NET 1.x" . Prior to this section, the author strongly suggests you first decide what part of the content page you wish to translate, the static content or th dynamic content. If it is the full page, both static and dynamic it is suggested to have a seperate site in that language ( as in amazon's german site, amazon.de).
According to the author for, the users language is picked up fom the System.Globalization.CultureInfo then use that value in System.Threading.Thread.CurrentThread.CurrentCultu re in ASP.NET 1.x.
Information in that chapter will definitely assist you in your project.
|
|

February 5th, 2007, 02:14 AM
|
|
Friend of Wrox
|
|
Join Date: Aug 2004
Posts: 550
Thanks: 0
Thanked 1 Time in 1 Post
|
|
Parsons, thanx for your suggestion.
Peace95, thanx to you too for really taking time to go in depth of the issue, I was busy with some other module, now I am back on CMS, wll try your suggestion, & let u know the progress.
Regards
Mike
Fortune favours the brave, so don't regret on missed oppurtunities.
|
|

February 13th, 2007, 10:12 AM
|
|
Friend of Wrox
|
|
Join Date: Aug 2004
Posts: 550
Thanks: 0
Thanked 1 Time in 1 Post
|
|
Ok, I have managed to create the CMS successfuly, but again I am facing a strange problem, let me try to explain in short....
I have created a CMS where I have an iframe wherein the contents of the page are fetched and displayed from database (SQL Server), I have placed a dropdown containing list of pages, autopostback set to true (accordingly code of the page is displayed in the iframe), now the admin can edit the contents of the page, and save it back to the Database. As a result, when he visits the page on live server, the changes are reflected.
Now comes the problem, this is working on my local machine, i.e. on localhost, but when I upload it to the live server, on selection change of the dropdown, the page turns absolutely blank, when I view the source, it shows <html><head></head></html>... surprising the page loads fine when loaded for the very first time (takes the default page value displayed in dropdown).
Another clue is that if I go to save the changes, again the page goes blank, I guess something happens when I submit the page back to Database, any ideas friends...
Regards
Mike
Fortune favours the brave, so don't regret on missed oppurtunities.
|
|

February 13th, 2007, 10:30 AM
|
|
Wrox Author
|
|
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
|
|
Mike, that is very strange indeed. Are there any errors of any sort being thrown or are there errors that are being handled that you are not being notified about? An empty catch block maybe?
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
|
|

February 13th, 2007, 10:51 AM
|
|
Friend of Wrox
|
|
Join Date: Aug 2004
Posts: 550
Thanks: 0
Thanked 1 Time in 1 Post
|
|
Yes parsons, its really strange, I have created an error page where the thrown exception will be shown, even that is not being shown...
Hey parsons, since this matter is really urgent, if you wish I can PM you the details of the website where you can actually look into it... (remember I have restricted net access here right now, so can PM you only).
Regards
Mike
Fortune favours the brave, so don't regret on missed oppurtunities.
|
|

February 13th, 2007, 10:55 AM
|
|
Wrox Author
|
|
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
|
|
Mike,
Ok send me a PM.
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
|
|
 |