CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
web_forms
getting_started
data_presentation_controls
dotnetnuke
data_access-sql_server_sql_server_express_and_sqldatasource_control
security
client_side_web_development
novell-support-groupwise-6x-clients
data_access-data_access_and_objectdatasource_control
asp-net_ajax-asp-net_ajax_control_toolkit
novell-support-netware-6x-install-upgrade
asp-net_ajax-asp-net_ajax_discussion_and_suggestions
novell-support-netware-6x-administration-tools
master_pages_themes_and_navigation_controls
configuration_and_deployment
novell-support-netware-client-winnt-2x-xp
novell-support-groupwise-7x-clients
asp-net_ajax-asp-net_ajax_ui
novell-support-edirectory-netware
community-free_for_all
visual_studio_2005
novell-support-groupwise-6x-install-setup
data_access-xml_and_xmldatasource_control
control-cancel
novell-support-iprint
advanced_asp-net-crystal_reports
data_access-xml_web_services
microsoft-public-access
novell-community-chat
state_management
novell-support-netware-6x-abends-hangs
dotnetnuke-getting_started
novell-support-groupwise-6x-gwia
-net_languages-c
novell-support-identity-manager-engine-drivers
novell-support-groupwise-discontinued
advanced_asp-net-architecture
opensuse-org-suse-linux-support-install-configure-administration
dotnetnuke-custom_modules
novell-support-groupwise-7x-install-setup-admin
novell-support-netware-6x-storage-media
novell-support-groupwise-6x-agents
installation_and_setup
data_access-access_databases_and_accessdatasource_control
windows-hosting_open_forum
visual_web_developer_2005_express
novell-support-groupwise-6x-web-access
novell-support-netware-6x-server-backup
macromedia-dreamweaver
novell-support-netware-5x-administration-tools
novell-support-ifolder
novell-support-bordermanager-install-setup
novell-support-imanager
microsoft-public-dotnet-framework-aspnet
novell-support-netware-5x-install-upgrade
novell-support-cluster-services
novell-support-bordermanager-proxies
novell-support-newsflash
advanced_asp-net-sql_server_reporting_services
microsoft-public-dotnet-languages-csharp
web_parts_and_personalization
about_this_site-feedback_on_this_website
ibm-software-websphere-portal-server
novell-support-netware-dns-dhcp
novell-support-zenworks-desktops-4x-app-launcher
-net_languages-visual_basic_-net
advanced_asp-net-custom_server_controls
novell-support-bordermanager-vpn
novell-support-ndps-neps
microsoft-public-sqlserver-programming
novell-support-netware-webserver
community-jobs
novell-support-netware-4x
advanced_asp-net-mobile_and_handheld_devices
internet_explorer_web_controls
novell-support-zenworks-desktops-4x-install-setup
novell-support-edirectory-linux
novell-support-groupwise-7x-gwia
development_tools-web_matrix_general_discussions
microsoft-public-access-formscoding
macromedia-flash
community-announcements
portal_starter_kit
novell-support-zenworks-desktops-4x-management-agent
novell-support-zenworks-patch-management
novell-support-native-file-access
microsoft-public-access-queries
microsoft-public-access-forms
novell-support-groupwise-7x-web-access
novell-support-netware-small-business-6x
data_access-active_directory_and_ldap
novell-support-edirectory-windows
novell-support-groupwise-7x-agents
novell-support-ichain
data_access-oracle
novell-support-zenworks-desktop-management-6x-imaging
novell-support-groupwise-7x-wireless
novell-support-netware-5x-abends-hangs
advanced_asp-net-localization
novell-support-zenworks-desktop-management-7x-imaging-server-nw-win




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: Date Entered: 4/9/2007 9:35:00 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 5 Views: 58 Favorited: 0 Favorite
6 Items, 1 Pages 1 |< << Go >> >|
"jatinh" <>
NewsGroup User
Cannot view controls nested in Table and Panel tag in the design view of Visual Studio 20054/9/2007 9:35:00 AM

1

I want to view controls (say:Checkbox control) nested in  <Asp:Panel> <TR> tag  in design view of  visual 2005. however it works fine in Visual Studio 2003.

Can anyone help me to know the reason or recommend the work around so that I can view controls in design view using ASP:Panel and <TR> tag. 

excerpt of code is given below

<

body>

<form id="form1" runat="server">

 

<table>

<asp:Panel ID="Panel1" runat="server" >

<tr>

 

<td style="width: 100px">

<uc1:WebUserControl ID="WebUserControl1" runat="server" />

</td>

 

<td style="width: 100px">

<asp:CheckBox ID="CheckBox1" runat="server" />

</td>

<td style="width: 100px">

test

</td>

</tr>

</asp:Panel>

</table>

 

 

 

 

 

</form>

</

body>

 

 

"azammitt" <>
NewsGroup User
Re: Cannot view controls nested in Table and Panel tag in the design view of Visual Studio 20054/9/2007 1:26:13 PM

