|
OK, but it doesn't use AJAX, right ? SO, I'd just do it properly as per what I outlined. I'd also do what I suggested to see if it fixes FF, and if it doesn't, you can use Firebug in FF to debug your code and work out what the property is ( but what you have looks right to me )
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
hi there,
I am designing ASP.net over VB
I have a linkButton in the master page and it is disabled, in the login page the login Button must enable that linkButton
when I use it immediately like this:
stdMaster.ChangeModeBtn.enable(True)
it does not work , it gives me something about the protected withEvents "is not accessible in this context because it is protected"
I know that I am missing something but I do not know what is it
please tell me
urgent help please
There is always something to learn
|
|
|
|
|
Knowledgestudent wrote: urgent
No. Must have patience.
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Knowledgestudent wrote: stdMaster.ChangeModeBtn.enable(True)
it does not work , it gives me something about the protected withEvents "is not accessible in this context because it is protected"
ChangeModeBtn control, you are using is not a public control to access from the child page (Login). To access that control add a public subroutine or function in the Master Page which would enable or disable your control, like:
In MasterPage:
Public Sub EnableLink(value As Boolean)
ChangeModeBtn.Enabled = value
End Sub
Access the Link from your child page like:
stdMaster.EnableLink(True)
I hope this would help you.
|
|
|
|
|
I also have this problem. My research has shown that is is caused by ASP.Net opening two files and copying what's typed in one form into the other automatically. Yet when you attempt to reference a control from one form it states the above error.
My findings revealed that this problem has been around for sometime. It seems like there should be one simple correction to prevent this type of error from ever occurring. But thats just a dream.
I like to think that I understand the major parts of what causes the error. Yet the bigger question still remains ... how do I fix it?
Please help ... Thanks in advance.
|
|
|
|
|
I think the problem occurs just like "Venkatesh Mookkan" said , in the post reply
if your problem similer to mine, I think the method solution by Venkatesh Mookkan should solve the preventing, but taking care for the access control identifier to proper according to your application,
actually I did not fully understand your problem , is it with button or with another control, is it from master page or something else,
clarify plz
There is always something to learn
|
|
|
|
|
How to check if a data is to be entered using insert query statement,check the field we entered is muneric or not if numeric save it into database.Otherwise print a msg
|
|
|
|
|
Use int.TryParse to see if a string contains a number.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
If a field datatype is represented as tinyint.By mistakenly if a user enter the data as a string value then an exception will be catched in sql.How to avoid the exception .Or if posiible to declare a msg inorder for this exception ..How i check the field as mumeric or not in code.
|
|
|
|
|
SreejithAchutan wrote: By mistakenly if a user enter the data as a string value then an exception will be catched in sql.
You don't perform basic data validation like this in your database. You perform it in your web pages or in your middle tier. It is bad practice to send invalid input like this all the way to your database to be validated. Errors like this should be caught and handled far earlier in your application.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
pmarfleet wrote: It is bad practice to send invalid input like this all the way to your database to be validated. Errors like this should be caught and handled far earlier in your application.
I agree. It is amazing how much bad practice I see around here sometimes.
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Hello Sir\Madam,
Please provide me info on how to link to the various forms in a project using coding but not by using properties window.
for e.g:
if(condn)
{
then to next form ;( pl provide code how to achieve this)
}
Thank you!
|
|
|
|
|
Response.Redirect("http://yourdomain.com/nextpage.aspx")
|
|
|
|
|
if(cndtn)<br />
{<br />
Response.Redirect("Next Form");<br />
}<br />
Erasers are for people who are willing to correct their mistakes.
|
|
|
|
|
i have a data list and one delete button on it button after clicking delete button it will not fired can any one help me
|
|
|
|
|
Can u post ur code...
Erasers are for people who are willing to correct their mistakes.
|
|
|
|
|
Kasi Viswanathan wrote: Can u post ur code...
Could you use proper English instead of abbreviations and textspeak?
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
How to Crop Image to desired Pixels in Javascript + Asp.net 2.0
please help me.
Any Sample code is appreciable.
Thanks n regards
Krishna PRASAD.
fttyhtrhyfytrytrysetyetytesystryrty
modified on Saturday, December 22, 2007 1:44:12 AM
|
|
|
|
|
yadlaprasad wrote: i want to crop the image,after croping the image then only i want to insert in to the database.
Load Bitmap instance, and use Graphics.DrawImage() specifying the width and size. You can try GetThumbNail() also.
|
|
|
|
|
You can't crop an image in Javascript and unless you're writing a HTTP handler, or showing images in a web page with no text, you'll have trouble trimming them in memory and then showing them. What are you trying to do ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Sir, I want the coding for storing datas into access database.
|
|
|
|
|
Google broken where you live ? What have you tried ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
|
wrote: I want the coding for storing datas into access database
Can't really do that. You did not supply a clear/concise need or database information at all. Code for storing data in a database depends on the schema, etc of the database. There is no one clear answer to your need.
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|