|
and... if you don't want to force your page to reload every time, that code is useless, you need to use javascript on the client side.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
sir, am also having another doubt. if i select any date in that calendar the data inside another fields like password etc..got erased and the page got refreshed.How to avoid this?????????
|
|
|
|
|
Hi,
I want to set the image pixel as input(password),how to do this help me.
Thanx in advance..
|
|
|
|
|
What does this mean ? I'd love to help, but I have no idea what you're asking.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
I dont want to type the text as password in login page, i want to enter a image pixel as password,by clicking on the mouse, help me..
|
|
|
|
|
Still it is not clear enough to answer. How an image pixel related with password?
|
|
|
|
|
How to set an image pixel as password,instead of text.
|
|
|
|
|
I think you want to set up an image map so you can tell if a user clicked in a certain area, and hten log them in. This is, of course, insecure, as someone can stumble on it. However, that's how you'd do it, create an image map and mark off an area as being the area you want to respond to, if it's clicked.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
In my webpage i m using a gridview and in that gridview one column has checkbox and another has asp:textbox.now i want to do that when any one click any testbox in any row the checkbox of the same row should be checked automatically.plz help.how it can be possible.
Thanx in advance
|
|
|
|
|
This would require some javascript on your part, to find the right control and check it.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
thanx for the response.
can you plz give me some code examples.
|
|
|
|
|
Nishant's idea is a good one. If you can make it so that the click event calls a js method and accepts the client side id of the checkbox, that would be ideal. Then it's just something like
function checkit(id)
{
var check = document.getElementById(id);
if (check)
check.Checked = true;
}
Something like that. you make need to do something fancy in the onitemdatabound event to get the ClientID property of your checkbox tho.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
but i cant find any onClick event of the text box in the grid view.So how to caal the javascript from the cilent side.
|
|
|
|
|
That's a JS event. Try OnClientClick which ASP.NET will render as OnClick .
|
|
|
|
|
Well, actually, as onclick. And, the big difference is that if you use OnClientClick, you need to return a bool, returning false mean the OnClick is never called.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
|
Better use JavaScript for this ......
In RowDataBind event of Grid in Code Behind
Add the Attribute for the Textbox to call a JavaScript function in
OnFocus event of the textBox and pass parameter as "this.ID"
In JavaScript when u get the ID of TextBox of a paricular row ,u can easily retrieve id of Checkbox ,
Use that Id to check or Uncheck the checkbox
|
|
|
|
|
thanx for the response.
the textbox do not show any onfocus event can you plz give me some code of example.
|
|
|
|
|
|
Hai all,
How to fetch the date using calendar control??
Im not using the scripting..
Help me..
|
|
|
|
|
Are you using the build in calendar control, or a third party one ? What do you mean by 'fetch the date' ? I assume you're saying you're not using any javascript ? If you can be clear, perhaps we can help.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Im just a beginner.. im using the build in ctrl.If i select the date frm ctrl It would be displayed in the text box.. And also the page is refreshed when i select the date and the contents are vanished wat to do...
Help me..
|
|
|
|
|
The built in one totally sucks, but there are examples on MSDN if you want to know how to use it. I took one look at it and decided it was crap, I have never used it.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
|
What are the best approaches to generate random password for User ?
Is their any class available in .net 2.0 ?
which approach would be best ? and proffessional way to do this?
please direct me in right direction .
Best Regards
Rameez
|
|
|
|