Here are a comboBox with some items, some of them are disabled, you cannot select a disabled item by mouse, but you can select it by typing!
View Complete Post
is it possible to disable the popup fade effect on a ComboBox?
I have a table containing courses, columns are
Name - "Yoga Classes"
DateStart - "2/23/2010"
DateEnd - "2/24/2010"
I am using ListView Control to bind it, is there a way to display them and group them by Month?
Piano Class (10th Jan 2010 - 11th Jan 2010)Guitar Class (10th Jan 2010 - 11th Jan 2010)
Yoga Class (15th Feb 2010 - 16th Feb 2010) etc...
Thanks for help.
I am currently in the process of writing a facebook type 'activity feed' for a site. Currently I am binding the last 10 items to a repeater control, which contains a usercontrol representing each item. This works fine but there are a couple of requiremnts that are giving me problems and wondered if the the good people of the forum could make some suggestions.
The requirement is that when a user clicks a refresh button any new events are added to the top of the list, the previous items drop down and the equivalent number of old items drop off the bottom, all with nice slider transitions.
I have put the repeater inside of an update control and are able to handle the transitions by using RegisterStartup script to drop jquery calls onto the page for the slider. However I cannot find a way to dynamically add or remove new datarows to the repeater. I need the old items to stay in the repeater and be pushed down by the new items, so completely refreshing the datasource seems like a bad idea.
I was thinking about maybe storing the datasource in the viewstate and adding rows to that, maybe with an extra column on the end which stores what transition is needed on the databind for my jquery, but there will be a 'View more items' link at the bottom of the page, so I am worried that the list could get pretty large and there
Please let me know is there anything else i can do i really would like use this effect.
P.S all the effect have the same render problem, and i am using ie8 under compatibility mode.
I am new to this, so bear with me. I am writing an application in C# that uses LINQ to validate a datacontext off a textbox to see if the record exists already. If the record does exist I inserted an if statement to advise the user that the record exists, if the record does not exist I would like to allow the record to be added to the database. If I take out my else statement everything works fine as far as inserting goes, but I do not want to allow inserts in this scenario. I have tried moving the if and else statement to different parts of the code but can't quite figure this one out. Any help would be apprecaited, attached is the code. This code is set to a button press. As a matter of fact, if you see any other errors along the way please feel free to point them out.
protected void enterBTN_Click(object sender, EventArgs e)
//make new data context
SHCDataContext insNewAll = new SHCDataContext();
//LINQ to check if customer exists in database
var checkExisting = from c in insNewAll.Customers
//make list to store values
I have an application that does LDAP authentication. The authentication is done on the code behind page of my Login.aspx page. Once the user passes LDAP authentication, a cookie is set and I redirect:
I would like to setup membership in my application and keep track of some user information. But due to company security requirements, I cannot store user passwords on my application. That must stay on the LDAP server only.
Is there a way to store users but disable password storage on the aspnet_membership table?