Web Forms :: Control To Select Time
May 20, 2013I want to know is there any control by which we can select time according to us, same as we select date with ajax calendar extender.
View 1 RepliesI want to know is there any control by which we can select time according to us, same as we select date with ajax calendar extender.
View 1 RepliesAnyone came across a date & time control? I'm looking for one that allows user to select a date (dd/MM/yyyy) and time (hh:mm) into a single textbox.
View 1 RepliesI need to add time picker in web form i'm using ajax CalendarExtender it have option Format but didn't allow me select time
View 6 RepliesHow can i get both date and time using Ajax calendar extender in ASP.Net,C#.
View 1 RepliesIs there any way to do this? I can't find anything to latch on to.
View 2 RepliesI am trying to figure out a way for user to select a time on a form. The Caledar allows selection of Date but not time. I have though about createing a dropdown and manually put in items of time in 5 minute increments but, i really do not want to do that. Beside, I am not sure it would even work. Could I take a Date (from a calendar control and Add the Time from a Dropdown and store that in a DateTime Field.
I need users to be able to select a Date & Time and then store that value in a DateTime field in my SQL table. I saw something called timepicker.dll out on the web but dont have a clue on how to install in on my web-server or asp.net application What I am asking for is pointers on where to start.
i am trying to allow a user to select a date and time, and then store that value into a access database whose data type is date/time
1) i have the datetimepicker setup but it only allows for a date to be selected, is there a property that needs to be set to allow for a time to be selected as well
2) what is the best way to extract the date and time and properly convert it to the date/time format the access db is expecting
select multiple check boxes at a same time using c#? send me the codings.....
View 3 Repliesi have a recruitment section in an admin system for a website, and now my client wants the ability to select multiple applications at the same time, via a tick box, and attach them to an email.. For example, look at this image: [URL] You will see a list of applicants for jobs, i was thinking of having a checkbox which the user can select and then hit a button which opens an email window with all the Curriculum Vitae's (Resime's) attached.. These are already on the server, specific to users, but is what i am trying to do possible?? So selecting multiple applications and attaching the details, which is a word document to an email?? If so, can you show me an example of similar methods that have been done or even something that i can work from?
View 1 RepliesI am using calendar extender and time picker control. When I click insert in my application, my date is going into my database but my time is not going from my time picker control into my database.
Do I need another column for my time picker control ?
[Code]....
I have a requirement that user can enter data into a table only once in two date and time ranges in a day as:
from 6 AM to 5:59 PM and from 6 PM to next day till 5:59 AM.
for Example:if today 25/ Nov/2010 at 9:45 AM i have entered a record then if i again try then can not enter the record in table till 5:59 PM but i can enter again today after 6:00 PM till 26/Nov/2010 - 5:59AM.
Probably the solution is very simple but can't find a solution in the web about this... Is there a way to select time in the Calendar extender? Need to specify also the time when a user select the date.
View 1 RepliesI made a website for a friend and he uploads a lot of pictures, around 20k per month. And sadly, I made it so he has to upload 1 at a time, because when they are uploaded they are renamed, attached to a group id and watermarked. Is there a way to allow him to select all 20 in a group and have them be uploaded and processed? I've looked into a couple of way to do it, mostly flash, and that will not work since we are renaming and added the newly created name to the db. Adding addition upload controls is not a solution. If we need to make a desktop application that does the uploading, that is alright as well, but we'd like to keep it all in the asp.net environment.
View 1 RepliesCurrently I run 2 separate queries to update + retrieve a tickent number. What happens if there're 2 users clicking on the same button at the same time? Could somehow two updates being run first and then both users get back the same ticket number?
string mySql = "UPDATE TicketCounter SET TicketNumber = (TicketNumber + 1)";
OleDbConnection myConnection = new OleDbConnection(accessConnStr);
OleDbCommand myCmd = new OleDbCommand(mySql, myConnection);
myCmd.Connection.Open();
myCmd.ExecuteNonQuery();
mySql = "SELECT TicketNumber FROM TicketCounter"
myCmd.CommandText = mySql;
OleDbDataReader myReader = myCmd.ExecuteReader();
i create a composite control as can be seen in code below, and add this control to webform, assign FormView1 to the HeaderControlName property, Run the page, the system will generate parse error message :
Cannot create an object of type 'System.Web.UI.WebControls.FormView' from its string representation 'FormView1' for the 'HeaderControlName' property. However, if i don't assign FormView1 in design screen and manually (through coding) assign FormView1 to the custom control on init, it works as expected.
custom control
public class CmdTest : CompositeControl
{
public virtual FormView HeaderControlName
{
get
{
object oObject = ViewState["HeaderControlName"];
return (oObject == null) ? null : (FormView)oObject;
}
set
{
ViewState["HeaderControlName"] = value;
}
}
protected override void CreateChildControls(
{
Controls.Clear();
Button xx = new Button();
Controls.Add(xx);
}
}
webpage.aspx (assign FormView1 in design time, it will generate error)
<Utils:CmdTest ID="CmdTest1" runat="server" HeaderControlName="FormView1" />
webpage.aspx (didn't assign FormView1 in ASPX, but assign it on Init Code, it works)
<Utils:CmdTest ID="CmdTest1" runat="server" oninit="CmdTest1_Init" />
Webpage.aspx.cs
protected void BsCmdTest1_Init(object sender, EventArgs e)
{
CmdTest1.HeaderControlName = FormView1;
}
I want to return random records in term of time whithout NEWID
View 5 Repliesi have a query that select random records in access database in terms of time : "SELECT TOP 10 * FROM Tbl ORDER BY Rnd(-10000000*TimeValue(Now())*[ID])" now i wish to convert this query for using in sql server 2005 such that return random records in term of time
View 5 RepliesI am using grid view with row "data bound event" at row row data bound i am using some function with loops to fill drop down of grid view in template columns. grid view gets populated with selected index change event of drop down. my problem is the asp.net page is getting slower i mean when grid populates its taking some time and some time page get hanged what to do to get rid of it?
View 1 RepliesI am new to this forum as well as Visual Studio and asp.
I am connecting to an access db using Visual Studio Express 2010.
I have a dropdownlistbox that pulls names from a database. When I select a name Gridview1 gets populated. Now I want to populate Gridview2 with more data when I click 'Select' link in Gridview1 but it's not working.
I am passing name (string) and number (number) fields to the gridview2 based on the gridview1.selectedvalue property and am seeing:
Input string was not in a correct format.
I want to use a dropdownlist control so that a user can select a value. My problem is, the text value can be very large. Is there any way to make the text to appear on more than one line? Or is there any AJAX or jquery solutions? I can use a gridview with a checkbox but my client really wants a dropdownlist.
View 3 RepliesI have a question regarding the GridView and the Control Designer of it.
I've made a composite control inherited of the GridView. I would like to make some new created BoundField controls available in the designer of the GridView control? So that I can select the custom BoundField control from the Available fields list.
I have seen this tutorials, its very good.
[URL]..
How to apply the same tutorials for checkbox list control to filter the gridview instead of dropdown list.
I have this control on a page. The selections are static. The "maximumlevels" is set to 6. When I click on an item at the 4th level, I can see the postback occur but the "click" event doesn't fire! I'm totally baffeled. I've tested this in the Page Load event. At this point the PRIOR menu selected value shows. On the next menu_click, the previous selection shows. The first menu item is "selected" and has a value of "Overview". The fourth level item has a value of "Child". No matter how many times I selected that item, my check in the Page Load shows the value to be "Overview". I've tested the 3rd level items and on click, I can see the prior menu item value. When I click a 4th level item, the value never changes from the last 3rd level or higher item selected.
View 7 Replieshow to keep selected multiple days in calendar control?
View 2 RepliesI have a list box control (Multiple Selection):
<asp:ListBox ID="mLbMoney" runat="server" Rows="15" AutoPostBack="True"
onselectedindexchanged="mLbMoney_SelectedIndexChanged"
SelectionMode="Multiple"></asp:ListBox>