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.
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
//handle the response url
And the handleresponse Method is defined like this
private void handleResponse()
//populate VCS object with values
DataAccess dataAccess = new DataAccess();
VCSResponse creditResponse = populateVCSObject();
//Temporary: Check if this needs to be forwarded to eCASH for processing
string forwardAddy = string.Concat("http://22.214.171.124/Ecash/Ecashpos/PurchaseCredit.aspx?", Request.QueryString.ToString());
//Insert response values to the DB
//check if the response = approved
//update the purchase history table with successfull credit purchase
//email the user the confirmation that credits were purchased
Emailer.sendCreditPurchaseMail("firstname.lastname@example.org", ((User)Session["UserDetail_Connector"]).Email, (User)Session["UserDetail_Connector"], creditResponse);
//Show on display the success purchase message
divNotify.Visible = true;
txtPromptMsg_Prompt.Text = "Credits were successfully purchased.";
//show user that purchase was not successful
divNotify.Visible = true;
txtPromptMsg_Prompt.Text = "Credits were not successfully purchased!";
// catch (Exception ex)
// throw ex;
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
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.
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.
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?
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.
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.