Questions tagged [handlers]

225 questions
1
vote
2 answers

C# to VB.net project conversion

I am trying to convert a C# project to a vb.net project but am having some difficulties. The following is the click event of a button: private void button2_Click(object sender, EventArgs e) { Appointment m_App = new…
Azza
  • 68
  • 1
  • 5
1
vote
2 answers

What do you pass as DataGridViewCellFormattingEventArgs in the handler datagridView1_CellFormatting()?

I've found more articles that I can shake a stick at regarding the function being called, but there is nothing that shows how to declare this event and call it. Here is what I am using for the function: void…
Lord Helmet
  • 150
  • 14
1
vote
1 answer

NServicebus Generic MessageHandler not invoked

I am currently developing a sample project where I use NServiceBus in the back-end to publish events. The back-end is then supposed to be handling its own events through a set of handlers. This works fine when I implement one specific handler for…
Wim.van.Gool
  • 1,290
  • 1
  • 10
  • 19
1
vote
4 answers

jQuery: How to find an element inside of hashchange event handler?

A web-page has some links: example-1 example-2 example-n Clicking any on them it runs an event of hashchange and we…
abdulmanov.ilmir
  • 1,325
  • 4
  • 15
  • 24
1
vote
2 answers

Handlers in web application

I am new to web app development. The pyhton file which displays 'Hello World' in the browser is import webapp2 class MainHandler(webapp2.RequestHandler): def get(self): self.response.write('Hello World') app =…
Richa Tibrewal
  • 468
  • 7
  • 26
1
vote
1 answer

Prevent file handles from closing at end of execution

Is there any way through which I can prevent a opened file handle from closing even the PHP finishes the code execution? I wanna store handles in cookies (or some local file) to reuse them in another script (or after refresh) . PS: I cannot re-open…
Hritik
  • 673
  • 1
  • 6
  • 24
1
vote
1 answer

yaml include handlers for google app engine / pyDev

All I want to know is, how do I make test.html (a file in the static folder, in the frontend package) show up? I put the handler for it in the include.yaml file( file outside the static folder), and listed frontend under the includes in the app.yaml…
user2738183
1
vote
1 answer

Adding a webServer handler causes duplicate key error in IISExpress when virtual path specified

I have an MVC5 app in VS2013. I need to add some handlers to the root Web.config. This works fine with no virtual directory, but when I specify a virtual directory, IIS Express fails. This is easy to reproduce in VS2013: Create a new ASP.NET Web…
1
vote
1 answer

Passing a 1xn array into a function handle instead of individual values for Matlab?

I'm trying to find a way to pass a 1xn array into a function handler with n being the number of variables in the function so let's suppose I declare a handler as such: U = @(x, y) x^2 + 2*y^2 and plugged in: U(1, 2) ans = 9 Is there some…
1
vote
2 answers

Node removal and event handlers

Just interesting... What happens to node's event handlers when I remove it completely from the DOM tree? That means, if I create a node with the same id as removed node later, will it have the same event handlers?
HiveHicks
  • 2,294
  • 5
  • 28
  • 42
1
vote
2 answers

How to combine the KeyUpHandler and the ValueChangeHandler in GWT?

I found that the KeyUpHandler seems to be the most dynamic Handler for a TextBox if I want instant update after entering something. However considering that the values might change without somebody pressing a key gives the need to use a…
Arturas M
  • 4,120
  • 18
  • 50
  • 80
1
vote
1 answer

Am I using handlers in the wrong way?

I've never used HTTP Handlers before, and I've got one working, but I'm not sure if I'm actually using it properly. I have generated a string which will be saved as a CSV file. When the user clicks a button, I want the download dialog box to open so…
XSL
  • 2,965
  • 7
  • 38
  • 61
1
vote
1 answer

What is the difference between OnShow and OnLoad in World of Warcraft?

This may sound like a very obvious question but I am using the OnShow script handler for a frame and it seems to take effect when the frame Loads as well as when it shows so I do not understand why I should ever need to use OnLoad for a frame. It…
Mayron
  • 2,146
  • 4
  • 25
  • 51
1
vote
0 answers

Animation not performed in Handlers after the onPause and onResume

I have created an Animation using frame animation, my each of activity has been called from GRID VIEW, I run my animation using frame animation in HANDLERS, The problem is after onPause() [after back button pressed] and later when the same activity…
1
vote
2 answers

Disable user interaction in a GWT container?

I want to disable/enable user interaction (mouse click more specificly) on many widgets like hyperlink, button, etc which are contained in a composite (flextable) there are more than one click handlers, and I don't want to bother with removing and…
Robert Childan
  • 983
  • 1
  • 12
  • 22