An exception of type System.FormatException occurred in mscorlib.dll but was not handled in user c

Last Reply on Mar 18, 2016 01:39 AM By alibasha

Posted on Mar 16, 2016 05:36 AM


            I dont understand why I am getting this issue even there is no type/data conversion error in my code. I just converted from 2.0 to 4.0 and with latest third party controls. I am getting the exception in the master page (design) exactly in the <td> which is given below. Please help


                                        <td class="banner" style="background-image: url(<%= LeftBorder() %>);">&nbsp;</td> 

Code Behind


Protected ReadOnly Property LeftBorder() As String
            Return ResolveUrl(LeftBorderSrc)
        End Get
    End Property


Private Const LeftBorderSrc As String = _


You are viewing reply posted by: alibasha on Mar 18, 2016 01:39 AM.
Posted on Mar 18, 2016 01:39 AM


    I didn’t asked for remote help. I was asking for suggestion/guidance only. I am using this site since from 2012, if I found reply helpful, I will certainly mark it as answer. But generally, if we mark any reply as answer admin may change the question status to solved, then we cannot post further replies in that same question.

 However this issue has been resolved, I didn’t observed carefully in the DOM Explorer. The problem was, HTML editor in the content page was overlapping the images of master page, thereby its throwing the exception. Thanks for all your help.


Best Regards