Use Multiple JQuery And JQuery UI Libraries?
Apr 16, 2010
Is 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.
View 2 Replies
Similar Messages:
Jun 6, 2010
i would like to know if there's a combo like jCryption (jCryption) - PHP but for jQuery - ASPX.I mean, I have been searching for a combo to send data both ways (Client-server, server-client) with jQuery to ASPX. The best I found was jCryption that sends data from JavaScrpit to PHP. I need a combo to send data from JavaScrpit to ASPX.
PD: Please don't tell me to use HTTPS, it's not enough to ensure the data communication on a client - server application.
View 1 Replies
Jan 18, 2010
We are developing products that will be used in the following way:
Various shared libraries which may be used by multiple products. I anticipate these libraries will mostly need to access string resources that contain error messages/exceptions. Various end-user based applications, designed to run as standalone apps on a PC. They will be required to support multiple languages upon deployment/installation.
Various web-sites which may be required to support multiple languages either at deployment time or possibly at runtime (i.e. minimal or zero downtime). Potentially the site might need to support multiple languages at the same time if being accessed globally.
We may be required to allow customers access to our language files for editing themselves. We would not wish to allow them access to our source code (other than the resource files/dlls) in order to achieve this. We might need to incorporate a facility to log exceptions in our native language (English in this case) and display them in the translated language. This will us debug our customers solutions in the field.
I am already aware of products like RCWinTrans and handling multiple languages in VC++/MFC applications. However, the requirements we are faced with here are more extensive and thus require us to make a few up front decisions that could be difficult to change long term, so ideally we want to make the best choice now. Based on my own knowledge, I have a few questions although I may be missing some tricks with .net that will be happily received. Here are my questions:
What would be best? Put all our resources in a seperate DLL per VS solution OR put the resources in each VS project. The way I see it per solution is easier to manage, modify, and allow customer access. The per project solution seems cleaner though and makes the individual projects more portable. This method would apply to our shared library based solutions as well as our end-application based solutions.
Is it possible to have two seperate resource files loaded at once i.e. if we want to log the exceptions in English but supply them back up the food chain (as a message in an exception) in the translated language? Are there any tricks we can use to automate this like AOP?
View 1 Replies
Mar 16, 2011
which is the best way to learn Jquery....and what all topics I need to cover to learn Jquery in full...so I could code like a pro.
View 2 Replies
Feb 3, 2010
Below 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?
View 4 Replies
Jan 27, 2010
I have a Solution with a web project and some class libraries. The enumerations are in a the enumerations folder within my web project. I would like to make some of the enumerations available to other class libraries within my Solution. Should I just add another class library and call it Enumerations to my Solution so that all class libraries and my web project can access them?
View 3 Replies
Jan 25, 2011
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.
View 4 Replies
Mar 25, 2011
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]...
View 5 Replies
Oct 15, 2010
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.
View 2 Replies
Oct 7, 2010
Iam using thickbox for my project i am calling multiple thickbox, i need to close thickbox ( that is thickbox inside thickbox)
View 5 Replies
Jul 27, 2010
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.
View 1 Replies
Jan 26, 2011
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>
View 4 Replies
Feb 8, 2011
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 Replies
Oct 19, 2010
How 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]....
View 8 Replies
Jan 2, 2010
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...
View 7 Replies
Dec 9, 2010
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
May 19, 2010
I've been working on an usercontrol with a jquery timer in it. At first I had the jquery within the usercontrol. But when I add 2 of those controls to my page the second usercontrol isn't showing it's data very well.Now I've put the jquery into the mainpage and the usercontrol only uses the id's of the jquery.
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="WebUserControl.ascx.cs"
Inherits="WebUserControl" %>
<style type="text/css">
[code]...
View 2 Replies
Jan 31, 2011
i want to validate 3 checkbox in each row of gridview.
i want one or two checkbox be checked,but no 3 checkbox.
if 3checkbox is checked showe error msg.
View 16 Replies
Mar 3, 2011
I have jquery using ajax/json to grab an elements ID and then hits:
[System.Web.Services.WebMethod]
public static string EditPage(string nodeID)
{
DataTable dt = new DataTable();
using (SqlConnection con = new SqlConnection(Global.conString))
using (SqlCommand cmd = new SqlCommand("contentPageGetDetail", con))
{
cmd.Parameters.Add("@ID", SqlDbType.UniqueIdentifier).Value = Global.SafeSqlLiteral(nodeID, 1);
cmd.CommandType = CommandType.StoredProcedure;
cmd.ExecuteNonQuery();
using (SqlDataAdapter da = new SqlDataAdapter(cmd))
{
da.Fill(dt);
}
}
if (dt.Count > 0)
{
string pageTitle = dt.Rows[0]["Title"].toString();
string contentID = dt.Rows[0]["ContentID"].toString();
return pageTitle, contentID, nodeID;
}
else
{
return "Failed";
}
}
When it's time to return I want to grab all content returned from the stored procedure back to the jquery method in the success section and set a hiddenfield, dropdown value, and a title in a textfield. In the jQuery I tried using "pageTitle" but it came up undefined. What do I need to do jQuery side to grab whats being returned and populate fields in my Web Form before showing the form?
View 3 Replies
Oct 4, 2010
I'm trying to use the AutoComplete feature of JQuery to update multiple fields on an ASP.NET web page. The individual textbox is functioning perfectly, but I cannot figure out how to update multiple textboxes on the page once the user selects.
I've read many suggestions here that state I need to implement a result handler, but my intellisense is not showing that as an option, and IE I get a JS error saying that the object doesn't support this method.
I am linking to jquery-1.4.2.min.js and jquery-ui-1.8.5.custom.min.js .Here's my code:
$(function () {
$("#Street1").autocomplete({
source: function (request, response) {[code].....
View 2 Replies
Dec 13, 2010
to style 2 datepicker on one site in different styles.Want a different background in the second datepicker...Tried to wrap the datepicker in seperate div, but doesnt work.
Even <%= Html.Telerik().DatePicker().Name("DatePickerStart").InputHtmlAttributes(new {@class="datepicker2"});%>
doesnt work..but .InputHtmlAttributes(new { style = "width: 200px;" }) resizes my datepicker.
View 1 Replies
Feb 2, 2010
Trying to put multiple dialogs on one page - they need to be able to come up more than once. I'm using ASP.NET so the ID's of the content to go in the dialogs are mangled. All of the examples for bringing up the dialog multiple times seem to work with getting the initialized dialog back the second time by using the contents ID.
I see a couple of possible solutions but they seem like hacks:1.) Store the .net mangled ID in some other field when I first bring up the dialog, and use that the second time around.2.) Use the dialog events to put the contents of the dialog back into its original location in the dom when the dialog is closed.
<ol>
<li><div id="dotnetmangledjunk_Meaningful">stuff to go in the dialog</div></li>
<li><div id="dotnetmangledjunk_Meaningful">stuff to go in the dialog</div></li>
</ol>
View 2 Replies
Feb 28, 2011
I got this simple jquery plugin to upload files.
i can add multiple files, but i cant seem to write a code that saves all the files, only one..
var _thumb = string.Empty;
if (!string.IsNullOrEmpty(fuUploadThumps.FileName))
{
_thumb = fuUploadThumps.FileName;
fuUploadThumps.SaveAs(Request.PhysicalApplicationPath + @"img/produkter" + _imagePath["categoryImagePath"] + "resized/thumbs/" + StripInput(_thumb));
}
More code
_objAdmin.Name = StripInput(_thumb);
_objAdmin.Connection = Session["imageConnection"].ToString();
_objAdmin.AddThumbs(_objAdmin);
View 2 Replies
Jul 14, 2010
to directly get all elements in a form who contains a non html attribute ?
<input .... customAttribute="validateMe">
So I could find all input elements that will require validation.And use this in a loop to add validation to the input's found :
$('input').attr("customAttribute").val() == "validateMe"
I could also write every validation for each object separately, I have only a few elements who uses a required validation but it would be nice that I could do this in one shot instead of repeating the $("input").rules("add .....
View 5 Replies
Oct 13, 2010
how to save and retrive date in database using jquery ajex asp.net ,JSOn,XML
View 2 Replies