PDA

View Full Version : Comments Length


garrydawkins
02-04-2004, 07:38 AM
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_EditProject Description_NPD_PROJECTS0ProjectDescription')" id="MainProjForm1_EditProjectDescription_ClearDesc"><FONT size="1">Clear</FONT></a></TD>
</TR>

GDawkins

bruce
02-05-2004, 12:39 PM
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="[b]javascript:ClearTextBox('MainProjForm1_EditProject Description_NPD_PROJECTS0ProjectDescription')" id="MainProjForm1_EditProjectDescription_ClearDesc"><FONT size="1">Clear</FONT></a></TD>
</TR>

GDawkins
</blockquote id="quote"></font id="quote">