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

VB.NET Grid related issues

I am building one application is VB.NET. I am using a grid, but facing some
problems related to it.

1) I am using .Net 1.1. I have used a datagrid.I have added a template
column in the datagrid.I item template of that datagrid.I I have bind a label
to the column and in edit item template I have bind a dropdown to it so that
when u load the data in the grid on form load u can only see the data in that
column but once when u click on Edit button of any row in the grid that
column becomes editable and shows a dropdown(that I have bind in edit item
template) from where you can select value for the column.

My Problem is that because I have bind column in edit item template I am not
able to access that dropdown in the code page(.cs file) and that’s why I am
not able to define the select change event for that dropdown.

2) In the similar case above when I select any value from dropdown and
click on Update button the code performs some validation and if the
validation fails it return backs the page giving the appropriate message. But
once it returns backs the page the data which I had selected was lost, so
basically it is not able to save the view state for the column.

3) I have 5 text boxes on my page and Required field validator is
placed on every textbox. I have 2 buttons also. On click on 1 buttons all the
validation on the page to be fire and on click of 2nd button I want Required
field validation present on only textbox to fire. Is this possible?

If any body have solutions for these problems, please advice me.

Thanks in Advance.
--
techeek
http://oxyin.com/techeek
Jan 7 '08 #1
0 1107

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

Similar topics

0
by: scottmallory | last post by:
Greetings, I am new to Python...and I am having some difficulty updating a grid (wx.grid.PyGridTableBase). Everything works just fine (adding /deleting/ resizing rows, cols) except updating...
3
by: Rajani | last post by:
Hello, I need to enter many entries at a time related to my production. Like operatorID,operationNO,qty,nohours bla bla I already designed page. But its used to enter one record at a time. I want...
5
by: pmud | last post by:
Hi, I need to display columns in a data grid based on 7 different queries. Now I have 32 questions: 1. Is it possble to have 1 single data adapter with 7 queries & 1 data set or do I need to...
3
by: thomson | last post by:
Hi All, We all know the flexibility given by the datagrid, in asp.net. But i want to know one thing Is there any performance issues using the datagrid, In Asp. we used tables to manipulate a...
2
by: Richard | last post by:
The grid has rows but you can't see them. You see the grid but all rows are completly blue but when you click on a column in the row you see the text that is in the row. I sprinkled...
117
by: phil-news-nospam | last post by:
Is there really any advantage to using DIV elements with float style properies, vs. the old method of TABLE and TR and TD? I'm finding that by using DIV, it still involves the same number of...
1
by: Ed | last post by:
hi everyone, maybe someone can give me a hand here. I am working with vb 2005 and i have a gridview that i am loading data from a recordset. I have the recordset returned from the query and i am...
2
by: moondaddy | last post by:
I'm trying to do something real simple. Add a thumb to a grid at the end of a line using c#. the code executes but I dont see the thumb. Can anyone explain what and what I need to do to properly...
7
by: moondaddy | last post by:
I have WPF window and a grid. The grid has several columns and rows. How do I add an object to a specific row and column of the gird using c#? If I use: myGrid.Children.Add(dg); then dg...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
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: 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
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.