I have a question about lists. So let say i have a list with 2000 objects, object has a text and a timestamp. So i want to return the list and i wan to only show text which timestamp is > or < then datetime.now, that is example, yeah, so how should i do it better, faster? Ofc i can make another newList and then just circle tru the list and add to newly created list(newList) the items that i want to show, comparing the items timestamp, but it might take too much time and resources, is there an easier way? Cuz that list with 2000 objects can become bigger after some time.
I am using the VS 2008. I m using the TextboxwaterMarkExtender,Its working,Suppose watermark text is Type Name Here,Suppose i type sonia in textbox,When i refresh the page,then in textbox that is attached to Extender text is changing to Type Name Here,I want that if I type in textbox sonia,when the page is refreshed & page comes back,sonia is still there in textbox.
I trying to include a modal popup extender in my application that can be 'customized' at runtime, depending on what button it is being called from. Basically, I have 4 different buttons that I need to bring up a text box, allow the user to enter text in, and save to a database. Each text box needs to be associated with a different record, but the functionality of all of them would be the same.
Here is the code in the web page :
And here is the code behind : [Code]....
This is all in a content placeholder within a master page, i
I have TabContainer, every tab has asp:lable(inside header). I want that when I select a tab, the color of text(not tab background) would be change to white.I've already read this article but it does not help in my case. also found that .ajax__tab_active .ajax__tab_tab should be involved, but I can't find the property that can change the color.
I have an AJAX Calendar Extender inside an ASP.NET Repeater, which binds date data from a table and allows users to change this. I have an issue however - if the date is null, it returns an error as it cannot bind null as a selected date. Are there any ways around this?
i would like fetch data from db and bring it on to the text box using auto complete extender i have 2 column--- Emp_name and Emp_id in db. i want to see the name of employee when i type in the letters but when i select it from the selection of names, i would like emp_code to fill in the textbox
I am trying to change the color of the text in the title of a Calendar Extender Control from the AJAX Toolkit. I was having trouble getting the hover color to change, so I followed an example from this site:
I created a UserControl and added a public DateTime property. I want to set this property in Markup (ie. <cc1:MyControl runat="server" id="MyControl1" DateTimeProp="1/1/2010" /> ) however I live in a place with a dd/mm/yyyy date format so it complains if I set something like "20/1/2010". Is there a way to set markup in my local datetime format or do I have to conform to "mm/dd/yyyy"?