Hi Experts,
I am clueless to find out why should we use static method with JSON. Is it possible that I click a button and I load a gridview with JSON ??
Thanks in advance
i am having a application where i am generating the uibuttons dynamically want to use same @selector...Now as sooon as event is generated i wanna check for values and pass it to thtroughthat selector how can i implement this code?
can anyone tell me a tutorial sort where buttons are dynamically generated and check for particular button click is depicted?
Plz help...
I am trying to create a form in drupal 6 that has multiple items on the same line. More specificly, I want a right alligned form what has a textfield, dropdown-box, and button all on the same line.
I know how to create the items, but drupal tends to put them all on seperate lines. How do I put it on one line?
Thanks
I'm trying to run .ajax and insert a data element from the onClick of an item from the page. Whats the best way to do this?
Something like this:
function grabinfo(foo){
$.ajax({
url: "infospitter",
method: "GET",
data: "id="+foo,
success: function(html){
$(#showstuff).html(html);
}
});
}
<input onClick="javascript:grabinfo(18343)" />
// and on page each item will have this button input
I'm using JQuery and jcarousel, using external navigation controls:
http://sorgalla.com/projects/jcarousel/examples/static_controls.html
The problem here is the navigation buttons no longer disable as shown here:
sorgalla.com/projects/jcarousel/examples/static_simple.html
Is there a callback I can use to allow me to swap the active image of a button with an inactive image?
Did you have such an experience:
I have an asp.net page with couple of div elements on my page. Some of them are floating left and some are separated with <br /> elements.
When I put a button which just post-backs, I see that some divs (which were floated to left before) is repositioned to a new line.
Any idea about the reason?
thanks,
How do I go to previous screen from current screen in Android app? I know there is a back button on phone, but it takes me to beginning screen of my app and I want my buttons on app to work for going back to previous screen.
I am trying to determine if my application is closed through clicking the "X" on the windows form, or if they clicked an "Exit" button I have on it. Right now I am using StackTrace.GetFrame(someIndex) to determine how, but i am looking for a more definitive way since it looks like these frame orders arent guaranteed. Is there a better way to make the distinction? This is a .NET 3.5 WinForm, and Im writing in C#.
Currently i am working on project in which login user control is there in master page. earlier i had seperate login.aspx page and was able to call login method of home controller (with acceptverb = post). now we have changed the idea, want to place login control on master page (home page).
Now when i click on login button of login control - it calls login method of controller class with acceptver = get. how can i call login method with acceptverb = post?
I have seen many responses that say that prefixing variables with their type is bad, since C# is statically typed and we have Intellisense, but I find that prefixing the names of the controls is useful because I don't need to remember the name of the controls or switch to the designer frequently.
For example:
btnLoad // Button
tbFilePath // TextBox
tvFileSystem // TreeView
Is this considered bad? If it is, what's the alternative?
i am trying to show/hide a flash object based on click of button, but the code is not working
//to hide
$('object').css({visibility: 'hidden'});
//to show
$('object').css({visibility: 'visible'});
i dont want to use .show() and .hide() as they will also remove the area of flash content.
I want to generate multiple pdf reports on click of single print button and zip all the pdf's and store it in a folder.
Any help please. I need this functionality in my project.
When I am running
myProcess = Process.Start("something.exe")
and want to start it using button it doen not find the file - i need to execute it from the same folder where application is how can i do that? Thank you.
System could not find this file - but it is there . in the same folder as application.
Using Visual Basic 2008 Express
Hi,
Not sure if I'll explain this properly but here goes. I having written an asp.net app using C# for the code behind. After the user makes some selection and hits the "run" button I pass off the processing to a dll written in C# but what I want is a way to periodically send information back to the client so they can see what's going on like how many records have been processed and things like that. How can I accomplish this?
thanks
Hi,
I've created reports in Adboe that have checkobxes and set then to required fields.
But when i click the submit button all fields but the check boxes are validated.
I.e
If i dont complete the required textbox field the report will not submit, but when i do and the required checkbox fields are not checked it still submits.
This only appears to be happening on Adobe 9
Any ideas?
Thanks
Sp
In TOAD (for SQL or Oracle), there is a simple AUTOFORMAT button that will nicely format your query - I couldn't find that option in SSMS 2005, but was advised by a co-worker that it was available in SSMS 2008. I am unable to locate the option there either.
This is VERY helpful when pasting a query from another source.
Thanks for any assistance.
Hi All,
I have multiple letters in html format in a folder and im list those letters in the gridview on ASP.NET page if user select couple of letters and click print i should me those letters
Now Question is how to print multiple html files on the event of button click.
I want to be able to interact with main window of applications like Firefox or Word, while modal window is active.
What I mean by interact is to:
Copy text
Move window
Close window (by pressing x button)
Are these possible under Windows environment?
is the jQuery function "change()" working in IE ?
I usually use it to detect changes in forms (select/unselect check boxes), and submit them automatically without having to click on submit button (which is hided).
i.e.
$("#views-exposed-form-Portfolio-page-1").change(function(){
$("#views-exposed-form-Portfolio-page-1").submit();
});
But in Ie it doesn't work. It seems I have to use "click" instead.
thanks
I have a form in a Compact Framework application. When the user presses the 'X' button in the top right, the screen doesn't refresh until the users taps anywhere on the screen.
The form is being shown using this code:
using (var customerDetailsForm = ObjectFactory.Get<CustomerDetailsForm>())
{
customerDetailsForm.AssignCustomerId(customerId);
customerDetailsForm.ShowDialog();
}
.When i choose item from "kategorije" new items loads to me in SUB_kategorije, but when i choose item from SUB_kategorije and when i click on button it shows me this error:
Object reference not set to an instance of an object.
Line 101: kom.Parameters.Add("@podkategorija", SqlDbType.Text).Value = SUB_kategorije.SelectedItem.ToString();
This is my source...
dod_pit.ascx
dod_pit.ascx.cs
I have a button and would like to know its enabled state while stepping through code. This doesn't work in the debugger:
po self.myButton.enabled
It prints:
There is no member named enabled.
Is there another way to print out its state?
I'm working on a layout that comprises some of the same features seen in the screenshot below, but I'm running into a bit of confusion. Can someone help me understand a few points for the screenshot below?
What is the root layout used here?
How do I get the button bar to remain at the bottom, while the center section scrolls when it is long enough?
Similar to the Ok/Cancel buttons seen here, how do I make them each 50% width (minus some margin and padding)?
Hi Guys,
I have Visual 2010, I am trying to generate dal from my database.
I create a classlibrary project
I add reference to Subsonic
I add reference to mysql
create generated file in directory
I add a App.config file and fill it as this:
I create the external tools button and run it,
it generates the CS files, but doesnt appear in generate files,
what to do next to use these files in my application??
thanks
I have a WPF aplication that is doing some serious work (doing some calcualtions) when a button is hit. I wanted to add a 'busy animation'. However, the aplication is so busy doing its work that the animation is stopped until the calcuations are finished. Any ideas??