|
try this
function watermarkBirthDate()
{
var txtbox=document.getElementsByName("txtBirtDate");
if(txtbox.value=="mm/dd/yyyy")
{
txtbox.<b>value</b>="";
setfocus(txtBirthDate);
}
}
and call this function onfocus of txtBirtDate
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... "
|
|
|
|
|
thanks,
i already got the slution
|
|
|
|
|
Check out this
MaskedEdit Control
bEST rEGARD
pATHAN
---------------------------------------------------
|
|
|
|
|
Thanks but the ting is
I checked that one and implemented too,
now i wnat to display inplace of __/__/_____,
mm/dd/yyyy.
|
|
|
|
|
Have you tried to give Mask="mm/dd/yyyy"?
try it But I am not sure about it.
bEST rEGARD
pATHAN
---------------------------------------------------
|
|
|
|
|
No its not working, its showing error
|
|
|
|
|
Pathan i got the answer,
check the same link which u pasted..
in that below we will find "TextBoxWaterMark"
Thanks for your reply.
Regards,
Mohan B
|
|
|
|
|
Hi all,
I have to make a control as shown in this link
http://www.treegrid.com/TreeGrid5_0/Html/EJSTreeGrid.html
Can anyone suggest me how should I start with it, what all I search and understood was that they are using some javascript, xml, treeview and gridview control.
How to do this??? Please help me....
Thanks in advance...
|
|
|
|
|
The reason it's so expensive, is that it's a whole lot of work to write something like this. There's no level on which you could pay someone what they charge, to write half of this, that's the reason it makes sense to buy components.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Thanks for the suggestion but I dont want the complete functionality what they have done and also I cant purchase that component, I just need to implement Girdview control having parent child relation ,show in the form of TreeView. If u can help me then I would be very very thankful to u.
Thanks again...
|
|
|
|
|
There are other components out there, some of them free. Have you done a search on the web ? obout are, from memory, the people I've seen with one.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Thanks for the reply.
Ya I have done search on google but couldnt find much helpful.
About which components you are talking which are free??
|
|
|
|
|
|
Please try speaking English, this is a computer, not a mobile phone.
This is a SQL Server question ? You want this to occur in your database ? If so, this is not an ASP.NET question at all.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
This is not right forum to answer your query as it is asp.net please try in another forum ADO.NET. Don't use the language that you use while chating
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... "
|
|
|
|
|
Gee - thanks for reiterating everything I said.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
:->:->;P;P
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... "
|
|
|
|
|
SELECT COUNT(*) FROM TABLENAME WHERE FIELDNAME LIKE '%1%'
bEST rEGARD
pATHAN
---------------------------------------------------
|
|
|
|
|
Hi
I'm using MS Excel sheets in my Application, for this purpose MS Excel should be installed at the server. Now I wana use Execl App in my project but without installing the Excel at my machine (server). how can I do this?
Regards, Qaiser Nadeem
|
|
|
|
|
You really can't, unless you fancy writing your own code that understands the full excel file format.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
If you don't have Excel installed in your machine then it would not also be in COM components by using EXCEL COM only you can manipulate Excel. I think its not possible to use without Excel.
Whats the problem for installing the excel in your machine ?
-- modified at 2:13 Friday 21st September, 2007
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... "
|
|
|
|
|
Actually, you can use Excel files without having Excel installed. You can manipulate it's data through ADO. Now this only allows you to manipulate the data and doesn't allow you to actually automate Excel.
Example of how to connect to a Excel file.
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Book1.xls;Extended Properties="Excel 8.0;HDR=YES;"
For more information, check here:
http://support.microsoft.com/kb/316934[^]
|
|
|
|
|
Hi! i have a RadioButtonList & bind it to data source. now it has three radio button. whose text is X, Y & Z. i have make autopostback property TURE of RadioButtonList . now i want when i select third radio button having text Z,there should no post back & on selecting on X & Y there should no post back. is it possible?
|
|
|
|
|
I Never Look Behind wrote: i have make autopostback property TURE of RadioButtonList . now i want when i select third radio button having text Z,there should no post back & on selecting on X & Y there should no post back. is it possible?
Upto my knowledge NO. Because radiobuttonlist will be rendered as individual HTML radio buttons. Once you made AutoPostback to true, ASP.NET will add a javascript function to this radio buttons for posting the form. So you won't be able to call your javascript function on radiobutton click to prevent page from posting.
To do this I suggest use individual radio buttons. If you don't know the number of radio button's at design time, then put a ContentPlaceHolder and add radio button controls there with your custom javascript function to post data.
|
|
|
|
|
Yes Navneeth is right instead of using the radiobutton List you can use radio buttins with same name attribute. if you have written any javascript then doucment.getElementByName will return you all same name radiobuttons
Now here you can make auotpost back property true or false to any radio button
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... "
|
|
|
|