473,397 Members | 1,974 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,397 software developers and data experts.

gridview disppeared in IE explorer

hi

i placed one gridview,one textbox i in a form When i run it text box is availbale but gridview is not available in the IE page. I dont know what s the reason behind this.I checked it visible,enable properties but all are set true.what should i do to get gridview at IE page.
Aug 9 '07 #1
4 935
Plater
7,872 Expert 4TB
Is there data in it?
If there's no data in a gridview, I believe it's default behavior is to not draw itself.
Aug 9 '07 #2
Is there data in it?
If there's no data in a gridview, I believe it's default behavior is to not draw itself.
There is no data in the gridview.If i dragged sqldatasource and fill some data its availlbale in IE page

can i display gridview for my owncolumns (not in table)?i mean i want to use gridview as< table > without filling a table or storedproc .is it possible?
Aug 9 '07 #3
Frinavale
9,735 Expert Mod 8TB
There is no data in the gridview.If i dragged sqldatasource and fill some data its availlbale in IE page

can i display gridview for my owncolumns (not in table)?i mean i want to use gridview as< table > without filling a table or storedproc .is it possible?
The DataGrid will not be drawn if there is nothing in the data source.
If you want to display an empty DataGrid you will have to supply it with a table that holds spaces (nbsp;) as your source.
Aug 10 '07 #4
Plater
7,872 Expert 4TB
You can also use the EmptyDataTest attribute as well as the <EmptyDataRowStyle> element

Here's part of what I use:

Expand|Select|Wrap|Line Numbers
  1. <asp:GridView ID="gvOverdueSites" EmptyDataText="(None)" >
  2.    <EmptyDataRowStyle BackColor="Transparent"  HorizontalAlign="Center" />
  3. </asp:GridView>
  4.  
Aug 10 '07 #5

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

Similar topics

0
by: misogsk | last post by:
Hello. I have a gridview on my website(asp.net 2), but there's one problem with it. GridView is perfectly showing data in explorer window, but i need to make it scrollable when i straiten the...
1
by: imranabdulaziz | last post by:
Dear all, i am using asp.net ,C# , Microsoft internet explorer 6 version ans iis5.0. My problem is gridview data does not get exported in explorer whereas when i select firefox it exported to...
1
by: Dave | last post by:
I'm having problems getting the GridView to reliably display a large amount of data (50,000+ rows). I am working my way through the excellent book “Real World ASP.NET Best Practices” by Farhan...
1
by: idan | last post by:
Here's my data: (Table: EmployeePlan) EmpID Plan Status abc123 PlanA A abc123 PlanB D abc123 PlanC A xyz789 PlanA D xyz789 PlanB D xyz789 PlanC...
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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.