Custom contol not working with asp.net 1.x (If i use dll working properly)
-
using System.Web.UI.Design; public sealed class DataGridNavigationBarDesigner : ControlDesigner { public override string GetDesignTimeHtml() { System.Text.StringBuilder sb = new System.Text.StringBuilder(); sb.Append("
"); sb.Append(""); sb.Append(""); sb.Append(""); sb.Append(""); sb.Append(""); sb.Append(""); sb.Append("
Number of rows
Page size "); sb.Append("
Current page
"); sb.Append("
"); sb.Append("
"); sb.Append("
"); sb.Append("
"); sb.Append("
"); sb.Append("
"); return sb.ToString(); } } The error is during compilation it says cannot find System.ComponentModel.Design; and using System.Web.UI.Design; but since i have the dll it works fine .But i have to do changes to it. Pls suggest solution(alternatives for the same) thnks in advance.
-
using System.Web.UI.Design; public sealed class DataGridNavigationBarDesigner : ControlDesigner { public override string GetDesignTimeHtml() { System.Text.StringBuilder sb = new System.Text.StringBuilder(); sb.Append("
"); sb.Append(""); sb.Append(""); sb.Append(""); sb.Append(""); sb.Append(""); sb.Append(""); sb.Append("
Number of rows
Page size "); sb.Append("
Current page
"); sb.Append("
"); sb.Append("
"); sb.Append("
"); sb.Append("
"); sb.Append("
"); sb.Append("
"); return sb.ToString(); } } The error is during compilation it says cannot find System.ComponentModel.Design; and using System.Web.UI.Design; but since i have the dll it works fine .But i have to do changes to it. Pls suggest solution(alternatives for the same) thnks in advance.