0

 Try it with the panel tag outside the table tag... Like this.

 

 

<

body>

 

<form id="form1" runat="server">

<asp:Panel ID="Panel1" runat="server" >

 

<table>

 

 

<tr>

 

 

<td style="width: 100px">

 

<uc1:WebUserControl ID="WebUserControl1" runat="server" />

 

</td>

 

 

<td style="width: 100px">

 

<asp:CheckBox ID="CheckBox1" runat="server" />

 

</td>

 

<td style="width: 100px">

test

 

</td>

 

</tr>

 

 

</table>

</asp:Panel>

 

</form>

</

body>

"jatinh" <>
NewsGroup User
Re: Cannot view controls nested in Table and Panel tag in the design view of Visual Studio 20054/9/2007 3:57:16 PM

0

I am aware that it works by setting Panel tag out of table tag . however i came to know about  this problem after migrating 2003 project into 2005. In 2003 , this particular functionality was allowed and now in visual studio 2005 the same is not allowed . 

Hence wanted to confirm if same can be achived by setting some  property of asp:Panel ? or is it bug in visual studio 2005 ? and if it is introduced purposely by microsoft then  what is the reason for it being not allowed ???

 

"azammitt" <>
NewsGroup User
Re: Cannot view controls nested in Table and Panel tag in the design view of Visual Studio 20054/9/2007 7:11:39 PM

0

tags between <table><tr><td> are pretty much a "no no" as far as I know... I could be wrong though.  If you need to be able to do something with the whole row (like hide it) you can do this...

 

<table>
     <tr runat="server" id="MyTableRow">
              <td>first cell in my row</td>
     </tr>
</table>

 

Then in the code you can change the rows properties by saying "MyTableRow.whatever"

"keith.rull" <>
NewsGroup User
Re: Cannot view controls nested in Table and Panel tag in the design view of Visual Studio 20054/10/2007 7:17:52 PM

0

azammitt:

tags between <table><tr><td> are pretty much a "no no" as far as I know... I could be wrong though.  If you need to be able to do something with the whole row (like hide it) you can do this...

 

<table>
     <tr runat="server" id="MyTableRow">
              <td>first cell in my row</td>
     </tr>
</table>

 

Then in the code you can change the rows properties by saying "MyTableRow.whatever"

I think the code about should be

<table>
   <tr>
      <td>
         an always visible row
      </td>
   </tr>
   <tr id="rowToHide" runat="server">
      <td>
         i want to hide this whenever i want to
      </td>
   </tr>
</table>

in the code you could make your table row visible/invisible like this

rowToHide.Visible = true;

this is an easier approach rather than using the panel solution which most of the time the html code gets screwedup whenever the VS parser encounters something that it cant understand.

HTH


greatness is not about what you have accomplished! its about what you overcomed!
-
My Personnal Site | DevPinoy.org: A Filipino Developers Community
"azammitt" <>
NewsGroup User
Re: Cannot view controls nested in Table and Panel tag in the design view of Visual Studio 20054/10/2007 8:06:41 PM

0

That's the same thing.. I just said "MyTableRow.whatever" because there are other options you can change for a row that is generated server side then just the visibility
6 Items, 1 Pages 1 |< << Go >> >|


Free Download:













visual source safe question

asp problem

what's the difference between vs2003 and vs2005?

cannot indent code

project templates

unable to add codebehind in asp.net 2.0 web site in vs2005?

copy web site to ftp site causes vs 2005 to freeze

sql server instances

how to use cvs as source code control for vs2005?

copy local

how to write a custom site map provider

stand-alone class file declaration in code-behind

please help on vs 2005 publish website

question on using .dwt files in vs 2005

using the class diagram template

vs2005 reporting options - need guidance

inastaltion of visual studio.

xcopy way to deploy web app

problems with asp:table and databound objects on design surface

using the 2005 ide but still the 1.1 runtime

this/me window while debugging

nested class doesn't show up on intellisense.

visual studio config: how do i set code styles?

codefile necessary for web application?

code behind is blind to web controls

debug

datetime and b.c. dates

change pagelayout to gridlayout in vs2005

testing asp.net application using vs 2005

database project, what version of vs 2005?

hide output pane

can't see form in design mode

impersonation and internal web server in vs2005 does not work

how to show an hourglass while expanding treeview nodes?

add tableadapter on a custom table

using hosted mssql 2000 with vwd 2005

must build for intellisense to be updated?

regular expressions for checking image extesnions case insenitive.

wildcard

strange temp folder created by .net is giving me errors. it is in the directory-->c:\microsoft.net\framework\v.2.050727\temporary asp.net files\mysite.com\f40a2335

design view bug? panel widths

why code behind form become <%@ import namespace="system.data" %>?

development server is passing all file types to asp.net

suggestion for intellisense feature

"go to definition" disabled

case tool/code generator

corrupted solution file?

how to add class library projects to my web site solution???

can't debug

copy and paste formatting

 
Search This Site:

 
  Privacy | Contact Us
All Times Are GMT