|
Ok, this is urgent but I think we can slow down enough to figure out how to solve it. What is it doing when you press tab? Is it tabbing to the next one the posting back and starting you at the first textbox again or what?
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
i want go the next textbox or dropdown anything.its depends on tabindex value
mohan
|
|
|
|
|
Ok, I understand that. But what happens when you do tab? Does it reload that page really fast? Does it do anything at all?
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
hai sorry
where i put the "Macintosh is at 9.8m/sec² ",plz give me detail plz
|
|
|
|
|
Iam new to ASP.Net, I have designed a form which contains a combo box and some text boxes and a Gridview. Now When Iam Executing the program it will displays complete records in the Grid in the Pageload Event. But when I change my text in Combo Box it is not refreshing the Data according to the Selection of Combo Box. So, Which event I should use for the above problem?
I used "SelectedIndexChanged" Event for changing the data in the gridview according to the selection of Combo Box but it is not updating the details in the Gridview.
Thanx in advance
|
|
|
|
|
Check 1)have u set autopostback=true for the dropdownlist
2)in the page load event check wether it is a pageload or postback by writing like if(!ispostback==true)
{
}
this thing may assist u....
|
|
|
|
|
- Set autopostback of the dropdown to true
- make the pageload functions in ispostback
- write the selected index changed event for drop down
|
|
|
|
|
Good thing you said urgent, if you didn't people would have waited a long time before they replied. I urgently suggest you try what they told you to do.
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
hi all,
i am trying to save an image into table, but it is not working. and an exception is raised. here i give u code in which the error occurs. error line is 40.
Line 38: con.Open()
Line 39: da.Fill(ds, "Pub_info")
Line 40: Dim fs As New FileStream"C:\image\sample.jpeg",FileMode.OpenOrCreate,
FileAccess.Read)
Line 41: Dim MyData(fs.Length) As Byte
Line 42: fs.Read(MyData, 0, fs.Length)
pls help me.
|
|
|
|
|
Its security issue Add
ASP.NET/Debugger and Make the folder availbale to your application
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... "
|
|
|
|
|
how to set text property of the asp:textbox control with text property of asp: label control using javascript.
I'm trying this with following javascript code calling function on onclick event of the button.
function useIt(txtelement,lblelement)
{
document.getElementById(txtelement).value = document.getElementById(lblelement).title ;
}
but it is not working .
Please suggest some solution.
Thank you.
yog
hui gfgh kgdgrt njjn hjgkn
|
|
|
|
|
yogita charhate wrote: document.getElementById(lblelement).title
INstead try
document.getElementById('Label1').innerText ;
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 have textboxes in the gridview.I am not using required field validators.In place of it i am testing the string on .cs page and populating a label for the error. I want to do the same for validations.I have validation expression with me .HOW to do it .DOES any one know. Pls help me out .
thanks
|
|
|
|
|
hai all,
i would like to know how we can read a particular word from a word file..
for example:if a word file contains like
Name:xxxxxxxx
address:XXXXXXXXXXX
i want to fetch name alone... Is it possible using .NET...
thanks in advance
with Regards,
Imthiyas Ahamed.A
|
|
|
|
|
Imthu wrote: Is it possible using .NET...
Of course. A regular expression seems the best way to parse this text, but you could just search for Name: if you prefered.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
Something that everyone needs to learn when dealing with computers is not can it be done, but how can it be done.
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
Hi,
I am having a login form. I am validating if the userid id and password is blank and returing a boolean value in javascript. If userid is not specified then i am giving an alert and setting the focus back to txtUserid textbox.
but it throws a javascript error saying document.frmLogin.txtuserid is null or not an object.
Am sending the code.Plz check where i am going wrong.
function fValidate()
{
if (document.frmLogin.txtUserid.value == "" && document.frmLogin.txtPassword.value != "")
{
alert("User Id must be specified !");
//document.frmLogin.txtUserId.focus();
return false;
}
else if (document.frmLogin.txtUserid.value != "" && document.frmLogin.txtPassword.value == "")
{
alert("Password must be specified !");
document.frmLogin.txtPassword.value = ""
document.frmLogin.txtPassword.focus();
return false;
}
else if (document.frmLogin.txtUserid.value == "" && document.frmLogin.txtPassword.value == "")
{
alert("User Id and Password must be specified !");
//document.frmLogin.txtUserId.focus();
document.frmLogin.txtPassword.focus();
return false;
}
else
return true;
}
Thanks,
Riz
|
|
|
|
|
Apparently, document.frmLogin.txtUserid doesn't work. Is this ASP.NET ? I assume so. If so, you need to write your client side user Ids into a var and then use those and document.getElementByID to find the controls you want. Your server side control names are not passed through to the client side, check out the source of yuor page and you will see.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
Hi
Thanks a lot for ur solution. It's working fine wen i used the getElementById.
Riz
|
|
|
|
|
Why don;'t you use Required field validator instead of having bulk of javascirpt code
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... "
|
|
|
|
|
Sandeep Akhare wrote: Why don;'t you use Required field validator instead of having bulk of javascirpt code
Is required validator is browser specific ?? What about in firefox and opera ?
|
|
|
|
|
Navaneeth. wrote: Is required validator is browser specific
yes if the user is working with a browser that supports DHTML it should work
Navaneeth. wrote: What about in firefox and opera ?
It works for Firefox regarding Opera i don't know
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... "
|
|
|
|
|
hai
i used textbox with autopostback true, as well as i used tab index sequentialy.while i press tab the cursor not goto the next textbox. plz help
|
|
|
|
|
I am trying to delete a record using item deleteing event. But it is showing error as null reference exception. Can anybody help please.
|
|
|
|
|
Not based on this. What line gives you the error ? What does your code look like ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|