Comments Length

Discussion in 'Visual Studio' started by garrydawkins, Feb 4, 2004.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I have a form with a comments box that needs to be extended to at least 500 character from 100. Is this change made in the aspx file. When I attempt to go to the desing view I get a error message. "The page cannot be view in Design view. The page contains one or more <?imports> directives, which is not supported in Design View.[:0] It appears that there some Javascript mixed in here.[:(] This is what I've tracked down so far.
    <TR>
    <TD height="12"><a href="javascript:ClearTextBox('MainProjForm1_EditProjectDescription_NPD_PROJECTS0ProjectDescription')" id="MainProjForm1_EditProjectDescription_ClearDesc"><FONT size="1">Clear</FONT></a></TD>
    </TR>

    GDawkins
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    I assumed you are using VS.net

    VS.net is very picky about HTML format.

    I would try comment out the A tag before you switch to design view.

    quote:Originally posted by garrydawkins

    I have a form with a comments box that needs to be extended to at least 500 character from 100. Is this change made in the aspx file. When I attempt to go to the desing view I get a error message. "The page cannot be view in Design view. The page contains one or more <?imports> directives, which is not supported in Design View.[:0] It appears that there some Javascript mixed in here.[:(] This is what I've tracked down so far.
    <TR>
    <TD height="12"><a href="javascript:ClearTextBox('MainProjForm1_EditProjectDescription_NPD_PROJECTS0ProjectDescription')" id="MainProjForm1_EditProjectDescription_ClearDesc"><FONT size="1">Clear</FONT></a></TD>
    </TR>

    GDawkins
    </blockquote id="quote"></font id="quote">
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page