Need Help while converting files in Sharepoint 2010
-
I have a web part that provides a value for filtering shareopint lists The problem is when the value contains an ampersand '&' an Bad format exception is thrown I tried to replace the & with & and "%26" but it doesn't work and the exception is thrown please tell me what to do about this.
-
I have a web part that provides a value for filtering shareopint lists The problem is when the value contains an ampersand '&' an Bad format exception is thrown I tried to replace the & with & and "%26" but it doesn't work and the exception is thrown please tell me what to do about this.
Member 10300893 wrote:
I have a web part that provides a value for filtering shareopint lists
Is that a standard WebPart or did you created it on your own?
Member 10300893 wrote:
please tell me what to do about this.
If it's a standard WebPart you could programm it in Visual Studio on your own. That's not a lot work and can be done easily. You can handle the error with try-catch or regular expressions. There might be another solution, but as I don't know which webpart you are using I'm not able to check that. :rolleyes:
SharePoint Consultant and Developer at acocon Author of Primary ROleplaying SysTem I'm the ninth in a row of seven!