Java script function in aspx.vb file [modified]
-
If you're doing homework, you should talk to your teacher. If you're teaching yourself, start with something more basic. If you are doing paid work, then you are a disgrace, you should tell your client that you're robbing them. If someone hired you, they are a disgrace, also. I told you want to do. You need to change your overall design, because you cannot prompt the user in the middle of a postback. If you're not asking them a question, if you just show a message, you can probably show it in the middle of what you're doing. If you're redirecting to a new page, that page needs to show the message.
Christian Graus Driven to the arms of OSX by Vista. "! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums. I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
I am disgrace, i am robbing my client. Thanks for putting "personal attack" replies in the general forum by such an expert person. Its really shocking how easy they write; who gave them such rights, rather than helping the students/novice developers. I have'nt read anywhere till now, that ignorance is a crime or helping the people means you have full right to "show" the bossism.
-
Are you using framework 2.0?
himanshu
-
Hi, Try this
ScriptManager.RegisterStartupScript(Me, GetType(String), "OPEN_WINDOW", "alert('hi');", True)
himanshu
-
Are you using framework 2.0?
himanshu
Yes please. I have seen in control panel-add remove programme and there is Microsoft.NET Framework 2.0
-
Yes please. I have seen in control panel-add remove programme and there is Microsoft.NET Framework 2.0
Well you are using .net framework 2.0 So,you have to add reference of "AJAXCONTROLTOOLKIT"
himanshu
-
Well you are using .net framework 2.0 So,you have to add reference of "AJAXCONTROLTOOLKIT"
himanshu
-
I am disgrace, i am robbing my client. Thanks for putting "personal attack" replies in the general forum by such an expert person. Its really shocking how easy they write; who gave them such rights, rather than helping the students/novice developers. I have'nt read anywhere till now, that ignorance is a crime or helping the people means you have full right to "show" the bossism.
Girish481 wrote:
I am disgrace, i am robbing my client.
If you have a client, then yes, you are. You don't know enough about how ASP.NET works to write reliable, production quality code. As I said, I'd hope you were a student, or just someone teaching yourself, and in those situations, I gave you advice. Taking jobs that you're not capable of, is indeed stealing.
Girish481 wrote:
rather than helping the students/novice developers.
I am here to help novices, in fact, I gave you your answer. However, would you like to have a 'novice' doctor or electrician ? One who has no idea what they are doing, and asks people on the internet as they do the job to make sure they get something that kind of works at the end ? I doubt that. There's a level of novice that is able to write production code, and there's a level that is not at that stage yet. Based on what you're asking, you don't really understand ASP.NET at all, so that puts you in the latter category. And, I still answered you.
Girish481 wrote:
that ignorance is a crime
Pretending NOT to be ignorant, and taking money from people based on skills you do not have, is criminal.
Girish481 wrote:
or helping the people means you have full right to "show" the bossism.
And yet, you have a paying client, not the remotest idea how to do the job, and so you're here, asking us to do your job for you. So long as you want free help, you need to take everything that comes with it. And, I don't mind helping people who are writing code for work. The issue is that there's a minimum level of competence and knowledge which is required before it's reasonable to charge for your work.
Christian Graus Driven to the arms of OSX by Vista. "! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums. I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
-
Girish481 wrote:
I am disgrace, i am robbing my client.
If you have a client, then yes, you are. You don't know enough about how ASP.NET works to write reliable, production quality code. As I said, I'd hope you were a student, or just someone teaching yourself, and in those situations, I gave you advice. Taking jobs that you're not capable of, is indeed stealing.
Girish481 wrote:
rather than helping the students/novice developers.
I am here to help novices, in fact, I gave you your answer. However, would you like to have a 'novice' doctor or electrician ? One who has no idea what they are doing, and asks people on the internet as they do the job to make sure they get something that kind of works at the end ? I doubt that. There's a level of novice that is able to write production code, and there's a level that is not at that stage yet. Based on what you're asking, you don't really understand ASP.NET at all, so that puts you in the latter category. And, I still answered you.
Girish481 wrote:
that ignorance is a crime
Pretending NOT to be ignorant, and taking money from people based on skills you do not have, is criminal.
Girish481 wrote:
or helping the people means you have full right to "show" the bossism.
And yet, you have a paying client, not the remotest idea how to do the job, and so you're here, asking us to do your job for you. So long as you want free help, you need to take everything that comes with it. And, I don't mind helping people who are writing code for work. The issue is that there's a minimum level of competence and knowledge which is required before it's reasonable to charge for your work.
Christian Graus Driven to the arms of OSX by Vista. "! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums. I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
I can argue more and can write more replies on your "personal attack" replies; but since my query has been solved and i do'nt want to waste my and your time to get a "unproductive solution" or to satisfy "ego"; i wish to give fullstop; because a novice or "robbing client" person do'nt have right to argue more. Best Regards Girish Sharma
-
I can argue more and can write more replies on your "personal attack" replies; but since my query has been solved and i do'nt want to waste my and your time to get a "unproductive solution" or to satisfy "ego"; i wish to give fullstop; because a novice or "robbing client" person do'nt have right to argue more. Best Regards Girish Sharma
Girish481 wrote:
but since my query has been solved
Well, sort of. You're using a library without any idea what it is, or does. This will only bite you in time ( or rather, your poor client ).
Girish481 wrote:
and i do'nt want to waste my and your time to get a "unproductive solution"
I actually told you in my first post that you could use AJAX. The problem is, you didn't want help, you wanted someone to hold your hand, and do your job for you. AJAX will work fine, although it would make more sense to intelligently refactor your approach, but you shouldn't use it without knowing the cost.
Christian Graus Driven to the arms of OSX by Vista. "! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums. I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
-
Thank you very much himanshu. I just drag and drop ScriptManager from Ajan Extensions from toolbar and got the solution. Once again thanks. Best Regards Girish Sharma
Girish481 wrote:
I just drag and drop ScriptManager from Ajan Extensions from toolbar and got the solution.
You don't even know what it's called. Could you explain how it works and how it's doing what you wanted it to do ? If not, how will you know what to do when you want to change what it does, or if it starts to affect the performance of your site ?
Christian Graus Driven to the arms of OSX by Vista. "! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums. I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp