Monday, March 12, 2012

Web Develper 2005 Express Edition changes HTML

I am using Express Edition and working on new project with AJAX
for whatever reasong when i am switch in design mode my page that uses
TabContainer it modifies HTML
<cc1:TabPanel ID="tb1" HeaderText="Name" runat="server">
<ContentTemplate>
<table border=0 cellpadding=0 cellspacing=0>
......
Becomes
<cc1:TabPanel ID="tb1" HeaderText="Settings" runat="server">
<system.web.ui.control runat="server">
<table __designer:dtid="1970333426909222" border=0 cellpadding=0
cellspacing=0>
Notice that <ContentTable> got replaced and __designed:dtid was added.
How can i avoid that'
Thanks
George.I would have to see the full portion of the page. Most likely, you are
missing a closing tag (or more than one) and it is compensating.
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com
****************************************
****
Think outside the box!
****************************************
****
"George Ter-Saakov" <gt-nsp@.cardone.com> wrote in message
news:uUHXgtPXHHA.5008@.TK2MSFTNGP05.phx.gbl...
>I am using Express Edition and working on new project with AJAX
> for whatever reasong when i am switch in design mode my page that uses
> TabContainer it modifies HTML
> <cc1:TabPanel ID="tb1" HeaderText="Name" runat="server">
> <ContentTemplate>
> <table border=0 cellpadding=0 cellspacing=0>
> ......
> Becomes
> <cc1:TabPanel ID="tb1" HeaderText="Settings" runat="server">
> <system.web.ui.control runat="server">
> <table __designer:dtid="1970333426909222" border=0 cellpadding=0
> cellspacing=0>
>
> Notice that <ContentTable> got replaced and __designed:dtid was added.
> How can i avoid that'
>
> Thanks
> George.
>

0 comments:

Post a Comment