Wrox Programmer Forums
|
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
 
Old January 31st, 2007, 09:33 AM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 550
Thanks: 0
Thanked 1 Time in 1 Post
Default 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
 
Old January 31st, 2007, 09:46 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

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^^
================================================== =========
 
Old January 31st, 2007, 01:00 PM
Friend of Wrox
 
Join Date: May 2005
Posts: 227
Thanks: 1
Thanked 7 Times in 7 Posts
Default

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.
 
Old February 3rd, 2007, 08:08 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

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^^
================================================== =========
 
Old February 4th, 2007, 01:46 PM
Friend of Wrox
 
Join Date: May 2005
Posts: 227
Thanks: 1
Thanked 7 Times in 7 Posts
Default

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.
 
Old February 5th, 2007, 02:14 AM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 550
Thanks: 0
Thanked 1 Time in 1 Post
Default

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.
 
Old February 13th, 2007, 10:12 AM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 550
Thanks: 0
Thanked 1 Time in 1 Post
Default

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.
 
Old February 13th, 2007, 10:30 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

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
 
Old February 13th, 2007, 10:51 AM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 550
Thanks: 0
Thanked 1 Time in 1 Post
Default

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.
 
Old February 13th, 2007, 10:55 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

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





Similar Threads
Thread Thread Starter Forum Replies Last Post
Hi,Friends emmanuelmosses Crystal Reports 1 August 25th, 2008 12:38 PM
Hi friends help me vingo_mail ASP.NET 2.0 Professional 1 March 12th, 2008 07:35 AM
Advanced help with dropdown items! (parsons, imar) mike_remember ASP.NET 1.0 and 1.1 Professional 1 April 11th, 2007 08:33 AM
Help with Socket Programming (Imar/parsons att.) mike_remember ASP.NET 1.0 and 1.1 Professional 11 March 26th, 2007 09:53 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.