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

Read Only

snowwwolf
hi all,

I want to control the web controls(textbox & dropdownlist)'s enable property by client javascript function.
I can use disabled property, but the problem is here, if I use like that, I can't get the value of that controls at the server side. I did not want to use hidden controls to store data for that control.
so, plz help me,
- How can i manage the enable property?
- Is there readonly property?

I use ASP.NET 2003 with C#

regards,
<X>
Jan 23 '07 #1
5 1091
radcaesar
759 Expert 512MB
There will be a perfect readonly dropdown available in code project.

But u can manage this situation with the existing component itself. Store the value in a variable when the form loads and use that afterwards.

:)

hi all,

I want to control the web controls(textbox & dropdownlist)'s enable property by client javascript function.
I can use disabled property, but the problem is here, if I use like that, I can't get the value of that controls at the server side. I did not want to use hidden controls to store data for that control.
so, plz help me,
- How can i manage the enable property?
- Is there readonly property?

I use ASP.NET 2003 with C#

regards,
<X>
Jan 23 '07 #2
There will be a perfect readonly dropdown available in code project.

But u can manage this situation with the existing component itself. Store the value in a variable when the form loads and use that afterwards.

:)
thanks for your reply,
I fill data to my controls from web service at the client side,
and I want to update to DB at server side.
so there are no way to store in variable.
plz share me any other your advice.

regards,

<X>
Jan 23 '07 #3
radcaesar
759 Expert 512MB
Yup No Probs i think, After the web service is consumed and data are binded, get the values and store it in a variable. It can be done.

:)


thanks for your reply,
I fill data to my controls from web service at the client side,
and I want to update to DB at server side.
so there are no way to store in variable.
plz share me any other your advice.

regards,

<X>
Jan 23 '07 #4
Yup No Probs i think, After the web service is consumed and data are binded, get the values and store it in a variable. It can be done.

:)
is there readonly property in html textbox control?


<X>
Jan 23 '07 #5
There will be a perfect readonly dropdown available in code project.

But u can manage this situation with the existing component itself. Store the value in a variable when the form loads and use that afterwards.

:)
hello, may i know the link to download readonly dropdown in code project.
i have been search and i found only for window application.

regards,

<X>
Jan 23 '07 #6

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

Similar topics

4
by: francis70 | last post by:
Hi, I have these 2 problem? Is there a way in Oracle to read UNCOMMITED data. i.e. in Oracle the normal behaviour is that a user's updates to a table are visible to other users ONLY when the...
11
by: Markus Breuer | last post by:
I have a question about oracle commit and transactions. Following scenario: Process A performs a single sql-INSERT into a table and commits the transaction. Then he informs process B (ipc) to...
6
by: BBM | last post by:
I have an object that has a fairly complex construction sequence, so I have written a dedicated "factory" class that invokes the constructor of my object class (which does nothing but instantiate...
3
by: Mark Dunmill | last post by:
I can't create a Constant/Read-only array field in managed C++ classes - doesn't allow the keyword const pointer to const object on array fields in managed C++ classes. e.g. Want to define a...
5
by: manokumar | last post by:
hiye, i notice that some if not all of my folders in winxp pro. are set as read only and its giving me some problem with development. so as the natural thing, i unchecked the read only option and...
6
by: Samuel M. Smith | last post by:
I have been playing around with a subclass of dict wrt a recipe for setting dict items using attribute syntax. The dict class has some read only attributes that generate an exception if I try to...
4
by: greg | last post by:
Hi, I have a read only access file with a linked table that connects to a sybase database. So I can still add data to the table even though its read only since the table is really in sybase. ...
4
by: farhaaad | last post by:
Hi all, i wanted to know how can i make my mdb file read only recommended, i mean when the user opens the database with holding the SHIFT key it shouldn't be read only and when opening the...
4
by: Jim | last post by:
I have the following piece of code: Directory.CreateDirectory(myDir); DirectoryInfo lDir = new DirectoryInfo(myDir); lDir.Attributes = FileAttributes.Normal; When this code runs, my directory...
3
by: Rahul Babbar | last post by:
Hi, I had the following doubts about the "For Read Only" clause. 1. How does a "for Read only" clause improve the performance? 2. How does a "for Read only" clause compare with "With UR"...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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?
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,...

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.