JQuery :: Multiple Thickbox Close?
Oct 7, 2010Iam using thickbox for my project i am calling multiple thickbox, i need to close thickbox ( that is thickbox inside thickbox)
View 5 RepliesIam using thickbox for my project i am calling multiple thickbox, i need to close thickbox ( that is thickbox inside thickbox)
View 5 RepliesI am opening a new page using jquery thickbox. I already gave the height and width in query string as required for thickbox.Its working fine in Firefox, but when I open that in IE or chrome, there is scroll bar coming with the popup. But I don't want that scroll bar.click here open this site in FF, IE and chrome. And then go to the bottom right and click on send to a friend link.
View 3 Repliesi plugin thickbox js at my project. i called from 2 place. One place is update pannel and another one is gridview. my problem is when i call thickbox dialog from grid view link button, after that when i click cancel button (not thickbox close or esc) and open the another thickbox link button. this dialog box has so many close button show at there. How do i solve it?[URL
[Code]....
First Place
[Code]....
Grid View Place
[Code]....
But when i clicke (close or esc) it don't repeat again.
I am opening a thickbox in aspx page using following line
<a
class="thickbox"
href="BBBuyResult.aspx?keepThis=true<%=getPassResult()%>&TB_iframe=true&height=600&width=800" title="Buy
Now"><b>Buy Now</b></a>
then in server side scripting i need to close this page and redirect parent to some other page i use this code
Page.ClientScript.RegisterStartupScript(
Me.GetType(),
"closeme",
"window.parent.tb_remove();window.parent.location='https://shop.netcentral.co.uk/order/';",
True)
this is not working, when I use inlinetab in thickbox i can close opened div using self.parent.tb_remove()
how to call below jquery (thickbox) in codebehind
$("#TB_window").append("<a href='' id='TB_ImageOff' title='Close'><img id='TB_Image' src='"+url+"' width='"+imageWidth+"' height='"+imageHeight+"' alt='"+caption+"'/></a>" + "<div id='TB_caption'>"+caption+"<div id='TB_secondLine'>" + TB_imageCount + TB_PrevHTML
+ TB_NextHTML + "</div></div><div id='TB_closeWindow'><a href='#' id='TB_closeWindowButton' title='Close'>close</a> or Esc Key</div>");
$("#TB_closeWindowButton").click(tb_remove);
i want to call thickbox.js function in codebehind , below the code in jquery i want to call below code in codebehind
function tb_remove() {
parent.location.reload(1);
$("#TB_imageOff").unbind("click");
[code]...
i want to show the aspx page inside thickbox using jquery.
View 2 RepliesI have an asp.net page "demo.aspx", that has a normal link called "Demo Link" which uses jQuery Thick box. The page that is wrapped inside the Thickbox is "target.aspx", that has a button "Demo Button" and a label.
If I click on the Demo Link, it show the "target.aspx" wrapped inside the Thickbox nicely. However, If I click on the "Demo Button", Thickbox is disappeared, "target.aspx" is not wrapped in Thickbox anymore, it is displayed like a normal asp.net page.
Here's the mark-up code of demo.aspx:
<a href="target.aspx?height=600&width=800" class="thickbox" title="">Testing Thickbox with Post-back</a>
Here's the code-behind of target.aspx:
Protected Sub btnDemo_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnDemo.Click
lblDemo.Text = "Hello World!"
End Sub
How do I keep target.aspx in the Thickbox after the post-back of itself?
I'm using this jQuery app's iframe, it has a close button, but I need a javascript function to close it also, is that possible?
View 5 Replieshow to close a parent form
View 4 RepliesI have a asp.net webforms page in which I'm using the jqGrid component. The problem is that thickbox is not working on the links inside jqGrid (ajax).
I got this peace of code on Gupta's blog but I don't know how to add it as I'm using the jqGrid component for ASP.NET.
gridComplete: function(){
// ThickBox - this allows any dynamically created links that use thickbox to work!
tb_init('a.thickbox, area.thickbox, input.thickbox');//pass where to apply thickbox
imgLoader = new Image();// preload image
imgLoader.src = tb_pathToImage;}
I have website which runs multiple threads. When user close the browser but threads are still running. How to kill/stop all thread in asp.net on browser close.
View 2 RepliesI am using Thickbox along with Jquery to create model windows that contain ajax forms. I can successfully get this to work, i can validate my form and i can post the data. My problem is that after I have successfully posted the data I need to redirect the user to a different page where they can then continue to add additional information. However when I use redirecttoroute or redirecttoview all that happens is the contents of the route that i have redirected to is then loaded into my modal window. This must be something simple but I am stuck,
View 1 RepliesBelow is the jquery script that takes one input value from textBox1 and pass it to a web method then returns the name of the person and displays it in textBox2. The web method only takes one parameter, the user initials.
[code]....
I want to be able to pass two values from two textboxes for a web method that requires two parameters. how can I modify the jquery code above to accomplish that?
I have a web page with paypal. In the page user add items to list then buy it. when user add item to list i block that item in stock until user buy or delete that item.Now my problem is when user add item in the list and then close the broswer from IE close button , the item get blocked. I want to rollback the added items when user close the browser from IE button.
View 2 RepliesIs there a way to use multiple jQuery and jQuery UI Libraries in the same source?
I know about noConflict and using multiple jQuery Libraries with this method, however is it possible to use multiple jQuery UI Libraries?
Essentially I would like to use jQuery 1.2.6 and jQuery UI 1.6 together for a certain portion of the page that only works with those libraries
and then for everything else use the latest jQuery Libraries of 1.4.2 and UI 1.8.
I have implemented this plugin by Steve Sanders from 2008. In my solution I have 3 buttons for 3 uploads and this works just fine. But ist not a perfect fit and the question is if thera is a better solution for me?
What I need is : Be able to upload multiple file When the Control Action is triggered It should be possible to work with the files
The enduser should be able to cancel a uploaded file(this is not possible with Steves plugin as far as I know)Easy to use with ASP.NET MVC
If a post is done to the Control Action and a validation error is thrown back the uploads may not disappear.
How can i get multiple ChildLevelId from below code? when i trying to this code [var mgs = jsonObj[0].ChildId;] it only return me first ID = 5,
[code]...
In an aspx page I am calling a jquery plugin for two listboxes as below.
$(document).ready(function() {
$("select.select_AdditionalLanguages").custSelectBox();
$("select.select_Organisations").custSelectBox();
});
[code]...
Managed to solved this issue by having same class name for both the listboxes and then passing both the list box objects to the plugin
$('select.select_field').custSelectBox(null, $('#EditUsers_Organisations'), $('#EditUsers_AdditionalLanguages'));
This might not be the best solution but nothing else worked for me.
How do I handle selection of multiple items with autocomplete? The objects I return from my JSON web service contain an ID and a Label - the ID is the ID of the entity in the database, and the Label is some text to display for the user.
At the moment, when I select an item in the autocomplete dropdown, the value of the item's ID is stored in a hidden field, and the label is displayed. When I remove the label, I clear the ID of the hidden field - this is done by adding an anchor element to the DOM that handles this.
Now, I want to have multiple selections. I want to be able to enter some text, get an autocomplete dropdown, select an item and some other options, then be able to click an 'Add New' button or the likes to be able to select another instance.
For example, I'd type in a person's name and get an autocomplete selection. I'd select a person, and then enter their age, and click 'Add'. The person's id, name, and age will be stored somewhere so that I can retrieve it on the server side when I post back.
I'm not quite sure how to do it? I'm thinking of a hidden field - I assume that many hidden fields of the same name/id turn up on the server side as an array, which I can then use. But I haven't tried this yet in ASP.NET.
I have a listbox with multiple selectionmode. In this list there is an itme name 'Other'. When user select this alon or with ohter itmes it show div and if it deselect it from his selection it hide the div. when user come to edit the form and if 'Other' is selected in listbox the div should be visible.
<asp:ListBox ID="lstQualification" runat="server" SelectionMode="Multiple"
Width="207px" CssClass="lstQualification">
</asp:ListBox>
is there any tool that upload multiple files currently i am using jquery i don't want to use jquery because files were going when page reloads.
View 2 RepliesHow can I display a list of TextBoxes with values from the MS SQL Server 2008 database ?
The code below only display one TextBox, even there is 5 items in the database. How can I
make my code to display 5 TextBoxes with values ?
[Code]....
I'm using jQuery Multiple File Upload Plugin to upload several pictures. But form posts only 1, top, item. Fiddler (POST): POST /Images/UploadImages HTTP/1.1
Host: localhost:4793
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive...
i'm trying to design a search page. i want to creating few radio buttons where each click on a radio button will show a div contains the related search div's. and from there to do the query to the database(not related to the post) how can i do that? tried to search for it , and didn't get good answer. i want that the change of the page will be in server side and not the client side. I have been working with ajax control kit so far
View 2 Replies