Click here to Skip to main content
15,889,852 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I have
form tag
<div class="editor-field" id="div_Img" runat="server">
<asp:image src=" ">

Getting error:
Error 1 'TestingPMO_RR.Controllers.Appreciation_CardController.VerifyRenderingInServerForm(System.Web.UI.Control)': no suitable method found to override


C#
private string DivToHtml(HtmlGenericControl hgc)
       {
           StringBuilder sb = new StringBuilder();
           StringWriter sw = new StringWriter(sb);
           HtmlTextWriter hw = new HtmlTextWriter(sw);
           hgc.RenderControl(hw);
           return sb.ToString();
           //div_Img
       }
 public override void VerifyRenderingInServerForm(Control control)
     {


     }
Posted
Updated 31-Mar-13 23:51pm
v2
Comments
vinodkumarnie 1-Apr-13 6:15am    
Wat error..? When are you getting error..? Can you explain more..?
GuhananthS 1-Apr-13 6:25am    
Error 1 'TestingPMO_RR.Controllers.Appreciation_CardController.VerifyRenderingInServerForm(System.Web.UI.Control)': no suitable method found to override
vinodkumarnie 1-Apr-13 6:47am    
<asp:Image> don't have property called src. You have to mention the same as ImageUrl="".

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900