|
Thats what i was saying friday also as the width of the first column wsa not sufficent to have text in one line that's why it was wraping the text in next line ...
One more Suugestion is your application id browser compliant check it in Mozilla
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 facing this problem in Mozilla most of my control are getting overlapped. I dont know why???
|
|
|
|
|
Give the table border=1 then see how the table is formated
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... "
|
|
|
|
|
Give 100% width to both div and table control and give 25% width to first TD and 75% width to second TD.
Best Regard
Pathan
---------------------------------------------------
|
|
|
|
|
hi every body,
i want to pass one value from one page to another page can any body help me how tyo do this.
|
|
|
|
|
There are many ways to do it ...
but you can use Query string if those parameters are not threat to your application/user security
Response.Redirect("NextPage.aspx?FirstParam="+value1+"&SecondParameters="+value2);
Or check the google thats best 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... "
|
|
|
|
|
yup this is want i am expecting!!!!!!!!
actually i forgotten the foramt.
thanx alot its working.
|
|
|
|
|
When you forget anything or want to know a new thing first you should search google after searching if you have any doubts then ask
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... "
|
|
|
|
|
You can use query string or session object.
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
Use Response.redirect to pass the value
Jintal Patel
|
|
|
|
|
Hi,
I need to Validator that not allow user to enter the PO box number in the Address field.
Thanks !
Hardik Panchal
|
|
|
|
|
Do you need to have that validator at client side or server side .
Write a custom validator for that ..... or
you can have javascript function to check the length of textbox ...
Why are you showing the PO box text box if you don't want that should be filled
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 need it at client side.
I restrict to user to add po box in Address field.
I try different validation but it not work.
if u have then please give to me.
Hardik Panchal
|
|
|
|
|
Puting the javscript function that will validate the textbox but myfriend why are you showing that textbox to user ot make that textbox readonly do
function checkContent()
{
var txtbx=document.getElementById('TxtboxId');
if(txtbx.length>0)
{
alert('Dont write anything in Po textbox');
}
call this method in on button click event
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 for ur reply.
But you not understand my problem.
I have one form in which user have to insert the shipping address.
I have condition, we not ship at PO box number.
There is a one text box where user have to insert their Address (street, Home number etc.)
Now i have to validate this text box to enter the po box number by user.
because some user may be enter po box number in address field.
Thanks
Hardik Panchal
|
|
|
|
|
Have got the solution for your validation
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... "
|
|
|
|
|
hi friend i am using javascript for enter key press but its work in internet explorer browser but its not work in mozilla firefox.how its work plz help me.
code:-
function enter(evt, buttonid)
{
var mykey, shift;
if (window.Event)
{
mykey = evt.which;
shift = (evt.modifiers & Event.SHIFT_MASK) ? true : false;
}
else
{
mykey = event.keyCode;
shift = event.shiftKey;
}
if(shift && mykey == 13)
{
return false;
}
else if(mykey == 13)
{
var btn = document.getElementById(buttonid);
if (btn != null)
{
btn.click();
setTimeout('messageDisplay()', 500);
flag=false;
event.keyCode = 0;
return false;
}
}
}
Piyush Vardhan Singh
Senior Software Engineer
TAS NewDelhi
India
|
|
|
|
|
Hi Piyush can you check with
mykey = event.keyCode;
instead of
mykey = evt.which
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
at that time i am using this code:-
function enter(evt, buttonid)
{
var key = (window.event) ? event.keyCode : evt.keyCode;
//firefox
if (key == 13)
{
//Get the button the user wants to have clicked
var btn = document.getElementById(buttonid);
if (btn != null)
{ //If we find the button click it
btn.click();
event.keyCode = 0;
alert(btn)
}
}
}
but after
event.keyCode = 0;
alert(btn)
alert have not give any response. can u check this
Piyush Vardhan Singh
Senior Software Engineer
TAS NewDelhi
India
|
|
|
|
|
Piyush could you clerify that are you use control specific enter key event or broser specific ?
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
what di u mean by control specific enter key event or broser specific
Piyush Vardhan Singh
Senior Software Engineer
TAS NewDelhi
India
|
|
|
|
|
Means when you press any key in your Textbox or other ?
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
yaa.
i want when we hit enter key then btn klick event fire and text of textbox send to chatwindow.
Piyush Vardhan Singh
Senior Software Engineer
TAS NewDelhi
India
|
|
|
|
|
Post here your javascript code which worked for IE
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
function enter(evt, buttonid)
{
var mykey, shift;
if (window.Event)
{
mykey = evt.which;
shift = (evt.modifiers & Event.SHIFT_MASK) ? true : false;
}
else
{
mykey = event.keyCode;
shift = event.shiftKey;
}
if(shift && mykey == 13)
{
return false;
}
else if(mykey == 13)
{
var btn = document.getElementById(buttonid);
if (btn != null)
{
btn.click();
setTimeout('messageDisplay()', 500);
flag=false;
event.keyCode = 0;
return false;
}
}
}
Piyush Vardhan Singh
Senior Software Engineer
TAS NewDelhi
India
|
|
|
|