I am using RadBinaryImage in my asp.net site. I want the website to be localized. So when I generate resources using "Generate Local Resources" from tools menu then Telerik.Web.UI.BinaryImageCropPosition and Telerik.Web.UI.BinaryImageResizeMode type resources are added to my resource file. But I can only keep string type resources in my resource file. So I need to delete these type of resources and I need to delete these type of resources programmatically. I need to iterate through all my resource files programmatically for some filtering. But I can't iterate for these resources.
using (ResXResourceReader resReader = new ResXResourceReader(filePath))
{
using (ResXResourceWriter resWriter = new ResXResourceWriter(filePath))
{
foreach (DictionaryEntry dictionaryEntry in resReader)
{
I am using ResXResourceReader to read. Here 'filePath' is the path of a resource. When I go to iterate through the resources the foreach throws an exception for these two type of resources.So I need to delete them. Or I need to find a way to iterate through the resources without exception. But I couldn't find a way.
Any help for iterating through the resources without exception will also be appreciated. Please Help...
using (ResXResourceReader resReader = new ResXResourceReader(filePath))
{
using (ResXResourceWriter resWriter = new ResXResourceWriter(filePath))
{
foreach (DictionaryEntry dictionaryEntry in resReader)
{
I am using ResXResourceReader to read. Here 'filePath' is the path of a resource. When I go to iterate through the resources the foreach throws an exception for these two type of resources.So I need to delete them. Or I need to find a way to iterate through the resources without exception. But I couldn't find a way.
Any help for iterating through the resources without exception will also be appreciated. Please Help...