http://www.jqueryrain.com/2012/04/best-ajax-jquery-pagination-plugin-tutorial-with-example-demo/
Rakesh Walia
Friday, August 10, 2012
Friday, July 20, 2012
google map [editable polylines]
1. Google Maps JavaScript API Example: Editable Polylines
2. https://code.google.com/apis/console/?pli=1#project:943915124531:access
3.<script language="javascript" type="text/javascript">
function validateCheckBoxes() {
var isValid = false;
var gridView = document.getElementById('grdUse_ctl00');
for (var i = 1; i < grid.rows.length; i++) {
var inputs = gridView.rows[i].getElementsByTagName('input');
if (inputs != null) {
if (inputs[0].type == "checkbox") {
if (inputs[0].checked) {
isValid = true;
return confirm('You are about to delete the user. Are you sure you wish to continue?')
}
}
}
}
alert("Please select at least one checkbox");
return false;
}
</script>
2. https://code.google.com/apis/console/?pli=1#project:943915124531:access
3.<script language="javascript" type="text/javascript">
function validateCheckBoxes() {
var isValid = false;
var gridView = document.getElementById('grdUse_ctl00');
for (var i = 1; i < grid.rows.length; i++) {
var inputs = gridView.rows[i].getElementsByTagName('input');
if (inputs != null) {
if (inputs[0].type == "checkbox") {
if (inputs[0].checked) {
isValid = true;
return confirm('You are about to delete the user. Are you sure you wish to continue?')
}
}
}
}
alert("Please select at least one checkbox");
return false;
}
</script>
Wednesday, June 20, 2012
Jquery ready made controls for asp net open source.
Jquery ready made controls for asp net open source.
http://weblogs.asp.net/jgalloway/archive/2012/02/28/juice-ui-open-source-asp-net-web-forms-components-for-jquery-ui-widgets.aspx
These can be used in any of the ASP.net project to provide interactive UI to project screens.
http://weblogs.asp.net/jgalloway/archive/2012/02/28/juice-ui-open-source-asp-net-web-forms-components-for-jquery-ui-widgets.aspx
These can be used in any of the ASP.net project to provide interactive UI to project screens.
Monday, May 7, 2012
Get querystring value in javascript [using html5]
function Get_Userid() {
var qsarr = new Array();
var qs = location.search.substring(1);
var singleqs = new Array();
var str = "";
qsarr = qs.split('&');
for (i = 0; i < qsarr.length; i++) {
singleqs = qsarr[i].split('=');
// str += 'Query String Name : <span style="color:#ff0000;">' + singleqs[0] +
// '</span> and its value is : <span style="color:#ff0000;">' + singleqs[1] + '</span><br />';
}
document.getElementById('hidden_Username').value = singleqs[1];
alert(document.getElementById('hidden_Username').value);
}
var qsarr = new Array();
var qs = location.search.substring(1);
var singleqs = new Array();
var str = "";
qsarr = qs.split('&');
for (i = 0; i < qsarr.length; i++) {
singleqs = qsarr[i].split('=');
// str += 'Query String Name : <span style="color:#ff0000;">' + singleqs[0] +
// '</span> and its value is : <span style="color:#ff0000;">' + singleqs[1] + '</span><br />';
}
document.getElementById('hidden_Username').value = singleqs[1];
alert(document.getElementById('hidden_Username').value);
}
Monday, March 5, 2012
Compare 2 arrayes and make 3 arrays with comma separted val
if (base.Request.Form["apptToList1"] != null)
{
string[] Get_delval = base.Request.Form["apptToList1"].Split(',');
for (Int32 i = 0; i <= numArray.Length - 1; i++)
{
for (Int32 j = 0; j <= Get_delval.Length - 1; j++)
{
if (numArray[i].ToString() == Get_delval[j].ToString())
{
break;
}
else
{
if (j == Get_delval.Length - 1)
{
list1.Add(numArray[i].ToString());
}
}
}
}
Thursday, March 1, 2012
Monday, February 27, 2012
convert more then value to comma separte value in sql server
DECLARE @choices varchar(5000)
set @choices = ''
select @choices = @choices + (cp.DefaultCaption + ', ' ) from test qc left outer join test1c on qc.ChoiceID = c.ChoiceID left outer join test2 cp on cp.CaptionID = c.CaptionID
where qc.QuestionnaireID in(@questionnaireId )
if(len(@choices)>0)
BEGIN
set @choices = substring(@choices, 0 ,len(@choices))
END
print @choices
set @choices = ''
select @choices = @choices + (cp.DefaultCaption + ', ' ) from test qc left outer join test1c on qc.ChoiceID = c.ChoiceID left outer join test2 cp on cp.CaptionID = c.CaptionID
where qc.QuestionnaireID in(@questionnaireId )
if(len(@choices)>0)
BEGIN
set @choices = substring(@choices, 0 ,len(@choices))
END
print @choices
Subscribe to:
Comments (Atom)