Hello friends.. I have three columns in the jquery grid with all three column has dropdown list boxes..
if you select first dropdown list box any value i need to enable second one.. if you senlect second I need to enable third one..using jquery...
thanks
I have jQuery grid with user data; my first column is ID:
$("#table").click(function(e) {
var row = jQuery(e.target).parent();
Name = row.attr("id");
Friends(Name);
});
Now when I click on the row I am getting the ID value. I am passing this ID to one function to display it.
It always shows the name of the first row - it isn't changing for every row click...
Any ideas?
I am calling a COM component in IE. Here is the code
<object align="left" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
id="Winvideo-Silverlight2RTW-Hypervideo-Part1-WMVa.wmv">
<param name="FileName" value="Winvideo-Silverlight2RTW-Hypervideo-Part1-WMVa.wmv">
<param name="AutoRewind" value="true">
<param name="AutoStart" value="false">
<param name="ClickToPlay" value="true">
<param name="Mute" value="false">
<param name="ShowControls" value="true">
<param name="ShowDisplay" value="true">
<param name="ShowTracker" value="true">
<param name="PlayCount" value="1">
</object>
It is working fine in IE, but not in Mozilla Firefox.
Hello,
I want to develop iPhone application should have the ability to count the number of phrases that are received when user sing on mic. This application should also have the ability to decipher whether the users phrases are in or out of cadence with a preset beat.When user sing on mic Instrumental music only play.
So I have to merge the User Recorded voice with Instrumental music this is one Audio file.Already i have on original Song file.I have to compare both and give the Rating to users.
[Note: Instrumental music is without vocal of Original Song file]
Can you please help me?.
Thanks Vadivelu
this is my Select all Checkboxes in Fieldset.. this code is working in Firefox not in Internet Explorer can anybody help me out?
$('#PbtnSelectAll').click(function() {
$('#PricingEditExceptions input[type=checkbox]').attr('checked', 'checked');
$('#PbtnSubmit').show();
$('#PbtnCancel').show();
$('fieldset').find("input:not(:checkbox),select,textarea").attr('disabled', 'disabled');
$('#genericfieldset').find("input,select,textarea").removeAttr('disabled');
});
thanks
Hello friends.
this is the code i am using for my Html.BeginForm..
$('#PbtnSubmit').click(function() {
$('#PricingEditExceptions input[name=PMchk]').each(function() {
if ($("#PricingEditExceptions input:checkbox:checked").length > 0) {
var checked = $('#PricingEditExceptions input[type=checkbox]:checked');
var PMstrIDs = checked.map(function() {
return $(this).val();
}).get().join(',');
$('#1_exceptiontypes').attr('value', exceptiontypes)
$('#1_PMstrIDs').attr('value', PMstrIDs);
} else {
alert("Please select atleast one exception");
return false;
}
});
});
in else blcok my return false is not working after alert mesage also its going to my controler?
thanks is this right?
i tried like this
$('#PbtnSubmit').click(function() {
$('#PricingEditExceptions input[name=PMchk]').each(function() {
if ($("#PricingEditExceptions input:checkbox:checked").length > 0) {
var checked = $('#PricingEditExceptions input[type=checkbox]:checked');
var PMstrIDs = checked.map(function() {
return $(this).val();
}).get().join(',');
$('#1_exceptiontypes').attr('value', exceptiontypes)
$('#1_PMstrIDs').attr('value', PMstrIDs);
} else {
alert("Please select atleast one exception");
}
});
return false;
});
if i do like this on submit its doing nothing..
thanks
I had a piece of code which uses windows SHFileOperation function with FO_MOVE operation. Additional flags specified were FOF_NOCONFIRMATION | FOF_NOERRORUI | FOF_SILENT.
A particular weird behavior was observed when the destination drive was full. In this case, MOVE could not place the file in destination folder but the source file was also lost. This was highly unexpected and this caused a loss of data.
Is this the standard behavior of SHFileOperation?
Can we have something like MOVE if the destination drive has space otherwise leave the file at the original place?
I have 6 columns in jquery grid..
Initially I need to hide the 6th column for user..
I did that made Visible= false for that perticular column
now I need to make disabled that column perminently that is i should not give access for the user to sort or do something else on the column only readable?
thanks
hello friends, I am using jquery grid
I have jquery grid with user data..First Coulum is ID..
here is the code
$("#table").click(function(e) {
var row = jQuery(e.target).parent();
Name = row.attr("id");
Friends(Name);
});
Now when i click on the row I am getting Id value.. i am passing this id value to one funcation to dispaly name..
I can able to dispaly the name only frist Id..
its not changing each and every row click?
Can any body help me out
thanks
how to disable or enable the perticular column in the jquery?
that is I have three columns in the jquery.. all three all dropdown list boxes.
Initially all three dropdownlist boxes are disabled on selection firstdropdown I need to eable the second dropdow list box and second I need to enable the third dorpdonwl list box..
please can anybody help me out on this..
thanks
I have a table with 600+ columns imported from a csv with special chars % _ - in the column names, is there a way to change the column names to remove these special chars ?
the code can be tsql or tsql
I am getting an object structure like
Object--
--- Object
STRING1:VALUE
STRING2:VALUE
STRING3:VALUE
---- OBJECT
STRING1:VALUE
STRING2:VALUE
STRING3:VALUE
Now I want to filter this object because i need only STRING2:VALUE in the same object structure and need to a an structure similar to:
Object
STRING2:VALUE
Object
STRING2:VALUE
and I need to do it in runtime can somebody please let me know ..
Lets have 2 repositories, one containing the actual data repo and a bare repository which is loaded with deltas from the actual data repository by doing a git push from data repo to bare repo. Hope you have understood the model that am using here.
Am creating clones by cloning the bare repo, and i will be pushing from the branches in my local clone to the branches in bare repository. When am pushing data from my branch to bare repo, the data is automatically synced to the data repo by a hook.
The question i have - is there a way to find from which branch a code has come to the bare repo. I can see the source and target branch during a git push, but after pushing can i see from logs or other way to identify from which branch and repository the data has been pushed from? If there are 5 developers pushing to bare repo, can i find in the bare repo from which branch and clone a code is pushed?
I have a view with
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IEnumerable<StudentInfo>>" %>
in my view if i have IEnumerable I can do foreach..
but before that i need to access the properties for StudnetInfo..
StudentInfo clas having
Public class StudentInfo
{
public Studentdetails sd {get;set;}
public classDetails cd {get;set;}
}
<% foreach(var e in Model){%>
<div>
<%=Html.DisplayFor(x=>e.StdentEdit) %>
<div>
<span>
<% Html.RenderAction("Details", "Home", new { @t = e }); %>
</span>
</div>
</div>
<% } %>
please can anybody help me out.. how to get the properties of StudentInfo above the foreach loop...
if i remove IEnemurable I can do that.. but i need to have Ienemurable for RenderAction..
is there any other way we can achieve this?
thanks
hello,
I need to show the Please wait message while doing something on the page...
while showing this mesage I need to hide entire page backgroud that is i should not give any permision to the user to do anthing on the page..
using jquery for asp.net mvc application.
thanks
I am attempting to compile the following template based code in VC++ 2005.
#include <iostream>
using namespace std;
/*
* T is a template which maps an integer to a specific type.
* The mapping happens through partial template specialization.
* In the following T<1> is mapped to char, T<2> is mapped to long
* and T<3> is mapped to float using partial template specializations
*/
template <int x>
struct T
{
public:
};
template<>
struct T<1>
{
public:
typedef char xType;
};
template<>
struct T<2>
{
public:
typedef long xType;
};
template<>
struct T<3>
{
public:
typedef float xType;
};
// We can easily access the specific xType for a specific T<N>
typedef T<3>::xType x3Type;
/*!
* In the following we are attempting to use T<N> inside another
* template class T2<R>
*/
template<int r>
struct T2
{
//We can map T<r> to some other type T3
typedef T<r> T3;
// The following line fails
typedef T3::xType xType;
};
int main()
{
T<1>::xType a1;
cout << typeid(a1).name() << endl;
T<2>::xType a2;
cout << typeid(a2).name() << endl;
T<3>::xType a3;
cout << typeid(a3).name() << endl;
return 0;
}
There is a particular line in the code which doesn't compile:
typedef T3::xType xType;
If I remove this line, compilation goes fine and the result is:
char
long
float
If I retain this line, compilation errors are observed.
main.cpp(53) : warning C4346: 'T<x>::xType' : dependent name is not a type
prefix with 'typename' to indicate a type
main.cpp(54) : see reference to class template instantiation 'T2<r>' being compiled
main.cpp(53) : error C2146: syntax error : missing ';' before identifier 'xType'
main.cpp(53) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
I am not able to figure out how to make sure that T::xType can be treated as a type inside the T2 template. Any help is highly appreciated.
hi,
consider a kernel tasklet scheduled and executing the tasklet function.
Is there a way to know which core the tasklet is running ?
I mean is there a function / variable to know at which core the tasklet is running at.
Architecture is arm.
Thanks!
I have a DataTable with column ID, Name, RootID. The tree stucture is implmented using the RootId field. If the RootId is null it is considered as Root Node. How to create an Nlevel tree using the DataTale.
eg. 1 Manager null,
2 Project Lead 1,
3 Test Lead 1,
4 Sr Soft Eng 2,
5 Soft eng 2,
6 HR Manager Null,
7 HR exec 6,
......
I have a page which contains following components:
1 Button
1 drop down list using jQuery
1 button whose on click event changes a text box value using jQuery
2 another buttons shown on hover
If I change the dropdown value, or press a button, then the page is re-rendered by ajax. After that, jQuery does not work anymore. If I refresh the page, then jQuery works fine.
How is this caused and how can I solve it?
I need to Get the Entire Row values when I click on jquery grid row.. here is the code I am using for that
var RowClick = function(e) {
var resultArray = $("#Grid td:first:child").closest('tr').find('td').map(function() {
alert(resultArray);
});
};
For this RowClick I defined in Grid property server side for the jquery grid
grid.ClientSideEvents.RowSelect = "RowClick";
Can any one tell me on click on Row I need to get entire values or 4th and 5th columns values?
thanks
this is the first controler which is calling my applciation I am getting all my studentinfo for updating studnet
can i call this et in updateresult Action result?
thanks
public ActionResult getresult(StduentInfo et)
{
return PartialView("Student", et);
}
public ActionResult updateresult(Stdentinfo et)
{
return PartialView(et);
}
I am developing a 3-tired ASP.NET C# web application and was wondering where should the sessions be managed. I have a SessionManager class as follows:
public sealed class SessionManager
{
private const string USER = "User";
private SessionManager()
{
}
public static SessionManager Instance
{
get { return _instance; }
}
public User User
{
get { return HttpContext.Current.Session[USER] as User; }
set { HttpContext.Current.Session[USER] = value; }
}
}
Now should the session information be managed in the Business Logic Layer or should it be managed in the Presentation Layer?