VS 2008 - Using Profiles To Store A List Of User Defined Clicks?
Oct 3, 2010
I have been using profiles to store a list of user defined clicks. A user clicks on items and it adds it to my Shopping Cart.
I have managed to enter all the info I need and see that It is there with a count but I can't pull the information back once I have entered it.
First thing I did was add code to my Web.config under System.web
[code]....
Then I created a Class called ShoppingCart.vb
[Code]...
Okay here is my VB code where I need to be able to pull the information back again.
[Code]...
So I may need to give you more information but the basics are:
I can add items to my list with btnAddS and it will update my label with the correct amount of rows (items)
Under my btnView I can iterate through the rows (items) but I can't pull back the information stored within.
View 25 Replies
Similar Messages:
Nov 18, 2010
my dropdown list contains 3 items google,yahoo,hotmail.
It the user selects google msgbox should be raised saying "You hae selected google". Thats it. I m not getting how to do that. I tried on selectedchangeindex event but nothing happened.
View 2 Replies
Feb 9, 2011
[Code]....
I get the following error : The SSE Provider did not find the database file specified in the connection string. At the configured trust level (below High trust level), the SSE provider can not automatically create the database file.
View 1 Replies
Oct 11, 2010
Well I have recently been working with profiles and its been going well. When I load my website within Visual Studio it created an MDB within app_data called aspnetdb.mdb and from then on it uses this database to store data that my users have chosen or entered. When I upload the website it fails because it can't find or create the database above. (even if I upload the mdb that was created on my local machine) I have tried to resolve this issue by changing my web.config file as below
Code:
<connectionStrings>
<remove name="LocalSqlServer"/>
<add name="LocalSqlServer" connectionString="Data Source=localhost;Initial Catalog=totallyu_profiles;Integrated Security=True;User ID=admin;Password=password;" providerName="System.Data.SqlClient"/>
</connectionStrings>
I also made an SQL database on the server called totallyu_profiles and set up a user for it. I can connect to that database by using ODBC on my local machine. I can't however upload my current database created by Visual studio to the totallyu_profiles database so it is empty, I was wondering if it will fill the tables itself when the connection string is okay. One other thing to note is that my site errors very quickly with the above connection string and if I don't include the string and use the default then it takes ages. Can I somehow just point the connection string to my database within App_Data?
View 28 Replies
Mar 8, 2010
I am currently using the ActiveDirectoryMembershipProvider just for authentication on an internal business app built in asp.net. This works like a charm.
I am now looking to add some functionality to handle custom profile information for a user, ideally also stored in Active Directory.
For a simple example let's just say the custom attribute is FavoriteColor. Then the goal would be for my app to be able to read in this custom attribute for the authenticated user.
I have looked into ADAM a bit. That looks like it would be great for a Role Provider, but I haven't really found anything that indicates it would work well for a Profile Provider or if it would even let me store custom attributes like FavoriteColor. Maybe someone knows better?
I'm also pretty new to Active Directory so maybe there is even an option to store custom user attributes (like FavoriteColor) within it? In general I am just looking for ideas about the best way to implement this?
View 1 Replies
Jan 15, 2011
I am using URL Routing for display user profiles. I am using master page and child pages. The profile page is a child page and the master page has a login status control. When I login (say user x) through the modal popup which is in the master page itself, i can browse the site with smoothly and reach the routed page. When I log out from the routed page using the login status i get redirected to my home page as required as my login status also is logged out. If i login from this homepage now with another username say y, i get logged in successfully.
The problem is that when I again use the routed to get to the routed page, I get the previous user x still logged in. When i come to homepage I see user y logged in. So I have two sessions working; one in the routed page, and other in the whole of the website.
View 16 Replies
Jan 29, 2011
I'm modifying Scottgu's tutorial for adding profile information to a login.I have put in a provider tag and the profile tag parts in the web config, and hooked it up to a connection to my SQL Server DB.I have modified the create user wizard step 1 to contain extra controls to capture forename and surname. I then altered the tutorial code to match this.however, though the _CreatedUser event code fires, nothing is stored in the aspnet_Profiles table in my DB.I took the tutorial code for the display profile info page and modified it to displAy the users name, but nothing appears on the page, even though the users username appears using the loginname control.all I would like to do is display message in the master page that says 'welcome, John Doe, you are logged in as doej'
View 8 Replies
Dec 1, 2010
I have just put my first ASP.Net site live on the internet but im having problems with my login. When i try to login my sit is throwing an error.
The SSE Provider did not find the database file specified in the connection string. At the configured trust level (below High trust level), the SSE provider can not automatically create the database file.
I have run my script from visual studio so the profiles are there but i cant login?
View 4 Replies
Feb 6, 2013
when user click forgot password it asked user name and email and send his password on his email.
How implement this task in asp.net. with datbase sql server.
View 1 Replies
Jul 9, 2010
after user loggs out if he clicks the browsers back button then users had to be redirected to login page
doenst matter how many time the user clicks on back button take him to login page
how to achieve this let me know
View 6 Replies
Oct 8, 2010
Error3Type 'LinqChatDataContext' is not defined.
i have above error whne woring with linq
View 3 Replies
Jan 28, 2010
I am using webformrouting in my asp.net c# application.
In my global.asax file i define a couple of routes.
My question is, how can i get a list of all routes defined from code behind (on a page)?
View 1 Replies
Jul 20, 2010
I have a bunch of textboxes on my page, I want the page to have an autoscroll , when the user clicks on tab, to move through the textboxes one after the other.
View 6 Replies
Apr 24, 2010
I want to develop the same future in C# , that is there in asp.net (MODEL POP UP) .
when ever i click on the button, that should come up with a panel to enter the values.
View 9 Replies
Jun 2, 2010
I need to remove a querystring when a user clicks a particular LinkButton. So for example if the querystring is [URL] when the user clicks on the Linkbutton, I want the url to be [URL]. The issue is that everything is on one page, and I am using asp:panel to show and hide different areas of the webpage.
View 5 Replies
Jul 30, 2010
i want to delete a record in jqgrid. for this i have the image and when the user clicks on this the record is getting deleted.but i want to show the confirm box and when true then only the record should get deleted. so any one can tell how to call javascript in jqgrid. my jqgrid is
jQuery(document).ready(function() {
jQuery("#list47").jqGrid({
url: 'AddFilterGrid.aspx?Show=ViewFilter',
datatype: "json",
id: "FilterName",
colNames: ["SubCategory", "Filter", 'Delete','Edit'],
colModel: [
{ name: 'CategoryName', index: 'CategoryName', width: 150, align: 'left', sortable: true, sorttype: 'text' },
{ name: 'FilterName', index: 'FilterName', width: 150, align: 'left', sortable: true, sorttype: 'text' },
{ name: 'f', index: 'f', width: 100, align: "center", formatter: 'showlink', formatter: formateadorLinkDelete },
{ name: 'FilterId', index: 'FilterId', width: 100, align: "center", formatter: 'showlink', formatter: formateadorLinkEdit },
],
height: 280,
width: 650,
//autowidth: true,
mtype: "GET",
pager: '#plist47',
rowNum: 10,
rowList: [10,20,30,40],
repeatitems: false,
viewrecords: true,
sortname: 'FilterName',
viewrecords: true,
sortorder: "desc",
gridview: true,
imgpath: '/Scripts/themes/redmond/images'
});
});
View 1 Replies
May 20, 2010
I want to disable a button when ever user clicks on that. My button present inside the Updatepanel control AJAXI tried with the OnClientClick="javascript:$get(btnUpdate).disabled=true;" button is disabling but that is not calling btnUpdate_Click() server side logic. Please suggest me how to do this.I need to disable button when ever user clicks first time and I need also btnUpdate_Click() logic please adavice me.
View 3 Replies
Jan 17, 2011
UpdateProgress has a div which shows "Loading...". Works fine on development server.
On client server, when the UpdatePanel fires, it shows "Loading...", but then seems to "freeze". IE status bar shows "(1 item remaining)"
If the user clicks anywhere in the screen, or types a letter, or otherwise gives some input, THEN the "Loading..." clears, and the new text of the screen shows up.
This only happens on IE8. FF works fine.
View 3 Replies
Mar 1, 2011
To make divs clickable I use this:
$(".clickable").click(function (event) {
window.location = $(this).find('a').attr('href');
event.preventDefault();
});
I'm using an <asp:Repeater> in asp.NET to create several such <div>s.The problem is that all clicks in the div are picked up by this jQuery - I also have an <asp:Button> inside the div, for this I want to catch the click as normal and process it in the repeater_ItemCommand event - But this doesn't fire - the page just redirects to the href found in the hyperlink in the div.
View 2 Replies
Oct 22, 2010
I am having a gridview in which some information about users is displayed like name,city,email etc
Now I want to display user's address when user click on name.
I want address to be displayed in a div at cursor position when user clicks.
With second click, that div should be off.
I will load the data of address with the help of .load() function of jquery.
How can I show div at cursor with the of jquery?
View 5 Replies
Mar 31, 2011
I have a ModalPopupExtender that needs to be hidden whenever the user clicks anywhere else on the page, window, or scrollbar. I have a function and it works if i set it to a div tag but what about when the user clicks the windows scrollbar?
function HideList() {$find("<%=ModalPopupExtender1.BehaviorID%>").hide();
View 1 Replies
Dec 28, 2010
i have added the following link at one of my view:-
<%: Html.ActionLink("Like","")%>
but i watn when the user clicks on the Like link to update a count field at the books table by 1, so how i can implement this type of links uisng LINQ?
View 2 Replies
Jun 29, 2010
I have looked around different properties of asp:menu and set different properties but I just can't figure out a way to make asp:menu behave like "sample 2" from the following url.
http://simplythebest.net/scripts/DHTML_scripts/dhtml_script_122.html
I just want a single branch when a user clicks on an item, is this possible with asp.net's menu item?
View 3 Replies
Feb 13, 2011
[Code]....
I want to display a Modalpopupextender when user clicks on the link, but the above code does not work, it does not give an erorr but does not work too.
View 2 Replies
Sep 22, 2010
I have a page which allows the user to send email. After they click the submit button, I display a confirmation message. However, if the user clicks the browser's Refresh button once the confirmation message is displayed, the email is sent a second time (or a third, fourth, fifth, etc.). What can I do to prevent the Refresh button from resending the email?
View 6 Replies