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.
hi, i am working on a small search-engine app with asp.net 4.0. the indexing process can index each URL founded in each document and this recursively performed for each other. now how i can terminate this process when i want or when user clicked on stop browser button?
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
I want to catch an exception when user enter no value in a Textbox and try to process further by press a button, I know I can use "If else" statement to make it. but in terms of "Try and Catch" block, I dont know how. Here is the code sample.
Dim NameString As String
Try
NameString = OperatorNameTextBox.Text
Catch ex As ArgumentException
MessageBox.Show("Enter a String Value")
End Try
I'd like to measure to distinct user experience points during the rendering of an HTML page:
1) Point which user sees the first painting of the page
2) Point at which user can interact with the page - meaning sees 75% of it or can actually register a button click or link click
I am pretty certain these UX interactions can start before the HTML code is fully rendered, so would that instance be the JS func "OnLoad" or some other distinct measureable value/function?
If it helps, we can even narrow the answer down to webkit based browsers.
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'm using twitter bootstrap in my application. i gave e.preventDefault for link button in $(document).reday(), but it is not working.
Here is my code:
Master page:
<a id="lnkLogout" href="javascript:void(0);" onclick="PageLogout();"><i class="icon-off">
</i>Logout</a>
<script type="text/javascript" language="javascript">
$(document).ready(function () {
$('#lnkLogout').click(function (e) { e.preventDefault(); });
});
function PageLogout() {
//Code for logout from the application....
}
</script>
SampleDefaultPage.aspx :
<div class="row-fluid">
<div class="form-horizontal">
<h4 class="header blue bolder smaller">
Contact</h4>
<div class="control-group">
<label for="form-field-email" class="control-label">
Email</label>
<div class="controls">
<input type="text" style="width:200px;" data-val="true" data-val-required="Mobile Number is required." id="txtEmail">
<div class="space-3">
</div>
<span data-valmsg-replace="true" data-valmsg-for="txtEmail" class="field-validation-valid text-warning red"></span>
</div>
</div>
<div class="control-group">
<label for="form-field-website" class="control-label">
Phone Number</label>
<div class="controls">
<input type="text" style="width:200px;" id="txtPhno">
</div>
</div>
</div>
I have given txtEmail as mandatory field. if i left that field blank and click on Logout button in Master page, it says txtEmail is required. i dint do any validation in Logout onclick event. I have given preventDefault for Logout link. But still facing an issue. I should be able to logout even though txtEmail is left blank.
Thank you all in advance for your response.
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...
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 developed UI application in blackberry.
On Button Click event I Want to display result of adding two number..
then how to handle this event in java app of Blackberry
.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
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,
I am working on localization project and when i change the language the UI gets disturbed because some translations are large. For example say there is button with text "Select All". But when this is localized in french it reads as "Sélectionner tout". That is larger than Select All and hence the gui gets affected. Is there any way to localize the gui as well.
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?
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 have created an up/down arrow segmented control button on the right side of the navigation bar in my detail view. How can I use these up/down arrows to change views?
So what I am trying to do is make an application (just for fun, not a lot of purpose), where when you launch it a interface comes up consisting of
Username: textboxhere
Password: textbox2here
then a connect button, and when you fill out your information in the textboxs' then click Connect, it navigates to facebook.com and puts in your information that you defined in the textbox and logs you in.
Any ideas guys?
When a user clicks a button I need to create a .bmp file on the server. After the .bmp file is created I will load it into the html page. Would Ajax be the best way to accomplish this?
Hi, I'm wondering about one thing - let's assume that the user clicks a button, and the asynch controller's action is invoked. What happens, when the asynchronous action takes e.g. 10 seconds? The user has to wait 10 seconds to view the result of the action? If so, are the asynch controllers really helpful ?
i have a large database which is updated every now and then.
The application has been developed in asp.net and c#.net.
i need to fetch data from the datbase to griview on a button click event .
i am planning to use data caching , so that i can improve the performance of the application
how can i use DATA caching mechanism so that i could see the updated result of the database in a gridview.
hi, i want to convert a swf to image on my website. a user makes some changes on the stage and if he press a button "get image link", the swf stage will be converted to an image and its image link will appear within a box. like imageshack.. so user can use it in forums as image. how can i do this? i even dont know it is about flash or html...
I've noticed that the Title or Body part is remembered if I come back to the Ask Question page by pressing Back button of my browser.
This feature is available in all browsers I tested, but doesn't exist for the forms in my own projects.
How can I approach that effect?
UPDATE
I still don't have any clue yet,but guess it that some kind of client cache enabled by http headers or javascript?
I am dynamically loading user control in Button Click event, since these user controls are dynamically loaded I have to recreate all previous user controls as well per click. My user control just has two textboxes for now, but I am not able to persist my inputs across postbacks.
My ids are same everytime. I have enableViewstate ="true" in all controls all up to page level. Please adivce.
I have a drop down box which is used to fetch the data from db and dosplays it.Now,i need to put them in form and when i click update button,it should get in to db.
How do ,i do this? Give me a snippet?
Thanks in advance.