Hi I want the cursor to align left when someone clicks in textbox.
textbox has maxlength of 7 when user clicks in text box
the cursor is at position 2 so they cant enter all 7 digits of number
without clicking home and reentering number.
As, suggested please check the Text property. By default when you click inside the TextBox is should align to the left at position "0".
add this in page_load...
sub page_load(byval sender as object, byval e as system.eventargs) handles page.load
txt1.text=""
end sub
cheers
moredotnet
thanks for the replies, I have put txtbox.text="" in page load will see what happens.
please use me.load instead of page.load
cheers
moredotnet
How I CAn Change the Cursor Color or Size InHTML TextBox
Thanks
Hi,
call a java script function onfocus, then set the value of text box to null and then call focus function on that control.
hope this would solve your problem
Unfortunately this not solve my problrm
When textbox.value=null ;
the textbox value be "null"
I wanna to write a dataSet as XML File
I use dataset.WriteXML("Filename"); Method
But if ther are an empty cell it will not Writen
Pls. Help Me;
Hi ,
I couldn't get you complete requirement. Can you try like this.
First check whether your data set contain rows are not . If it contains then write to xml file using
ds.WriteXML("filename.xml")
0 comments:
Post a Comment