|
Do you mean you want to implement that functionality, or you want to use it on Code Project? On Code Project articles, there is an icon to the right of the printer icon that allows you to share an article on various social media sites.
|
|
|
|
|
Do you mean by posting links, or by offering downloads?
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC Link[ ^]
Trolls[ ^]
|
|
|
|
|
Good Day All
I have an asp.net project that does the CC handling for me and if the cc comes from a certain application it redirects to the page in a certain application. In that Project there is a page named “Buycredit”
That contains a Page_load that has this
if (!Page.IsPostBack)
{
handleResponse();
}
And the handleresponse Method is defined like this
private void handleResponse()
{
DataAccess dataAccess = new DataAccess();
VCSResponse creditResponse = populateVCSObject();
if (!string.IsNullOrEmpty(creditResponse.Misc))
{
string forwardAddy = string.Concat("http://111.111.11.118/Ecash/Ecashpos/PurchaseCredit.aspx?", Request.QueryString.ToString());
Response.Redirect(forwardAddy,false);
}
else
{
dataAccess.insertReponsevalue(creditResponse);
if (responseApproved(creditResponse.P3_AuthReponse))
{
dataAccess.insertPurchaseRecord((User)Session["UserDetail_Connector"], creditResponse);
Emailer.sendCreditPurchaseMail("noreply@noreply.co.za", ((User)Session["UserDetail_Connector"]).Email, (User)Session["UserDetail_Connector"], creditResponse);
divNotify.Visible = true;
txtPromptMsg_Prompt.Text = "Credits were successfully purchased.";
}
else
{
divNotify.Visible = true;
txtPromptMsg_Prompt.Text = "Credits were not successfully purchased!";
}
}
}
Now the page “PurchaseCredit.aspx” is the page in the Silverlight Project. On Debug mode, I can step through this project and it will finish and redirect to the “PurchaseCredit.aspx” in that IP and it will work fine, but when I publish it to IIS, the Page URL I get is different I get this URL
http:
as you can see it is not going to the Page that has been set but its poiting page to the “BuyCredit”
What could be the problem here ?
thanks
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
Hello,
I'm planning to build a tourguide search website, i looked around and found the api of google "GMAP".
What i need to do is a form where you can fill some fields (city, availablity dates and other things) and it should show you available registered tour guides in the map where you can click on some icon and it shows you a small window of the available tour guide profile.
Something like that: http://tourguides.viator.com/Map.aspx
Any ideas? i would appreciate any help.
thank you
|
|
|
|
|
This shows you how to hook up an auto-complete textbox to get location results from Google. Based on the user's selection, it will show an alert dialog with the latitude and longitude of that location.
The next part is to use the Google map API (I link to it in the above message) to insert a map and then navigate to that latitude/longitude. Store your tour guides in a database by the latitude/longitude and you can do a search to find nearby tour guides. The Google map API allows you to create custom icons that you can drop at those locations.
The Google Map API also allows you to create click events for those icons. You can use that to pop up custom info windows for each icon when they are clicked. Those info windows would show information about the tour guides.
As a final implementation note, I recently did this and I got the tour guide info (though I wasn't actually working with tour guides, the same principles apply) from a web service using AJAX. That allows the user to search and get results without any postbacks.
|
|
|
|
|
Thank you AspDotNetDev for your help. it sure helped me.
|
|
|
|
|
Glad I could help.
|
|
|
|
|
anyone tried a banner management tool with ASP.NEt to manage banners on the website and get full analysis of every banner to send to the clients? what tool would you recommand?
|
|
|
|
|
You mean like the ASP.NET AdRotator[^] control?
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
exactly but i am looking for a ready product which provides a full reports and analysis for every banner
|
|
|
|
|
|
Hi,
I have no idea about flash but i am developing an ASP.NET which should have a media player similar to the one in YouTube to play existing videos from physical files and to display presentations so exactly just like YouTube.
can anyone guide please? how can I do this? and are there any ready products or components which i can embed into my ASP.NET project to do this?
Thanks
|
|
|
|
|
There are lots of them around. Here's one[^], and another[^] (I've used the wimpy wasp one in an ASP.NET site and it works fine - easy to setup).
How about this[^] one? It delivers HTML 5 video and downgrades to flash if that's not supported. Looks like it's worth a try.
Cheers,
Drew.
|
|
|
|
|
|
Dear All!
I don not know how to decentralized users in my website. can you help me about this Sample?
Thanks!
|
|
|
|
|
character_kute wrote: decentralized users
Can you clarify what you mean by this?
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
hi!!!!!!!!
I create a website and I want to Authorize the User who signed in my website such as: Administrator, Member... How can I do???
Note: This Project is design by Mvc 2
|
|
|
|
|
MVC is still asp.net and you authenticate users the same way you would in an asp.net web application. There is a multitude of sources covering asp.net authentication, you should have no problem finding information if you look.
With MVC you can also use the authorize attribute on your controller methods, and again, there are multiple sources if you look, like here http://nerddinnerbook.s3.amazonaws.com/Part9.htm[^]
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
You have misunderstood my comments. I want to grant permissions for users and gives them the right to impose different. for example, the administrator will have the right to edit and manage the website, the user may only read information, change their profile and of course can not change anything in the website.
the example you give I got it but I want to add permissions for each different member.
|
|
|
|
|
You have misunderstood my answer. That is the way to handle authentication and authorization. I think you need to read more carefully, look for this; "A better approach is to define higher-level "roles" that the code checks against", that should give you a hint.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
|
Dear all
I need a Text box Auto Complete Exact like www.justdial.com using asp.net and jQuery
Every Suggestion and Help are Highly appreciated
Thank You
modified on Saturday, May 28, 2011 2:40 AM
|
|
|
|
|
|
Luckily, I was working on this very problem today:
<html>
<head>
<title>jQuery Auto-Complete Using Google Maps API</title>
<script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.10/jquery-ui.min.js"></script>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<script type="text/javascript">
$(document).ready(function () {
function AutoCompleteSample() {
}
AutoCompleteSample.handleAutocompleteRequest = function (request, response) {
var geocoder = new google.maps.Geocoder();
geocoder.geocode({address: request.term}, function(results, status) {
response($.map(results, function(item) {
return {
label: item.formatted_address,
value: item.formatted_address,
latitude: item.geometry.location.lat(),
longitude: item.geometry.location.lng()
};
}));
});
};
AutoCompleteSample.create_handleFoundLocation = function () {
return function (event, ui) {
var lat = ui.item.latitude;
var lon = ui.item.longitude;
var location = new google.maps.LatLng(lat, lon);
alert(location);
};
};
$("#txtAddress").autocomplete({
source: AutoCompleteSample.handleAutocompleteRequest,
select: AutoCompleteSample.create_handleFoundLocation()
});
});
</script>
<style type="text/css">
</style>
</head>
<body>
<input type="text" id="txtAddress" />
</body>
</html>
That JavaScript is highlighted strangely in the above PRE block, so here is the JavaScript by itself (i.e., without the HTML):
$(document).ready(function () {
function AutoCompleteSample() {
}
AutoCompleteSample.handleAutocompleteRequest = function (request, response) {
var geocoder = new google.maps.Geocoder();
geocoder.geocode({address: request.term}, function(results, status) {
response($.map(results, function(item) {
return {
label: item.formatted_address,
value: item.formatted_address,
latitude: item.geometry.location.lat(),
longitude: item.geometry.location.lng()
};
}));
});
};
AutoCompleteSample.create_handleFoundLocation = function () {
return function (event, ui) {
var lat = ui.item.latitude;
var lon = ui.item.longitude;
var location = new google.maps.LatLng(lat, lon);
alert(location);
};
};
$("#txtAddress").autocomplete({
source: AutoCompleteSample.handleAutocompleteRequest,
select: AutoCompleteSample.create_handleFoundLocation()
});
});
Here is some documentation:
|
|
|
|
|
I have a two forms i.e Form1 and Form2.When I submiting Form1 it will redirect to Form2.But Form2 was taking time while loading
So I want while loading Form2 one page will display.So after Form2 loads that page will not display.
Kindly check the site of cleartrip.com and search for flights.While searching flights one page is displaying and after that
the flight details page will display...
I want to show the waiting page... while in background actual page is loading....
How can I do this in ASP.NET...?
Please help me on this...
|
|
|
|