473,406 Members | 2,343 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,406 software developers and data experts.

Datagrid not visible on web app form

I have been using datagrids on an existing web application. I needed
to try an experiment and I created a new web form. I dropped a grid
onto the form and set it's properties. When I browse the aspx page the
datagrid is not visible. If I drop other controls like buttons on the
form they show up OK. Any ideas please?

Regards

John L
Nov 18 '05 #1
3 1076
You need to bind the grid to a datasource in order for it to be visible.
"John Lundrigan" <jo***@glenavon1.demon.co.uk> wrote in message
news:ca********************************@4ax.com...
I have been using datagrids on an existing web application. I needed
to try an experiment and I created a new web form. I dropped a grid
onto the form and set it's properties. When I browse the aspx page the
datagrid is not visible. If I drop other controls like buttons on the
form they show up OK. Any ideas please?

Regards

John L

Nov 18 '05 #2
Thanks Morgan,
Unfortunately that doesn't seem to work. I've tried from
another machine and so I'm assuming the error is mine. The bindings
are the same as the other page which works.

Regards

John L

On Fri, 30 Jan 2004 09:47:13 -0500, "Morgan" <ab**@senditon.com>
wrote:
You need to bind the grid to a datasource in order for it to be visible.
"John Lundrigan" <jo***@glenavon1.demon.co.uk> wrote in message
news:ca********************************@4ax.com.. .
I have been using datagrids on an existing web application. I needed
to try an experiment and I created a new web form. I dropped a grid
onto the form and set it's properties. When I browse the aspx page the
datagrid is not visible. If I drop other controls like buttons on the
form they show up OK. Any ideas please?

Regards

John L


Nov 18 '05 #3
If you bind the datagrid to a data source it should work. Can you show some
pieces of code of what you are doing? Then maybe we could tell you what you
are doing wrong.

"John Lundrigan" <jo***@glenavon1.demon.co.uk> wrote in message
news:pp********************************@4ax.com...
Thanks Morgan,
Unfortunately that doesn't seem to work. I've tried from
another machine and so I'm assuming the error is mine. The bindings
are the same as the other page which works.

Regards

John L

On Fri, 30 Jan 2004 09:47:13 -0500, "Morgan" <ab**@senditon.com>
wrote:
You need to bind the grid to a datasource in order for it to be visible.
"John Lundrigan" <jo***@glenavon1.demon.co.uk> wrote in message
news:ca********************************@4ax.com.. .
I have been using datagrids on an existing web application. I needed
to try an experiment and I created a new web form. I dropped a grid
onto the form and set it's properties. When I browse the aspx page the
datagrid is not visible. If I drop other controls like buttons on the
form they show up OK. Any ideas please?

Regards

John L

Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Frnak McKenney | last post by:
I have a (small) multi-table database application which allows edits, print reports, and has two scrolling screen displays which show information merged from multiple tables. I'm having trouble...
0
by: Reb | last post by:
I am using a datagrid within another datagrid. My second datagrid is expand/collapse one. I am facing some error. This is my code. ExpandGrid.aspx <form id="Form1" method="post"...
0
by: Mauro | last post by:
Hi, I need a big help to resolve this problem. I need to put a usercontrol in a datagrid: this control check if the code inserted is present in a archive and if not return a error message. (In...
1
by: Harry Devine | last post by:
I have a DataGrid that is configured to use the Edit/Update/Cancel concept correctly. My grid shows values from 5 database fields. I only need to update that last 4 fields. The last field is a...
1
by: jason | last post by:
The guts of the below asp.net vb code was pieced together from another thread - all due credit to it's original author. Thank you! I've modified it to maintain a small local Microsoft 2000...
5
by: tshad | last post by:
Is there a way to carry data that I have already read from the datagrid from page to page? I am looking at my Datagrid that I page through and when the user says get the next page, I have to go...
7
by: CanoeGuy | last post by:
I have been trying for the last two weeks to display a dynamic DataGrid. The data that I'm pulling from a SQL Server DB will have whole columns that will be either NULL or 0. I want to display...
6
by: Agnes | last post by:
I understand it is impossible, but still curious to know "Can I freeze several column in the datagrid, the user can only scroll the first 3 columns (not verical), for the rest of the coulumn, it is...
0
by: rupalirane07 | last post by:
Both grids displays fine. But the problem is only parent datagrid sorting works fine but when i clik on child datagrid for sorting it gives me error: NullReferenceException error Any...
0
by: RN1 | last post by:
A Form has a few fields along with a Submit button & a DataGrid. The fields & the Submit Button are encapsulated in a Panel named pnlDataEntry & the DataGrid is encapsulated in a Panel named...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.