473,395 Members | 1,568 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

How to refernce the HTML table in ASP.Net

1
I have faced the problem that I want to hide the some rows of html table in the asp.net. For that I used the JavaScript but the problem is same I have to register the JavaScript function in the ClientScript class and other problems of JavaScript was also there.

Then i got HtmlTable class which refer the HTML table but all I have to do that that table must have runat="server" and if I want to hide the row then row must be in the same feature. HtmlTableRow class and just I have do that I have get the refernce of that row.

Kind Regards:
Jul 3 '07 #1
2 1109
r035198x
13,262 8TB
I have faced the problem that I want to hide the some rows of html table in the asp.net. For that I used the JavaScript but the problem is same I have to register the JavaScript function in the ClientScript class and other problems of JavaScript was also there.

Then i got HtmlTable class which refer the HTML table but all I have to do that that table must have runat="server" and if I want to hide the row then row must be in the same feature. HtmlTableRow class and just I have do that I have get the refernce of that row.

Kind Regards:
Welcome to TSDN.
You've posted this in the articles section and so I've moved it to the forum section.
Jul 3 '07 #2
kenobewan
4,871 Expert 4TB
Welcome to TSDN. I don't see the need to register the JS as clientscript. Why don't you leave it as clientside.
Jul 5 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: asp.net NUT!!! | last post by:
Hi I've been trying to add a web refernece to a asp.net application project, from a web service within the same solution. The site is hosted on my local host & in a virtual directory. when I go...
10
by: Fraser Ross | last post by:
I need to know the syntax for writing a reference of an array. I haven't seen it done often. I have a class with a member array and I want a member function to return an reference to it. ...
20
by: Guadala Harry | last post by:
In an ASCX, I have a Literal control into which I inject a at runtime. litInjectedContent.Text = dataClass.GetHTMLSnippetFromDB(someID); This works great as long as the contains just...
0
by: Vids | last post by:
Hi, We are doing migration of web service from VS2003 to VS2005 After upgrading the project I m trying to add a web reference to the web service. While adding web reference it shows all the web...
3
by: sahilu | last post by:
hi to all, i want the sol immediately i designed loginpage i gave username, password and register button i have given database connection ,in that login table is there with fields as i click...
1
by: since | last post by:
I figured I would post my solution to the following. Resizable column tables. Search and replace values in a table. (IE only) Scrollable tables. Sortable tables. It is based on a lot...
1
by: Sheena777 | last post by:
How can you reference a textbox from a vb.net windows application. I am trying to pass a variable to the script file. I have a textbox on a windows application form and a button and when the user...
2
by: lynx129 | last post by:
Hi there , I have php script that works fine under my server but I dont know how to put the html code inside my site. feedback.html <html dir="rtl"> <head> <title> ????? ??? </title>...
10
by: happyse27 | last post by:
Hi All, I got this apache errors(see section A1 and A2 below) when I used a html(see section b below) to activate acctman.pl(see section c below). Section D below is part of the configuration...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.