Integrate Google Map With ASP.NET

Posted by imomins on September 23, 2012 at 6:55 AM Comments comments (0)

<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Geocoding.aspx.cs" Inherits="ReverseGeocoding" %>

 

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false" mce_src="http://maps.googleapis.com/maps/api/js?sensor=false"></script>

<script language="javascript" type=...

Read Full Post »

Integrate Google Map With ASP.NET

Posted by imomins on September 23, 2012 at 6:35 AM Comments comments (0)

Google Maps API V3 for ASP.NET

Read Full Post »

Image preview before uploading using AsynFileUpload

Posted by imomins on August 11, 2012 at 10:50 AM Comments comments (0)

It is always nice to show the preview of the image which has to be uploaded by the user.

After lot of searching I found that the HTML upload i.e input type="file"... is not useful as it does not expose enough server side events. For this scenario the better control is Ajax control ToolKit's AjaxFileUpload, which has enough server side events and client side events.

After the file is uploaded instead ...

Read Full Post »

Simple .NET MVC 3 web application with integrated Facebook OAuth API

Posted by imomins on June 13, 2012 at 9:50 AM Comments comments (0)

Introduction

Before creating a .NET MVC application, we have to register the domain name that will be used for the web site at the Facebook development site: http://developers.facebook.com/setup/. After successful registration, we will have a Facebook APIKey and Facebook Secret.

Now let's create a simple ASP.NET MVC application in VS:

Read Full Post »

How to Integrate Asp.Net application in Facebook

Posted by imomins on June 13, 2012 at 9:50 AM Comments comments (0)

How to Integrate Asp.Net application in Facebook

Read Full Post »

Dynamically setting the "editoption" 'value' field for a select box in jqgrid with AJAX call

Posted by imomins on September 21, 2011 at 11:05 AM Comments comments (1)

<script type="text/javascript">

 

         $(function() {

             var data1 = '';

             var tmp = 'Select:Select Course;';

                 $.ajax({

        &...

Read Full Post »

Dynamically setting the "editoption" 'value' field for a select box in jqgrid

Posted by imomins on September 21, 2011 at 11:05 AM Comments comments (0)

1) call $.get() before constructing the grid

 

2)  put its result into a variable

 

3) set that variable in value:name pair of the select box editoptions

 

in colModel.

 

This didn't work because of $.get() executing  an AJAX call asynchronously

 

so that the abovementioned variable is assigned before the AJAX call is

 

finished and gets 'undefined' value accordingly.

 

Read Full Post »