C#,vb.net,MVC,Jquery,javascript,jscript,vbscript,html,vb,sharepoint,COM,WPF,WCF,Wwf,Asp,Asp.net,questions & answers,

Latest in Sports

Showing posts with label JQUERY. Show all posts
Showing posts with label JQUERY. Show all posts

Friday, September 5, 2014

where we need to  drag and drop shapes such as rectangle, squares..  to a canvas and connect these shapes with a connector and should be able to save them(xml or json or any other format). Once saved we need to retrieve the diagram and display the same on the canvas.

 
We have narrowed our search to the following  url’s mentioned which provide similar options, but these require license:
1)      http://www.gojs.net/beta/samples/flowchart.html - States Accenture is one of the client. If anyone have used it, please let me know
2)      https://www.draw.io/
 
Please let me know if there are any open source / jquery plugin tools which meets our requirement or if anyone have implemented such a functionality in your project.

Tuesday, August 21, 2012

Hi ALL

I am facing following issue in jquery date picker control:-

I am trying to dynamically add rows in table having datepicker
control, but after clicking add button date picker appears in row with
proper pop up but am not able to select hyperlinked dates. Below is
code snippet to create dynamic rows in table with date picker column.

<script type="text/javascript">

var id = 0;
debugger; // Add button functionality
$("table.GeneralTable button.add").click(function () {
debugger; id++; //Increments row ID
var master = $(this).parents("table.GeneralTable");
// Get a new row based on the prototype row
var prot = master.find(".prototype").clone(); //Making
clone of the rows to be added on click button
prot.attr("class", "")
prot.find(".id").attr("value", id);
master.find("tbody").append(prot); //Finds
the location and appends the row

// DatePicker control to be applied on particular column



prot.find('#dtReceivedDate').datepicker({

dateFormat: "mm/dd/yy",

showOn: 'both',

buttonImageOnly: true,

buttonImage:
'/content/themes/base/images/calendar.png'

});
return false;
});
// Remove button functionality
$("table.GeneralTable button.remove").live("click", function () {
$(this).parents("tr").remove();
});
});
</script>


Any help will be appreciated .

-Ankur

Wednesday, June 27, 2012

We are using MVC3 in our project and we have requirement to export the data to CSV file.
So whenever user click on the export button we want to show the loading bar symbol till the download dialog open to Save, open or Cancel the file. Since this is a synchronous request and we are returning the Filecontents as Actionresult from controller so we are unable to block the screen or show loading bar till the request completion.

Please let me know if is there any way to block the screen until the CSV file download dialog opens





SOLUTION 1:


You can use this script.


<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script runat="server">

    protected void Button1_Click(object sender, EventArgs e)
    {
        System.Threading.Thread.Sleep(3000);
        Label1.Text = "UpdateProgress executed";
    }
</script>

Sunday, June 17, 2012

In one of our application (ASP.NET using C# 3.5 with JQUERY), we have written some function inside the JQUERY. When page load first time, everything  is work fine (All JQUERY function)  but when we click on any button inside the form after page load, then JQUERY function does not work.
 
If you have faced/worked on such issues, then please provide us your suggestions/help to resolve it