Thank you Adrian for your colaboration.
Zeeshan,
The code that Adrian shows should help a lot. I would add a couple of things to consider.
-Map Unit: You need to set the MapUnit of your map correctly for the shapefiles to display and the map to behave correctly. Look at the PRJ file for the projection information to see what unit the shapefile is in.
-Set the Style according to the shapefile type: If the shapefile is area based, you need an AreaStyle, line based a LineStyle and point based a PointStyle.
-Spatial Index: You need to build it only once to have a better performance.
-CPG file: If you have a cpg file (Code Page file), it means that your shapefile probably uses some characters for a language. I would look at that post for setting chinese characters. From this example, you should be able to set for your own language.
gis.thinkgeo.com/Support/Discussion...fault.aspx
If you still have problem, you can attach your shapefile or send it to us a support@thinkgeo.com
Thank you.