|
Gupta,
Are you doing some self-teaching? Or are you employed? If the latter, may I know which company that might be?
|
|
|
|
|
Hi All,
I am creating editable dropdownlist by taking textbox and dropdownlist. But my problem is that I want textbox to appear in front of dropdownlist but its not working.
Can anyone help me??
|
|
|
|
|
ASP.NET 2.0 wrote: by taking textbox and dropdownlist
How could you ?
ASP.NET 2.0 wrote: But my problem is that I want textbox to appear in front of dropdownlist but its working
That wont help you showing textbox instead of dropdownlist doesn't mean that you are editing the dropdownlist
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Hey Sandeep,
I am trying to do something like this :
http://www.codeproject.com/netcf/historycombo.asp
They are using TextBox and Dropdown for this..
Any idea how to do this?? I need to show textbox on dropdown so that when I type anything it shows the list and if I need to select then I can select it from dropdown.
|
|
|
|
|
Sorry never tried but will like to check in different way
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
|
i think u r clicking the edit button and on clicking that the dropdownlist disappears and the textbox appears.if it's that
then simply click the textbox and go to Layout->position->Absolute , It should work i think
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
Hi Sonia,
Thanks for reply. I am using the style sheet as:
.textbox
{
position: absolute;
top: 60px;
left: 150px;
height: 20px;
width: 230px;
border: 0px;
font-family:Verdana;
text-align:left;
font-size: 9px;
font-style: normal;
color:#1E438D;
padding-left : 2px;
text-decoration: none;
z-index: 100px;
}
.combo
{
position: absolute;
height: 20px;
width: 250px;
top: 60px;
font-family:Verdana;
text-align:left;
font-size: 9px;
font-style: normal;
color:#1E438D;
padding-left : 2px;
text-decoration: none;
}
and here textbox is appears behind the combo which I dont want. I want the textbox to appear in front of combo so that I can type in something of select anything as I have kept the width of textbox less than combo.
Thanks again...
|
|
|
|
|
I NEVER DID IT LIKE THAT.KEEP THE TEXTBOX A DROPDOWNLIST VISIBLE AND ASSIGN THE DROPDOWNLIST COORDINATES 1 PIXEL LESS TO THE TEXTBOX.AND KEEP IT SAME IN THE CASE OF HEIGHT TOP ETC,AND REPEAT THE PROCESS AT POPULATION OF THE DROP-DOWNLIST CONTROL.I THINK IT SHOULD WORK
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
I want to read excel file in asp.net using Vb.net and also want to write and excel file from the database values. Data can be both numeric and alphabetic.
Thanks in advance
Do good and have good.
|
|
|
|
|
Hi,
Use the Excel Object.It'll help you to read the Excel file and create the Excel file from the database values.
Thanks and Regards
Ganesan.S
Software Engineer
|
|
|
|
|
|
what can e the regular expression string , in order to validate the textbox , to have either whole values or fractional values.
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
*sigh* you just lurch from one question to another, don't you ? I mean, you never actually try to do anything for yourself.
The best way to do this is not a regex, but to validate each character as it's entered ( as all the examples you find on the web will show you ). You only accept the . if the string does not contain one. You obviously accept control characters and numbers, always.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Please do not provide your email address/id. It may be miss use.
|
|
|
|
|
which type value u want to validate or which type value u want restrict.
Piyush Vardhan Singh
|
|
|
|
|
var = "[0-9]+$"
this is working fine for the numeric , if i insert the . then it does not allow.Proble is user can insert the . or not, i mean it can have fractional values ot whole values.currently , my expression is working for the whole values only.Please help.
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
Sonia Gupta wrote: var = "[0-9]+$"
var = "[0-9\.]+$" ?
|
|
|
|
|
But this will also match 12.......3
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Yes it will. need to alter it a bit. I don't have regexbuddy installed right now. It's tough to write directly.
|
|
|
|
|
ur string is not working for 4c1.24
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
Now you know how your boss feels.....
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Sonia Gupta wrote: 4c1
4c1 ? is it a number ? it won't match
|
|
|
|
|
i was testing a fractional value with the said expression.
it got faied when i used this value.
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
4c1.24 u want to validate this type of string
Piyush Vardhan Singh
|
|
|
|