473,503 Members | 1,726 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to Restrict access to a datagrid column?

I have 2 columns in my datagrid, and I use the first one just for
display. I have made it readonly (using DataGridTableStyle), but the
user can still click or tab into that column. I'd like to stop the
user from doing this, so that they can use scoll up and down the one
column that can be edited.

Anyone know how to achieve this?

Thanks for any help!

-Brian
Nov 16 '05 #1
1 1205
"Brian" <br*********@ky.gov> wrote in message
news:63**************************@posting.google.c om...
I have 2 columns in my datagrid, and I use the first one just for
display. I have made it readonly (using DataGridTableStyle), but the
user can still click or tab into that column. I'd like to stop the
user from doing this, so that they can use scoll up and down the one
column that can be edited.

Anyone know how to achieve this?

Thanks for any help!

-Brian


http://www.syncfusion.com/FAQ/WinFor...c44c.asp#q758q

Erik
Nov 16 '05 #2

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

Similar topics

3
3113
by: Paul | last post by:
Hi all, at present I I've built a website which can be updated by admin and users. My problem, I've combined "log in" and "access levels" to restrict access to certain pages, using the built...
4
2080
by: Tap | last post by:
How can I restrict the datagrid column to display only 40 characters per line, and wrap the rest. e.g. If the column string is 2000 characters, i would like to wrap it at 41st character. The...
0
842
by: Tap | last post by:
How to restrict the datagrid column to display only 40 characters per line, and wrap it afterwords. e.g. If the field has 2000 characters, I want to wrap it in different lines with 40 characters...
4
15087
by: Steve B. | last post by:
How do I find the column (index) number at runtime of a particular DataGrid column if I know the column header string //somthing like the following int x = datagrid.column;
1
1497
by: Chris | last post by:
Is there a way to autosize the Datagrid column widths to just a bit larger than the data. I know how to manually size the column in code but I have a dynamically created datagrid and it work...
9
6434
by: Roy | last post by:
Hey all, On my html page I have a datagrid with the column: <boundColumn datafield="xyz" visible = false> </boundColumn> In my code behind, within item data bound event, I dynamically set the...
1
10221
by: ElenaR | last post by:
I need to figure out how to name my column headers in a DataGrid. In VB6, I could write DataGrid1.Columns(0).Caption = "ID". What is the format for VB.NET? Thanks in Advance!
2
1181
by: Starbuck | last post by:
Hi Is there anyway of capturing when the users adjusts the width of a datagrid column so the new column width can be stored. Thanks in advance
5
2947
by: toddles666 | last post by:
Hi- Is there any way of restricting access to a database by application & account? For example, I only want the application APP1 to access the database using the USER1 account. I've tried to...
4
2899
by: gane | last post by:
Hi, I am creating datagrid bound column dynamically and need to check if a datagrid column already exists?Is there a way to check this? thanks gane
0
7203
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
7087
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
7462
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...
0
5579
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
3168
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3156
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1514
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
737
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
383
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.